MCP clients
Copy-paste hosted MCP config for Cursor, Claude Code, Codex, and VS Code.
Hosted server
These configs point at https://api.mailroom.gosuevals.com/mcp. For local development, use
http://127.0.0.1:8787/mcp after pnpm dev. OAuth is not implemented; use
an API key.
Auth: Authorization: Bearer mr_test_…. Agent-scoped keys only see that agent's tools.
Tools: send_email, list_inbox, read_message, reply, request_approval. There is no approve on agent-scoped credentials. Details: MCP server.
Cursor
.cursor/mcp.json:
{
"mcpServers": {
"mailroom": {
"url": "https://api.mailroom.gosuevals.com/mcp",
"headers": {
"Authorization": "Bearer ${MAILROOM_API_KEY}"
}
}
}
}pnpm mailroom init --mcp (from the repo) writes this.
Claude Code
~/.claude.json or project .mcp.json:
{
"mcpServers": {
"mailroom": {
"type": "http",
"url": "https://api.mailroom.gosuevals.com/mcp",
"headers": {
"Authorization": "Bearer ${MAILROOM_API_KEY}"
}
}
}
}Codex
Same Streamable HTTP URL. Add it as an MCP server in the Codex config with a bearer header. Do not shell out to curl for sends if the MCP is connected.
VS Code (GitHub Copilot / Copilot Chat)
.vscode/mcp.json:
{
"servers": {
"mailroom": {
"type": "http",
"url": "https://api.mailroom.gosuevals.com/mcp",
"headers": {
"Authorization": "Bearer ${MAILROOM_API_KEY}"
}
}
}
}v0, Lovable, Bolt, Replit
If the host cannot attach MCP, use the SDK in the generated app and keep MAILROOM_API_KEY in the platform's secret store. The paste-this prompt still applies: sandbox key, agent_id, no self-approve.