SpacePost MCP Server
Send email and manage domains, contacts and webhooks on SpacePost, the Resend-compatible email API.
SpacePost scores 63 (Good), licensed MIT and written in TypeScript. It can be reached as a remote MCP endpoint. It does not declare tools yet. Filed under Communication. GitHub shows 0 stars. Package registries report about 81 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
63 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade C
65/100 for listing completeness. Lost points: no listed tools, short summary.
How quality is graded
Where the 63 comes from
22 + 20 + 0 + 10 + 4 + 7 = 63. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Remote auth: API key required. Get a key or token from the provider first, then add it as a header in your client config. How remote auth works
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "spacepost-mcp": { "command": "npx", "args": [ "-y", "@spacepost/mcp@0.2.2" ], "env": { "SPACEPOST_API_KEY": "YOUR_SPACEPOST_API_KEY", "SPACEPOST_READ_ONLY": "", "SPACEPOST_TOOLSETS": "", "SPACEPOST_PERMISSION": "", "SPACEPOST_DEFAULT_FROM": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
SPACEPOST_API_KEYSecret | Required | 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. |
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
@spacepost/mcp
An MCP server that gives AI assistants the whole SpacePost API: one tool per endpoint of the API reference, generated from the OpenAPI document. New API features become MCP tools automatically. Docs: https://docs.spacepost.dev/tools/mcp/
SpacePost is a Resend-compatible transactional email API on Amazon SES (EU company), with an SMTP relay and this MCP server.
Two ways to use it:
- Hosted:
https://api.spacepost.dev/mcp(Streamable HTTP) withAuthorization: Bearer sp_live_.... Nothing to install. - Local (this package):
npx -y @spacepost/mcp, stdio. The spec is bundled, so it starts offline.
Create an API key in the SpacePost dashboard. In the official MCP Registry the server is
dev.spacepost/mcp; on npm it is
@spacepost/mcp.
Configuration
| Env | |
|---|---|
SPACEPOST_API_KEY | Required. The assistant has exactly this key's permissions (sending_access keys can only send). |
SPACEPOST_BASE_URL | Optional, default https://api.spacepost.dev |
SPACEPOST_DEFAULT_FROM | Optional sender (e.g. Acme <hi@acme.com>) used when send_email has no from |
SPACEPOST_READ_ONLY | true = --read-only |
SPACEPOST_TOOLSETS | = --toolsets |
SPACEPOST_PERMISSION | = --permission |
| Flag | |
|---|---|
--read-only | Only tools for GET endpoints |
--toolsets a,b | Only these API areas (OpenAPI tags): emails, domains, apikeys, webhooks, audiences, contacts, broadcasts, suppressions, tenants |
--permission sending_access | Only tools a send-only key can use (operations with x-permission: sending_access) |
--list-tools | Print the tools for the given options and exit |
--help, --version |
The hosted endpoint takes the same options as query parameters: /mcp?read_only=true&toolsets=emails,domains. It derives the
permission filter from the caller's key: sending_access keys see only the sending tools in tools/list. Other tools are not
blocked by MCP; calling one goes to the API, which answers restricted_api_key as it does for REST.
Claude Code
# hosted
claude mcp add --transport http spacepost https://api.spacepost.dev/mcp --header "Authorization: Bearer sp_live_..."
# local
claude mcp add spacepost -e SPACEPOST_API_KEY=sp_live_... -e SPACEPOST_DEFAULT_FROM="Acme <hi@acme.com>" -- npx -y @spacepost/mcp
Cursor (~/.cursor/mcp.json or .cursor/mcp.json)
{
"mcpServers": {
"spacepost": { "url": "https://api.spacepost.dev/mcp", "headers": { "Authorization": "Bearer sp_live_..." } }
}
}
Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"spacepost": {
"command": "npx",
"args": ["-y", "@spacepost/mcp"],
"env": { "SPACEPOST_API_KEY": "sp_live_...", "SPACEPOST_DEFAULT_FROM": "Acme <hi@acme.com>" }
}
}
}
Docker
docker build -t spacepost-mcp .
docker run -i --rm -e SPACEPOST_API_KEY=sp_live_... spacepost-mcp
The image builds the server from this repo's source and runs it over stdio as a non-root user. The key is read from the environment at runtime; nothing is baked into the image.
How tools are built
- Name:
operationIdin snake_case (sendEmail→send_email,getBroadcastReadiness→get_broadcast_readiness). The 12 hand-written tools of 0.1 keep their names. - Input: one flat JSON Schema object with path params (snake_case:
audience_id,id_or_email), query params, header params (Idempotency-Key→idempotency_key) and the top-level JSON body fields. A body field that collides with a parameter name is exposed asbody_<field>; a non-object body (the batch array) asbody.$ref/allOfare inlined; enums, formats, patterns, bounds, defaults and descriptions are kept. - Description: summary + description from the spec, curated extras, the key permission and the HTTP route.
- Annotations: GET →
readOnlyHint; DELETE →destructiveHint; GET/PUT/DELETE →idempotentHint; overridable per operation. - Result: the API's JSON (text +
structuredContent). Errors:isError: truewith the Resend-style{ statusCode, name, message }body and a hint.
Tuning a tool
Tools follow the API's OpenAPI document. Operations carry these extensions (set by SpacePost in the spec):
x-mcp: { hidden: false, description: "Extra guidance for agents.", destructive: true, idempotent: true, openWorld: true }
x-permission: sending_access # only on operations a sending_access key may call
src/overlay.ts (keyed by operationId) holds the few curated descriptions that are about using a tool well rather than the
API itself; x-mcp wins when both set a field.
Development
bun install
bun run build # dist/index.js, spec included
bun test
bun run generate # refresh src/generated/openapi.json from https://api.spacepost.dev/openapi.json
Issues and pull requests are welcome. Security reports: security@spacepost.dev.
0.2 breaking changes: results are the raw API JSON instead of short text summaries, and verify_domain returns the verify
response (call get_domain for the new status).
License
MIT, see LICENSE. © Studio 404 d.o.o.
Frequently asked questions
What is SpacePost MCP Server?
Send email and manage domains, contacts and webhooks on SpacePost, the Resend-compatible email API.
How do I install SpacePost MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. SpacePost MCP Server runs locally from the npm package @spacepost/mcp with the command npx -y @spacepost/mcp@0.2.2.
Is SpacePost MCP Server free and open source?
Yes. SpacePost MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does SpacePost MCP Server support remote (HTTP) connections?
Yes. SpacePost MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
How is SpacePost MCP Server's trust score calculated?
SpacePost MCP Server scores 63 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.