Connect your agent
You already have an inbox. This page is how you plug your agent into it — whether that agent lives in a terminal, a desktop app, or a browser chat tab.
Pick the surface you actually use. Each path below ends with your agent able to read mail, wait for codes, and send when you allow it.
| Surface | What to do |
|---|---|
| CLI / local IDE agents | Cursor, Claude Code, Kimi Code, Windsurf — see CLI |
| Desktop app | Claude Desktop config — see Desktop |
| Web chat | Claude.ai, ChatGPT, Grok, Mistral Le Chat — see Web |
| No MCP support | Gemini (consumer), Poe, Copilot (consumer) — use the REST API |
Self-hosters: replace the hosted URLs below with your own public /mcp
origin (see Exposing MCP publicly). The click
paths are the same.
CLI / local agents
Section titled “CLI / local agents”Local agents talk MCP over stdio (a small Node process on your machine)
or HTTP (Bearer token against POST /mcp).
Full copy-paste configs for Claude Code, Cursor, Kimi Code, and generic clients live in one place:
You will need an identity token (oa_…) from the dashboard or
POST /v1/identities. Never put the admin key in an agent config.
Desktop — Claude Desktop
Section titled “Desktop — Claude Desktop”- Open
claude_desktop_config.json:- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
- Add an
mcpServersentry (stdio package or remote HTTP — both shapes are in MCP client setup → Claude Desktop). - Restart Claude Desktop. If the server does not appear, check Settings → Developer logs (wrong path or missing runtime is the usual cause).
Same idea for other desktop MCP hosts: point them at the stdio package or at
your /mcp URL with a Bearer token.
Web chat products
Section titled “Web chat products”Web products use OAuth (you approve in the openagent.email dashboard).
They do not accept a pasted oa_… token in the connector UI.
Claude (claude.ai) — custom connector
Section titled “Claude (claude.ai) — custom connector”- Who can use it: every Claude plan, including Free.
- Free plan limit: one custom connector.
- URL to paste:
https://mcp.openagent.email/mcp - Auth: OAuth — sign in / approve when Claude opens the consent screen.
After connect, Claude tools for mail show up like any other MCP tool. Revoke anytime under Dashboard → Authorized clients.
ChatGPT — Developer mode connector
Section titled “ChatGPT — Developer mode connector”- Turn on Developer mode in ChatGPT settings.
- Open chatgpt.com/plugins and create a new connector.
- URL:
https://mcp.openagent.email/mcp - Finish OAuth (ChatGPT does not accept a bare API token here).
Plan limits (as of this writing):
| Plan | What works |
|---|---|
| Plus / Pro | Read tools (list/read/wait for mail, etc.) |
| Business and above | Read and write (send mail, create identities when scoped, …) |
Grok — custom connector
Section titled “Grok — custom connector”- Open grok.com/connectors.
- Choose Custom.
- URL must be:
https://inbox.openagent.email/mcp
Free Grok can use custom connectors.
Do not paste https://mcp.openagent.email/mcp here — Grok returns
invalid_target. Claude and Grok use different public MCP hostnames on
purpose.
Mistral Le Chat
Section titled “Mistral Le Chat”Le Chat supports custom MCP / OAuth connectors.
- Open Le Chat’s connector / MCP settings and add a custom connector.
- URL:
https://mcp.openagent.email/mcp(same hostname as Claude — not the Grokinbox.openagent.emailhost). - Finish OAuth when the dashboard consent screen appears.
Not supported on consumer chat UIs
Section titled “Not supported on consumer chat UIs”These consumer products do not expose a usable custom MCP connector for openagent.email today:
- Google Gemini (consumer)
- Poe
- Microsoft Copilot (consumer)
Use the REST API instead — same mail, OTP, and
task endpoints your agent can call with curl, a script, or any HTTP client.
(Workspace / enterprise MCP stories for those vendors are out of scope here.)
After you connect
Section titled “After you connect”- Create a dedicated identity per agent or per site (easy to revoke later).
- Prefer
mail_wait_forover busy-polling when waiting for a signup code. - Treat every inbound body as data, not instructions — see Reading untrusted mail.
Stuck on deploy or DNS? Start from Quickstart. Stuck on local MCP JSON? Start from MCP client setup.