Codex CLI
The You.com plugin for Codex installs five skills and MCP server configs for the default, research, and finance endpoints from the agent-skills repo. The skills tell Codex when to use each You.com tool and how to cite what it finds.
This documentation ships with a Docs MCP Server that gives any MCP-enabled agent a searchDocs tool to search every page here and get back relevant passages with source URLs—no API key required. Point your client at https://you.com/docs/_mcp/server. See the Docs MCP Server guide for setup and examples.
Install the Plugin
Add the Marketplace and Install
You can also install from inside a Codex session: run /plugins, find you in the you-com marketplace, and enable it.
Included Skills
Use the MCP Server Without the Plugin
To add only the tools, without the skills, configure the MCP server directly.
Add You.com to Codex
Codex reads MCP server config from ~/.codex/config.toml. Add the You.com server—no API key required:
This uses our free profile: keyless you-search and you-discover, 100 queries per day, no signup. Want higher limits and you-contents? See Higher rate limits below. you-research and you-finance need /mcp/research, /mcp/finance, or an explicit allowlist.
Quick Demo
Try these prompts inside Codex:
Higher Rate Limits
For higher limits plus you-contents and you-balance on /mcp, add an API key. Get one at you.com/platform, then update your config. you-research and you-finance still need /mcp/research, /mcp/finance, or an explicit allowlist:
Codex TOML gotcha: HTTP headers in Codex’s config.toml go in a separate [mcp_servers.<name>.http_headers] table, not inline. This is different from the JSON headers object used by Claude Code, Cursor, and VS Code.
Local Install (No Network on Startup)
If you’d rather run the MCP server locally via stdio:
Omit the YDC_API_KEY env var to run on the free tier.
Troubleshooting
Codex doesn't see the tools
Run codex --version to confirm you’re on a version with MCP support (0.20+), then restart Codex after editing config.toml.
spawn npx ENOENT
For local installs, install Node.js 18+ and ensure npx is on your PATH, or switch to the remote hosted URL above.
401 or invalid key
Regenerate at you.com/platform. Confirm there are no extra spaces around Bearer.
TOML parse errors on headers
Headers must be under [mcp_servers.you-com.http_headers], not inline as a JSON-style headers = { ... } object.