MCP exposes a curated agent toolset, not every API endpoint. Use the
SDKs, CLI, or API reference when you need full endpoint coverage.
Doc Search MCP
Doc Search MCP exposessearch_sendmux.
Claude Code
Claude Code
Cursor
Cursor
Add this server to
.cursor/mcp.json for one project or ~/.cursor/mcp.json for all projects.VS Code
VS Code
Add this server to your user or workspace
mcp.json.Codex
Codex
Add this server to
~/.codex/config.toml or a trusted project .codex/config.toml.MCP
MCP exposes the product surfaces you grant.
Hosted MCP is the default when your client supports remote MCP with browser OAuth. It keeps Sendmux in the authorisation flow, avoids distributing manual API keys to agents, and shows only the tools allowed by the grant.
Use the Postman collection when you want to test MCP requests from Postman:
If you grant more than one mailbox, start mailbox workflows with
mailbox_list_granted_mailboxes and pass the returned mailbox_id to tools
that act on one mailbox.Connection modes
Hosted OAuth
Use when your client can open a browser-based MCP OAuth flow.
Local stdio
Use when your coding agent can launch a local command on your machine.
Private HTTP
Use when a client needs a URL but you run the MCP package yourself.
Local package
Install the local package from PyPI:smx_root_. Sending accepts a send-capable smx_mbx_ key or owner-approved Sending-resource smx_agent_ token. Mailbox accepts an smx_mbx_ key or a scoped smx_agent_ token.
Private HTTP
HTTP mode is useful when your MCP client connects to a server URL but you still want to run the package yourself./mcp. /health returns the selected surfaces. HTTP mode requires SENDMUX_MCP_HTTP_BEARER_TOKEN unless you explicitly start it with --allow-unauthenticated-http.
Configuration reference
Environment variables
Environment variables
Command flags
Command flags
Tool discovery
How tool discovery works
How tool discovery works
Tool names are generated from the current public API surfaces. Open your MCP client’s tool picker after authorisation to see the tools available to that connection.Hosted connections show only the tools allowed by the selected product surfaces, permissions, and mailbox grant. Local servers show the tools for the surfaces and keys you provide at startup.
Troubleshooting
No tools appear
No tools appear
Confirm the selected product surfaces and granted permissions. Hosted connections show only tools allowed by the grant.
Local server fails before starting
Local server fails before starting
Check the API key prefix. Management needs
smx_root_; Sending accepts smx_mbx_ or owner-approved Sending-resource smx_agent_; Mailbox accepts smx_mbx_ or scoped smx_agent_.HTTP server returns 401
HTTP server returns 401
Send
Authorization: Bearer <SENDMUX_MCP_HTTP_BEARER_TOKEN> to private HTTP, or complete OAuth for hosted MCP.HTTP server returns 403 origin_forbidden
HTTP server returns 403 origin_forbidden
Add the browser client’s origin to
SENDMUX_MCP_ALLOWED_ORIGINS for private HTTP.Too many tools in one client
Too many tools in one client
Connect only the surfaces you need, or disable unused tools in the client.
Next steps
MCP clients
Configure Sendmux MCP in Claude Code, Cursor, Codex, Gemini CLI, Qwen Code, Zed, and more.
SDKs
Use package-managed clients from application code.
CLI
Install the CLI with Snap, Homebrew, or npm when you need terminal access.
API keys
Create scoped credentials for local MCP setups.