MCP Server Studio

SpacePost MCP server

Send email and manage domains, contacts and webhooks on SpacePost, the Resend-compatible email API.

Registry name: dev.spacepost/mcp

Publisher
spacepost.dev
Runs
Local or hosted
Package
npm
Version
0.2.2
Category
Communication
Updated
2026-11-04

Source code on GitHub

Set up SpacePost (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@spacepost/mcp@0.2.2"
      ],
      "env": {
        "SPACEPOST_API_KEY": "<SPACEPOST_API_KEY>",
        "SPACEPOST_READ_ONLY": "<SPACEPOST_READ_ONLY>",
        "SPACEPOST_TOOLSETS": "<SPACEPOST_TOOLSETS>",
        "SPACEPOST_PERMISSION": "<SPACEPOST_PERMISSION>",
        "SPACEPOST_DEFAULT_FROM": "<SPACEPOST_DEFAULT_FROM>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add mcp -e SPACEPOST_API_KEY='<SPACEPOST_API_KEY>' -e SPACEPOST_READ_ONLY='<SPACEPOST_READ_ONLY>' -e SPACEPOST_TOOLSETS='<SPACEPOST_TOOLSETS>' -e SPACEPOST_PERMISSION='<SPACEPOST_PERMISSION>' -e SPACEPOST_DEFAULT_FROM='<SPACEPOST_DEFAULT_FROM>' -- npx -y @spacepost/mcp@0.2.2

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@spacepost/mcp@0.2.2"
      ],
      "env": {
        "SPACEPOST_API_KEY": "<SPACEPOST_API_KEY>",
        "SPACEPOST_READ_ONLY": "<SPACEPOST_READ_ONLY>",
        "SPACEPOST_TOOLSETS": "<SPACEPOST_TOOLSETS>",
        "SPACEPOST_PERMISSION": "<SPACEPOST_PERMISSION>",
        "SPACEPOST_DEFAULT_FROM": "<SPACEPOST_DEFAULT_FROM>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@spacepost/mcp@0.2.2"
      ],
      "env": {
        "SPACEPOST_API_KEY": "<SPACEPOST_API_KEY>",
        "SPACEPOST_READ_ONLY": "<SPACEPOST_READ_ONLY>",
        "SPACEPOST_TOOLSETS": "<SPACEPOST_TOOLSETS>",
        "SPACEPOST_PERMISSION": "<SPACEPOST_PERMISSION>",
        "SPACEPOST_DEFAULT_FROM": "<SPACEPOST_DEFAULT_FROM>"
      }
    }
  }
}

Windsurf

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

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@spacepost/mcp@0.2.2"
      ],
      "env": {
        "SPACEPOST_API_KEY": "<SPACEPOST_API_KEY>",
        "SPACEPOST_READ_ONLY": "<SPACEPOST_READ_ONLY>",
        "SPACEPOST_TOOLSETS": "<SPACEPOST_TOOLSETS>",
        "SPACEPOST_PERMISSION": "<SPACEPOST_PERMISSION>",
        "SPACEPOST_DEFAULT_FROM": "<SPACEPOST_DEFAULT_FROM>"
      }
    }
  }
}

Set up SpacePost (hosted url)

Claude Desktop

Add to claude_desktop_config.json:

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

Claude Code

Run in your terminal:

claude mcp add --transport http mcp https://api.spacepost.dev/mcp --header 'Authorization: <Authorization>'

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "mcp": {
      "url": "https://api.spacepost.dev/mcp",
      "headers": {
        "Authorization": "<Authorization>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "mcp": {
      "type": "http",
      "url": "https://api.spacepost.dev/mcp",
      "headers": {
        "Authorization": "<Authorization>"
      }
    }
  }
}

Windsurf

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

{
  "mcpServers": {
    "mcp": {
      "serverUrl": "https://api.spacepost.dev/mcp",
      "headers": {
        "Authorization": "<Authorization>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
SPACEPOST_API_KEYYesSpacePost API key (sp_live_...), created in the SpacePost dashboard under API keys. A sending_access key limits the server to sending.
SPACEPOST_READ_ONLYNoSet to true to expose only read tools (GET endpoints).
SPACEPOST_TOOLSETSNoComma-separated API areas to expose, e.g. emails,domains.
SPACEPOST_PERMISSIONNoSet to sending_access to expose only the tools a sending_access key can call.
SPACEPOST_DEFAULT_FROMNoDefault sender, e.g. Acme <hello@acme.com>, used when a send omits from.

More communication MCP servers