Skip to content

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.

SurfaceWhat to do
CLI / local IDE agentsCursor, Claude Code, Kimi Code, Windsurf — see CLI
Desktop appClaude Desktop config — see Desktop
Web chatClaude.ai, ChatGPT, Grok, Mistral Le Chat — see Web
No MCP supportGemini (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.

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:

MCP client setup

You will need an identity token (oa_…) from the dashboard or POST /v1/identities. Never put the admin key in an agent config.

  1. Open claude_desktop_config.json:
    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  2. Add an mcpServers entry (stdio package or remote HTTP — both shapes are in MCP client setup → Claude Desktop).
  3. 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 products use OAuth (you approve in the openagent.email dashboard). They do not accept a pasted oa_… token in the connector UI.

  • 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.

  1. Turn on Developer mode in ChatGPT settings.
  2. Open chatgpt.com/plugins and create a new connector.
  3. URL: https://mcp.openagent.email/mcp
  4. Finish OAuth (ChatGPT does not accept a bare API token here).

Plan limits (as of this writing):

PlanWhat works
Plus / ProRead tools (list/read/wait for mail, etc.)
Business and aboveRead and write (send mail, create identities when scoped, …)
  1. Open grok.com/connectors.
  2. Choose Custom.
  3. 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.

Le Chat supports custom MCP / OAuth connectors.

  1. Open Le Chat’s connector / MCP settings and add a custom connector.
  2. URL: https://mcp.openagent.email/mcp (same hostname as Claude — not the Grok inbox.openagent.email host).
  3. Finish OAuth when the dashboard consent screen appears.

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.)

  • Create a dedicated identity per agent or per site (easy to revoke later).
  • Prefer mail_wait_for over 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.