SendMock

v1.6.0
io.github.shibbirweb/sendmock Checked 12 hours ago Published 7 days ago

Test email, SMS, payments and webhooks locally: read messages, OTPs and webhook deliveries.

Values you need

VariableWhat it is
SENDMOCK_SERVERoptional The running SendMock to talk to, as the container reaches it Default: http://127.0.0.1:8025
SENDMOCK_TOKENoptional secret API token, when the server has UI auth on
SENDMOCK_MCP_TOOLSETSoptional Toolsets to expose, comma-separated, or all Default: core,email,sms,verify,extract,webhooks

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add sendmock -- npx -y sendmock@1.6.0 mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "sendmock": {
      "args": [
        "-y",
        "sendmock@1.6.0",
        "mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "sendmock": {
      "args": [
        "-y",
        "sendmock@1.6.0",
        "mcp"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "sendmock": {
      "args": [
        "-y",
        "sendmock@1.6.0",
        "mcp"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.sendmock]
command = "npx"
args = ["-y", "sendmock@1.6.0", "mcp"]

Docker

Requires Docker

Run in a terminal
claude mcp add sendmock -- docker run -i --rm ghcr.io/shibbirweb/sendmock:1.6.0 mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "sendmock": {
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/shibbirweb/sendmock:1.6.0",
        "mcp"
      ],
      "command": "docker"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "sendmock": {
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/shibbirweb/sendmock:1.6.0",
        "mcp"
      ],
      "command": "docker"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "sendmock": {
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/shibbirweb/sendmock:1.6.0",
        "mcp"
      ],
      "command": "docker",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.sendmock]
command = "docker"
args = ["run", "-i", "--rm", "ghcr.io/shibbirweb/sendmock:1.6.0", "mcp"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: sendmock_status, sendmock_tls_ca, sendmock_tls_trust, sendmock_preset_list, sendmock_preset_apply, sendmock_stats, sendmock_email_list, sendmock_email_delete_all, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json