Connecting AI Tools
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.
- Open the Claude Desktop configuration file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
- Add the Mailcatcher server to the
mcpServersobject:{ "mcpServers": { "mailcatcher": { "url": "https://app.mailcatcher.dev/_mcp", "headers": { "Authorization": "Bearer YOUR_MCP_TOKEN" } } } } - Replace
YOUR_MCP_TOKENwith the token you generated from your profile page. - 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."
Cursor supports MCP servers via its settings panel.
- Open Cursor Settings → Tools & Integrations → MCP Servers
- Click Add MCP Server and fill in:
Field Value Name mailcatcherType httpURL https://app.mailcatcher.dev/_mcp - Under Headers, add:
Key Value AuthorizationBearer YOUR_MCP_TOKEN - Click Save.
The Mailcatcher tools will now appear in the Cursor Agent tool list. You can invoke them directly in the chat or let the agent use them automatically when you ask email-related questions.
Windsurf (by Codeium) supports MCP via its ~/.codeium/windsurf/mcp_config.json file.
- Open or create
~/.codeium/windsurf/mcp_config.json - Add the Mailcatcher server:
{ "mcpServers": { "mailcatcher": { "serverUrl": "https://app.mailcatcher.dev/_mcp", "headers": { "Authorization": "Bearer YOUR_MCP_TOKEN" } } } } - Replace
YOUR_MCP_TOKENwith your token and restart Windsurf.
Any MCP-compatible client that supports HTTP (SSE) transport can connect to Mailcatcher.
Server URL:
https://app.mailcatcher.dev/_mcp
Authentication header:
Authorization: Bearer YOUR_MCP_TOKEN
For clients that use a JSON configuration file (following the MCP spec), the typical entry looks like:
{
"mcpServers": {
"mailcatcher": {
"url": "https://app.mailcatcher.dev/_mcp",
"headers": {
"Authorization": "Bearer YOUR_MCP_TOKEN"
}
}
}
}
Refer to your client's documentation for the exact configuration format.
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.