MailerBot MCP Server
MCP (Model Context Protocol) server for the MailerBot direct mail API. Enables AI tools like Claude, Cursor, and others to manage contacts, mailings, campaigns, and more.
Remote server (recommended)
URL: https://mcp.mailerbot.com/mcp. OAuth is handled automatically — no API key to manage.
In Claude: Settings > Connectors > Add custom connector, then paste the URL above.
Quick Start (Local / STDIO)
# Set your API key
export MAILERBOT_API_KEY="mb_live_..."
# Run via uvx
uvx mailerbot-mcp
# Or run from source
cd mcp
uv run mailerbot-mcp
Claude Desktop Configuration
{
"mcpServers": {
"mailerbot": {
"command": "uvx",
"args": ["mailerbot-mcp"],
"env": {
"MAILERBOT_API_KEY": "mb_live_..."
}
}
}
}
Self-Hosted (SSE)
docker build -t mailerbot-mcp -f mcp/Dockerfile .
docker run -p 8080:8080 \
-e MAILERBOT_MCP_TRANSPORT=sse \
-e MAILERBOT_BEARER_TOKEN="..." \
mailerbot-mcp
Environment Variables
| Variable | Description | Default |
|---|---|---|
MAILERBOT_API_KEY |
API key for authentication | — |
MAILERBOT_BEARER_TOKEN |
OAuth bearer token (alternative to API key) | — |
MAILERBOT_API_URL |
API base URL | https://api.mailerbot.com/api/v1 |
MAILERBOT_MCP_TRANSPORT |
Transport mode: stdio or sse |
stdio |
MAILERBOT_MCP_HOST |
Host to bind (SSE mode) | 0.0.0.0 |
MAILERBOT_MCP_PORT |
Port to bind (SSE mode) | 8080 |
Available Tools
Contacts — list, get, create, update, delete, validate addresses Contact Lists — list, get, create, update, delete, add/remove contacts Documents — list, get, create, update, delete Postcards — list templates, list, get, create, delete Mailings — list, get, create, update, delete, validate addresses, estimate cost, calculate cost, send Campaigns — list, get, create, update, delete, add/remove mailings Dashboard — stats, reporting Pricing — catalog, countries, postage zones, postage rates Coupons — list, get, create, update, delete, list/import codes, check availability QR Tracking — list, create, delete links, analytics Merge Tags — list available tags
Release files for mailerbot-mcp 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mailerbot_mcp-0.1.1.tar.gz | 63.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mailerbot_mcp-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 75.7 kB
Release files / mailerbot_mcp-0.1.1.tar.gz
| Download URL | mailerbot_mcp-0.1.1.tar.gz |
|---|---|
| Size | 63.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
865e0712e71bcb98ea6f4662ec36cb873b3059b93be5244b712048ebc20b00d6
|
|
BLAKE2b-256 checksum How to use checksums |
f8b8e8c40865653e189267bec1c143eb0648e7e2ab5096211b1c663ac63c8b2c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 22, 2026.
Transparency logRelease files / mailerbot_mcp-0.1.1-py3-none-any.whl
| Download URL | mailerbot_mcp-0.1.1-py3-none-any.whl |
|---|---|
| Size | 12.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
19984111424d952fa065603feec63db19643befdd9e7b8fcc68f79a9e1892a38
|
|
BLAKE2b-256 checksum How to use checksums |
ce485bff21c73e9707eecea263c25d74a63a7ca7a8b3fbf9c604586e04d36ce6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 22, 2026.
Transparency log