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

Each surface is a separate server so credentials and tools stay isolated.

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

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
API key SENDMUX_API_KEY required
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_root_ 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.0.0.tar.gz (47.8 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.0.0-py3-none-any.whl (53.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sendmux_mcp-1.0.0.tar.gz
  • Upload date:
  • Size: 47.8 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.0.0.tar.gz
Algorithm Hash digest
SHA256 6149b57b09036e169056d0ef74187a3c0d58cd5acb995efcd8d716ababd95f77
MD5 71173b7b6b0ec2965afac5bf074674a9
BLAKE2b-256 069d3d9cbb0dd79d6bc63866927df1bf4ab1949cf948385718c257d40025b0b6

See more details on using hashes here.

Provenance

The following attestation bundles were made for sendmux_mcp-1.0.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.0.0-py3-none-any.whl.

File metadata

  • Download URL: sendmux_mcp-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 53.7 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.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c59598adb58dcc67a5ce1e1f9884fdb248a567f37408e79ba4eb8c88672dd494
MD5 edef77736061798581de8c1ce4ccfbc8
BLAKE2b-256 614b80b5f13b3fd00edc5deb12812998084ab9543e03a27a04f9c3c8656cac14

See more details on using hashes here.

Provenance

The following attestation bundles were made for sendmux_mcp-1.0.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