MCP Server Studio
Send email and manage domains, contacts and webhooks on SpacePost, the Resend-compatible email API.
Registry name: dev.spacepost/mcp
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>"
}
}
}
}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.2Add 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>"
}
}
}
}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>"
}
}
}
}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>"
}
}
}
}Add to claude_desktop_config.json:
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://api.spacepost.dev/mcp",
"--header",
"Authorization: <Authorization>"
]
}
}
}Run in your terminal:
claude mcp add --transport http mcp https://api.spacepost.dev/mcp --header 'Authorization: <Authorization>'Add to .cursor/mcp.json:
{
"mcpServers": {
"mcp": {
"url": "https://api.spacepost.dev/mcp",
"headers": {
"Authorization": "<Authorization>"
}
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"mcp": {
"type": "http",
"url": "https://api.spacepost.dev/mcp",
"headers": {
"Authorization": "<Authorization>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"mcp": {
"serverUrl": "https://api.spacepost.dev/mcp",
"headers": {
"Authorization": "<Authorization>"
}
}
}
}| Name | Required | What it is |
|---|---|---|
SPACEPOST_API_KEY | Yes | 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 | No | Set to true to expose only read tools (GET endpoints). |
SPACEPOST_TOOLSETS | No | Comma-separated API areas to expose, e.g. emails,domains. |
SPACEPOST_PERMISSION | No | Set to sending_access to expose only the tools a sending_access key can call. |
SPACEPOST_DEFAULT_FROM | No | Default sender, e.g. Acme <hello@acme.com>, used when a send omits from. |