Mcp Server

Connecting AI Tools

How to add the Mailcatcher MCP server to Claude Desktop, Cursor, and other MCP-compatible clients.

The Mailcatcher MCP server is available at:

https://app.mailcatcher.dev/_mcp

It supports both HTTP (SSE) and stdio transports, so it works with all major MCP clients.

Before you start, make sure you have generated an API token from your profile page.

Claude Desktop supports MCP servers via its configuration file.

  1. Open the Claude Desktop configuration file:
    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  2. Add the Mailcatcher server to the mcpServers object:
    {
      "mcpServers": {
        "mailcatcher": {
          "url": "https://app.mailcatcher.dev/_mcp",
          "headers": {
            "Authorization": "Bearer YOUR_MCP_TOKEN"
          }
        }
      }
    }
    
  3. Replace YOUR_MCP_TOKEN with the token you generated from your profile page.
  4. Restart Claude Desktop.

Once connected, you can ask Claude questions like:

"List the projects in my Mailcatcher account.""Show me the HTML of the latest email in my staging project."

Troubleshooting

The server appears offline or tools are not listed

Double-check that your token is correct and has not been revoked. You can verify authentication by asking the AI to call the whoami tool — if it returns your name and email, the connection is working.

I see an "Unauthorized" error

Your token may have been revoked or you may have copied it incorrectly. Generate a new token from your profile page and update your client configuration.

The show-email tool returns "Access denied"

You are trying to fetch an email that belongs to an organisation your account is not part of. Make sure the project and email you are querying belong to your organisation.