MCP servers · Together AI · MCP server
Connect Codex CLI to Together AI
One line gives Codex CLI your Together AI account as tools: 4 endpoints, chat, models, generate image, 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 Together AI. 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: "Chat completion in Together AI".
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 Together AI
Chat · Chat completions1
Chat completion
POST /chat/completionsModels · List available models1
List models
GET /modelsGenerate image · Image generation (FLUX and others)1
Create an image
POST /images/generationsMore · Everything else this app exposes.1
Create an embedding
POST /embeddingsTogether AI in other AI clients
Claude Code + Together AIMCP server + skillClaude (desktop & claude.ai) + Together AIconnectorChatGPT + Together AIconnector · GPT actionGrok Bot (xAI) + Together AIcustom connectorGemini CLI + Together AIMCP serverCursor + Together AIMCP serverVS Code (Copilot) + Together AIMCP serverWindsurf + Together AIMCP server
