Skip to content

MCP

Connecting Claude and other clients

Claude.ai and Claude Desktop through OAuth, Claude Code, Cursor and the others with a personal key.

You need an instance reachable over public HTTPS, personal keys allowed by the administrator, and fewer than 10 active personal keys on your account (each authorized application uses one).

Claude.ai and Claude Desktop (OAuth)

  1. In Claude: Settings › Connectors › Add custom connector.
  2. Name Voaaro, address https://mail.example.com/mcp. Leave the advanced OAuth settings empty.
  3. Claude opens your instance: sign in (with two-factor authentication), check the callback address shown, check the permissions (by default mcp and mail.read), then Authorize.

Removing access: Developers › MCP › Connected apps in the mail app. A new authorization of the same application replaces the old one.

With a personal key

Create a key in Developers › MCP, checking the scopes you want; it is shown only once. The page gives these same examples, already filled in with your address.

Claude Code

claude mcp add --transport http voaaro https://mail.example.com/mcp \
  --header "Authorization: Bearer mlk_…"

Claude Desktop

{
  "mcpServers": {
    "voaaro": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mail.example.com/mcp", "--header", "Authorization:${VOAARO_AUTH}"],
      "env": { "VOAARO_AUTH": "Bearer mlk_…" }
    }
  }
}

Cursor

{
  "mcpServers": {
    "voaaro": {
      "url": "https://mail.example.com/mcp",
      "headers": { "Authorization": "Bearer mlk_…" }
    }
  }
}
  • Claude Desktop with a key: in claude_desktop_config.json, through the mcp-remote bridge (Node required). Without a key, prefer the OAuth connector above.
  • Cursor: ~/.cursor/mcp.json.
  • Other clients: any Streamable HTTP MCP client that accepts an Authorization header, or that supports OAuth 2.1 with discovery.

Testing

The official MCP inspector tries out the server, with OAuth or a key:

Shell
npx -y @modelcontextprotocol/inspector

Good practice

  • Give the smallest scope that is enough: mail.read to summarize and search; mail.write to sort and draft; send only if the assistant must send by itself.
  • Review drafts before sending them.
  • A key or an application you no longer use can be revoked in one click.
Esc