MCP Server Studio

Mailbuttons MCP server

Governed email for AI agents: a sandbox inbox to read and send from, human approval to go external.

Registry name: com.mailbuttons/mcp-server

Publisher
mailbuttons.com
Runs
Local or hosted
Package
npm
Version
0.1.4
Category
AI & agents
Updated
2026-10-28

Source code on GitHub

Set up Mailbuttons (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@mailbuttons/[email protected]"
      ],
      "env": {
        "MAILBUTTONS_API_KEY": "<MAILBUTTONS_API_KEY>",
        "MAILBUTTONS_API_URL": "<MAILBUTTONS_API_URL>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add mcp-server -e MAILBUTTONS_API_KEY='<MAILBUTTONS_API_KEY>' -e MAILBUTTONS_API_URL='<MAILBUTTONS_API_URL>' -- npx -y @mailbuttons/[email protected]

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@mailbuttons/[email protected]"
      ],
      "env": {
        "MAILBUTTONS_API_KEY": "<MAILBUTTONS_API_KEY>",
        "MAILBUTTONS_API_URL": "<MAILBUTTONS_API_URL>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mailbuttons/[email protected]"
      ],
      "env": {
        "MAILBUTTONS_API_KEY": "<MAILBUTTONS_API_KEY>",
        "MAILBUTTONS_API_URL": "<MAILBUTTONS_API_URL>"
      }
    }
  }
}

Windsurf

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

{
  "mcpServers": {
    "mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@mailbuttons/[email protected]"
      ],
      "env": {
        "MAILBUTTONS_API_KEY": "<MAILBUTTONS_API_KEY>",
        "MAILBUTTONS_API_URL": "<MAILBUTTONS_API_URL>"
      }
    }
  }
}

Set up Mailbuttons (hosted url)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mailbuttons.com/api/v1/mcp/rpc",
        "--header",
        "Authorization: <Authorization>"
      ]
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add --transport http mcp-server https://mailbuttons.com/api/v1/mcp/rpc --header 'Authorization: <Authorization>'

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "mcp-server": {
      "url": "https://mailbuttons.com/api/v1/mcp/rpc",
      "headers": {
        "Authorization": "<Authorization>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "mcp-server": {
      "type": "http",
      "url": "https://mailbuttons.com/api/v1/mcp/rpc",
      "headers": {
        "Authorization": "<Authorization>"
      }
    }
  }
}

Windsurf

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

{
  "mcpServers": {
    "mcp-server": {
      "serverUrl": "https://mailbuttons.com/api/v1/mcp/rpc",
      "headers": {
        "Authorization": "<Authorization>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
MAILBUTTONS_API_KEYYesA scoped Mailbuttons MCP token (mb_sandbox_...). Sandbox-by-default; external send requires human promotion.
MAILBUTTONS_API_URLNoBackend base URL. Defaults to https://mailbuttons.com; set for self-hosted or local.

More ai & agents MCP servers