SpacePost
v0.2.2Send email and manage domains, contacts and webhooks on SpacePost, the Resend-compatible email API.
Values you need
| Variable | What it is | |
|---|---|---|
SPACEPOST_API_KEY | required secret | SpacePost API key (sp_live_...), created in the SpacePost dashboard under API keys. A sending_access key limits the server to sending. |
SPACEPOST_READ_ONLY | optional | Set to true to expose only read tools (GET endpoints). |
SPACEPOST_TOOLSETS | optional | Comma-separated API areas to expose, e.g. emails,domains. |
SPACEPOST_PERMISSION | optional | Set to sending_access to expose only the tools a sending_access key can call. |
SPACEPOST_DEFAULT_FROM | optional | Default sender, e.g. Acme <hello@acme.com>, used when a send omits from. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add mcp -e 'SPACEPOST_API_KEY=<SPACEPOST_API_KEY>' -- npx -y --package=@spacepost/mcp@0.2.2 spacepost-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"mcp": {
"args": [
"-y",
"--package=@spacepost/mcp@0.2.2",
"spacepost-mcp"
],
"command": "npx",
"env": {
"SPACEPOST_API_KEY": "<SPACEPOST_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mcp": {
"args": [
"-y",
"--package=@spacepost/mcp@0.2.2",
"spacepost-mcp"
],
"command": "npx",
"env": {
"SPACEPOST_API_KEY": "<SPACEPOST_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "SPACEPOST_API_KEY",
"id": "spacepost-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"mcp": {
"args": [
"-y",
"--package=@spacepost/mcp@0.2.2",
"spacepost-mcp"
],
"command": "npx",
"env": {
"SPACEPOST_API_KEY": "${input:spacepost-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mcp]
command = "npx"
args = ["-y", "--package=@spacepost/mcp@0.2.2", "spacepost-mcp"]
env = { "SPACEPOST_API_KEY" = "<SPACEPOST_API_KEY>" }Remote (hosted)
Run in a terminal
claude mcp add --transport http mcp https://api.spacepost.dev/mcp --header 'Authorization: <Authorization>'Add to
Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote){
"mcpServers": {
"mcp": {
"args": [
"-y",
"mcp-remote",
"https://api.spacepost.dev/mcp",
"--header",
"Authorization: <Authorization>"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mcp": {
"headers": {
"Authorization": "<Authorization>"
},
"url": "https://api.spacepost.dev/mcp"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"mcp": {
"headers": {
"Authorization": "<Authorization>"
},
"type": "http",
"url": "https://api.spacepost.dev/mcp"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://api.spacepost.dev/mcp", "--header", "Authorization: <Authorization>"]For AI agents
- Ask the user for: SPACEPOST_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- 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).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: list_emails, send_email, send_batch_emails, get_email, update_email, cancel_email, list_domains, create_domain, ….
- 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