MCP servers · Perplexity · MCP server
Connect Codex CLI to Perplexity
One line gives Codex CLI your Perplexity account as tools: 3 endpoints, search answer, more, called with your own connection. No key in the prompt, a receipt for every call, revoke Codex CLI's access alone any time.
Three steps
- Create a free 0n3 account and connect Perplexity. Paste a key or sign in; it lands in your vault, encrypted.
- Install 0n3 into Codex CLI. OpenAI's helper in your Terminal. Paste two lines.
- Ask Codex CLI: whoami. Then: "List customers in Perplexity".
First, paste this in Terminal and press Enter
export ON3_TOKEN="<your 0n token>"
This tells your computer your 0n3 key.
The line above carries a placeholder; 0n3.app/install mints a real key named for Codex CLI and fills it in.
What Codex CLI can then do in Perplexity
Search answer · Web-grounded answers with citations0
Web-grounded answers with citations
More · Everything else this app exposes.3
Chat completion
POST /chat/completionsSonar
POST /v1/sonarAgent
POST /v1/agentPerplexity in other AI clients
Claude Code + PerplexityMCP server + skillClaude (desktop & claude.ai) + PerplexityconnectorChatGPT + Perplexityconnector · GPT actionGrok Bot (xAI) + Perplexitycustom connectorGemini CLI + PerplexityMCP serverCursor + PerplexityMCP serverVS Code (Copilot) + PerplexityMCP serverWindsurf + PerplexityMCP server
