Server URL:
https://mcp.context.dev/mcpUse the exact URL, including /mcp. Don’t put an API key in the URL.Let your agent connect it
Paste this into the coding agent you want to connect:Agent prompt
Connect your client
- Codex
- Claude Code
- Gemini CLI
- Cursor
- VS Code
- Windsurf
- OpenCode
- Hermes
- Cline
- Amp
- Claude Desktop
- Other clients
Add the hosted server. Codex detects OAuth and opens browser sign-in:If sign-in does not start, run Confirm it is configured:In the Codex terminal UI, use
codex mcp login context; add --no-browser to print the URL instead. To use the server in one trusted project only, add this to .codex/config.toml in that project instead, then run codex mcp login context there:/mcp to inspect active servers. The ChatGPT desktop app, Codex CLI, and Codex IDE extension share the same host configuration; you can also add a Streamable HTTP server from Settings → MCP servers and select Authenticate.See the official Codex MCP documentation for current client controls and project-scoped configuration.For ChatGPT on the web, use the Context.dev plugin.Test the connection
Start a new conversation and ask:
Use the connected Context.dev server to retrieve the live Brand profile for stripe.com. Tell me which tool you called and don’t answer from memory.
A working connection shows a Context.dev tool call and live output. Clients may prefix tool names with the server name, so check the server and operation rather than one exact display name.
Authentication and usage
The server uses the OAuth authorization-code flow with PKCE and two scopes:api.read: reading, scraping, enrichment, and batch and monitor data.api.write: anything that starts work or changes account state, such as batches, monitors, webhook retries, file parsing, feedback, and scrape clicks.
Authorization: Bearer <key> or X-API-Key: <key>. Use a header, not the URL, because URLs end up in configuration files, logs, and history.
OAuth sign-in creates an API key named Context MCP in your organization. To revoke access, remove the connection in your client and disable that key on the API keys page.
Each tool call runs the matching API request; see credits for what each operation costs.
Troubleshooting
This server runs Context.dev API tools. To search this documentation from an agent, use the separate docs MCP server at
https://docs.context.dev/mcp.