MCP servers · Cohere · MCP server
Connect Codex CLI to Cohere
One line gives Codex CLI your Cohere account as tools: 6 endpoints, generate, embed, rerank, 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 Cohere. Paste a key or sign in; it lands in your vault, encrypted.
- Install 0n3 into Codex CLI. OpenAI's terminal agent reads 0n3 over Streamable HTTP with a token from your environment.
- Ask Codex CLI: whoami. Then: "Generate in Cohere".
Put the token in your environment
export ON3_TOKEN="<your 0n token>"
Add it to your shell profile so Codex finds it next time.
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 Cohere
Generate · Text generation and chat1
Generate
POST /v1/generateEmbed · Create text embeddings1
Embed
POST /v2/embedRerank · Rerank search results1
Rerank
POST /v2/rerankClassify · Text classification1
Classify
POST /v1/classifyMore · Everything else this app exposes.2
Chat
POST /v2/chatList models
GET /v1/modelsCohere in other AI clients
Claude Code + CohereMCP server + skillClaude (desktop & claude.ai) + CohereconnectorChatGPT + Cohereconnector · GPT actionGemini CLI + CohereMCP serverCursor + CohereMCP serverVS Code (Copilot) + CohereMCP serverWindsurf + CohereMCP server
