MCP Server Studio

mailsocket MCP server

Test inboxes for AI agents testing your app: block until the OTP or magic link arrives.

Registry name: app.mailsocket/mailsocket-mcp

Publisher
mailsocket.app
Runs
Local or hosted
Package
PyPI
Version
0.4.2
Category
Developer tools
Updated
2026-11-01

Source code on GitHub

Set up mailsocket (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "mailsocket-mcp": {
      "command": "uvx",
      "args": [
        "mailsocket-mcp==0.4.2"
      ],
      "env": {
        "MAILSOCKET_API_KEY": "<MAILSOCKET_API_KEY>",
        "MAILSOCKET_BASE_URL": "<MAILSOCKET_BASE_URL>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add mailsocket-mcp -e MAILSOCKET_API_KEY='<MAILSOCKET_API_KEY>' -e MAILSOCKET_BASE_URL='<MAILSOCKET_BASE_URL>' -- uvx mailsocket-mcp==0.4.2

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "mailsocket-mcp": {
      "command": "uvx",
      "args": [
        "mailsocket-mcp==0.4.2"
      ],
      "env": {
        "MAILSOCKET_API_KEY": "<MAILSOCKET_API_KEY>",
        "MAILSOCKET_BASE_URL": "<MAILSOCKET_BASE_URL>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "mailsocket-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mailsocket-mcp==0.4.2"
      ],
      "env": {
        "MAILSOCKET_API_KEY": "<MAILSOCKET_API_KEY>",
        "MAILSOCKET_BASE_URL": "<MAILSOCKET_BASE_URL>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "mailsocket-mcp": {
      "command": "uvx",
      "args": [
        "mailsocket-mcp==0.4.2"
      ],
      "env": {
        "MAILSOCKET_API_KEY": "<MAILSOCKET_API_KEY>",
        "MAILSOCKET_BASE_URL": "<MAILSOCKET_BASE_URL>"
      }
    }
  }
}

Set up mailsocket (hosted url)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "mailsocket-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.mailsocket.app/mcp",
        "--header",
        "Authorization: <Authorization>"
      ]
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add --transport http mailsocket-mcp https://mcp.mailsocket.app/mcp --header 'Authorization: <Authorization>'

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "mailsocket-mcp": {
      "url": "https://mcp.mailsocket.app/mcp",
      "headers": {
        "Authorization": "<Authorization>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "mailsocket-mcp": {
      "type": "http",
      "url": "https://mcp.mailsocket.app/mcp",
      "headers": {
        "Authorization": "<Authorization>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "mailsocket-mcp": {
      "serverUrl": "https://mcp.mailsocket.app/mcp",
      "headers": {
        "Authorization": "<Authorization>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
MAILSOCKET_API_KEYYesmailsocket API key (ms_live_...). Create one in the dashboard or via POST /api/v1/agents/register.
MAILSOCKET_BASE_URLNoOverride the API base URL. Defaults to https://dash.mailsocket.app/api/v1.

More developer tools MCP servers