Skip to main content

Curated MCP servers for the Sendmux API surfaces.

Project description

Sendmux MCP

Curated Model Context Protocol servers for the Sendmux mailbox, management, and sending API surfaces.

Install

pip install sendmux-mcp

For local development from this repository:

OPENAPI_INPUT_DIR=/path/to/sendmux-docs pnpm build:mcp

Run

Run one surface, a selected combination, or all three surfaces from one MCP setup.

SENDMUX_API_KEY=smx_mbx_... sendmux-mcp-mailbox
SENDMUX_API_KEY=smx_root_... sendmux-mcp-management
SENDMUX_API_KEY=smx_mbx_... sendmux-mcp-sending

SENDMUX_MCP_SURFACES=mailbox,sending \
SENDMUX_MAILBOX_API_KEY=smx_mbx_... \
sendmux-mcp

SENDMUX_MCP_SURFACES=mailbox,management,sending \
SENDMUX_MAILBOX_API_KEY=smx_mbx_... \
SENDMUX_MANAGEMENT_API_KEY=smx_root_... \
SENDMUX_SENDING_API_KEY=smx_mbx_... \
sendmux-mcp

Use HTTP transport for hosted or remote clients. HTTP requires a separate MCP bearer token unless you explicitly opt out.

SENDMUX_API_KEY=smx_mbx_... \
SENDMUX_MCP_HTTP_BEARER_TOKEN=local-mcp-token \
sendmux-mcp-mailbox --transport http --host 127.0.0.1 --port 8765

The MCP endpoint defaults to /mcp; /health returns a small JSON health response.

Configuration

Setting Environment Default
Tool surfaces SENDMUX_MCP_SURFACES required for sendmux-mcp; wrapper commands select one product line
API key fallback SENDMUX_API_KEY accepted for compatible single-key setups
Mailbox API key SENDMUX_MAILBOX_API_KEY required when mailbox is selected unless a compatible fallback is provided
Management API key SENDMUX_MANAGEMENT_API_KEY required when management is selected unless a compatible fallback is provided
Sending API key SENDMUX_SENDING_API_KEY required when sending is selected unless a compatible mailbox key is provided
App API base URL SENDMUX_APP_BASE_URL https://app.sendmux.ai/api/v1
Sending API base URL SENDMUX_SENDING_BASE_URL https://smtp.sendmux.ai/api/v1
Transport SENDMUX_MCP_TRANSPORT stdio
HTTP host SENDMUX_MCP_HOST 127.0.0.1
HTTP port SENDMUX_MCP_PORT 8765
HTTP path SENDMUX_MCP_PATH /mcp
HTTP bearer token SENDMUX_MCP_HTTP_BEARER_TOKEN required for HTTP
Allowed browser origins SENDMUX_MCP_ALLOWED_ORIGINS no browser origins
Snapshot directory override SENDMUX_MCP_OPENAPI_INPUT_DIR or OPENAPI_INPUT_DIR packaged snapshots
App snapshot override SENDMUX_MCP_APP_OPENAPI packaged app snapshot
Sending snapshot override SENDMUX_MCP_SENDING_OPENAPI packaged sending snapshot

Packaged OpenAPI snapshots are the default so released tool names, schemas, and descriptions do not drift. Path, directory, and URL overrides are available for development, canary, and debugging runs.

Tool Surfaces

  • Mailbox: message read/send, threads, folders, identity, and mailbox state tools. Requires an smx_mbx_ key.
  • Management: domains, mailboxes, logs, metrics, and webhook tools. Requires an smx_root_ key.
  • Sending: send and batch send tools. Requires an smx_mbx_ key.

The server rejects keys with the wrong prefix before starting.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sendmux_mcp-1.1.0.tar.gz (58.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sendmux_mcp-1.1.0-py3-none-any.whl (67.8 kB view details)

Uploaded Python 3

File details

Details for the file sendmux_mcp-1.1.0.tar.gz.

File metadata

  • Download URL: sendmux_mcp-1.1.0.tar.gz
  • Upload date:
  • Size: 58.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for sendmux_mcp-1.1.0.tar.gz
Algorithm Hash digest
SHA256 843e18936721220eac568c81655df61975e2a35654db0abc9558690fa578ddb7
MD5 f8923cbae9e8a9d3778f4ac90a42534a
BLAKE2b-256 cb1aff14c95ee8ad20b7f0920ef3a0e42dcbd111799950b4569d310f753b670b

See more details on using hashes here.

Provenance

The following attestation bundles were made for sendmux_mcp-1.1.0.tar.gz:

Publisher: release-please.yml on Sendmux/sendmux-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sendmux_mcp-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: sendmux_mcp-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 67.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for sendmux_mcp-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 58b3f34d6fc1ac55b2b24c2c0d94d37ce8fa199e883fe8caf4364b9787555908
MD5 f5f24ec8bfe34208b13717fcce12fafb
BLAKE2b-256 d8265a66b9d39f1c3e2aa87b01b309be19feacca13e9f17b2f993729beead1f2

See more details on using hashes here.

Provenance

The following attestation bundles were made for sendmux_mcp-1.1.0-py3-none-any.whl:

Publisher: release-please.yml on Sendmux/sendmux-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page