MCP server
Hosted Streamable HTTP MCP at /mcp, OAuth or API key, generated tools.
Hosted MCP
POST https://api.mailroom.gosuevals.com/mcp accepts JSON-RPC with a bearer API key. OAuth is not
implemented; use an API key. Local development uses
http://127.0.0.1:8787/mcp. A stdio binary, mailroom-mcp, is in
packages/mcp in the repo.
Remote MCP: https://api.mailroom.gosuevals.com/mcp.
Auth: Authorization: Bearer mr_…. Agent-scoped keys only see that agent's tools and data. There is no approve tool.
Copy-paste client configs (Cursor, Claude Code, Codex, VS Code): MCP clients.
Tools (this version)
send_email · list_inbox · read_message · reply · request_approval
There is no approve tool.
Later tools (search_messages, simulate_policy, diagnose_deliverability, and the rest of the long list) are specified and not exposed yet. Framework wrappers: Build with AI.
Tool results are compact: ids and short summaries, with get_* for full content. Long bodies set truncated: true.
Inbound content is untrusted. Bodies are wrapped in a delimited field with content_is_untrusted: true. Isolate them from system prompts.