OpenAI Codex
Use the Context212 MCP server directly from OpenAI Codex.
Prerequisites
- OpenAI Codex installed
- A Context212 API key from the Context212 Console
Configuration
Authenticate, then set up Codex:
npx ctx212 auth login
npx ctx212 setup --codexThis writes the MCP config (stdio via ctx212 mcp), installs the Context212 skill, and adds an agent rule. Use --project to scope the setup to the current project instead of globally.
Verification
-
Open Codex and start a session.
-
Use the
/mcpcommand to list configured servers and verify thatcontext212appears in the output. -
Test the connection with a prompt like:
Search my Context212 workspaces for documents about [topic]
You're all set. From any Codex session you can now ask it to search or ingest documents in your Context212 workspaces directly.