sendmux-sdk

by SendmuxVerified

Official monorepo of SDKs, CLI, and MCP servers for Sendmux email APIs across TypeScript, Python, Go, PHP, Rust, and Ruby.

108
Stars
0
Forks
PHP
Language
8/24/2026
Added
View on GitHubDownload ZIP

⚠️ Third-Party Software Notice

This skill is third-party open-source software developed and hosted independently on GitHub. SkillTip is an informational directory and does not control or maintain the underlying repository. Any security checks displayed are automated and limited in scope. Review the source code before installing.

Read the Terms of Service

Installation

Add to your Claude Code skills directory:

# Add to your Claude Code skills
git clone https://github.com/Sendmux/sendmux-sdk

Getting Started

Guides for using skills like sendmux-sdk.

Security Report

Verified

Last scanned: —

{
  "status": "PASSED",
  "issues": []
}

README.md

Sendmux SDKs

npm version PyPI version Go Reference crates.io version CI npm downloads Licence: MIT

Official SDK, CLI, and MCP workspace for Sendmux.

Packages

EcosystemPackageSurfaceAPI key or authInstallSource
npm@sendmux/coreShared TypeScript helpersn/anpm install @sendmux/corepackages/ts/core
npm@sendmux/sendingSending APIsmx_mbx_* or owner-approved smx_agent_*npm install @sendmux/sendingpackages/ts/sending
npm@sendmux/mailboxMailbox APIsmx_mbx_* or smx_agent_*npm install @sendmux/mailboxpackages/ts/mailbox
npm@sendmux/managementManagement APIsmx_root_*npm install @sendmux/managementpackages/ts/management
npm@sendmux/sdkTypeScript umbrella packagesurface-specificnpm install @sendmux/sdkpackages/ts/sdk
npm@sendmux/clisendmux CLIcommand/profile-specificnpm install -g @sendmux/clipackages/ts/cli
npm@sendmux/ai-sdkVercel AI SDK tools (agent inbox + sending)send + receive smx_mbx_* or smx_agent_*npm install @sendmux/ai-sdkpackages/ts/ai-sdk
Homebrewsendmuxsendmux CLIcommand/profile-specificbrew install sendmux/tap/sendmuxSendmux/homebrew-tap
PyPIsendmux-coreShared Python helpersn/apip install sendmux-corepackages/python/core
PyPIsendmux-sendingSending APIsmx_mbx_* or owner-approved smx_agent_*pip install sendmux-sendingpackages/python/sending
PyPIsendmux-mailboxMailbox APIsmx_mbx_* or smx_agent_*pip install sendmux-mailboxpackages/python/mailbox
PyPIsendmux-managementManagement APIsmx_root_*pip install sendmux-managementpackages/python/management
PyPIsendmux-sdkPython umbrella packagesurface-specificpip install sendmux-sdkpackages/python/sdk
PyPIsendmux-mcpLocal MCP plus hosted MCP and A2A serversOAuth for hosted; surface-specific keys for localpip install sendmux-mcppackages/python/mcp
PyPIlangchain-sendmuxLangChain toolkit (agent inbox + sending)send + receive smx_mbx_* or smx_agent_*pip install langchain-sendmuxpackages/python/langchain
Gosendmux.ai/go/coreShared Go helpersn/ago get sendmux.ai/go@v1.4.1go/core
Gosendmux.ai/go/sendingSending APIsmx_mbx_* or owner-approved smx_agent_*go get sendmux.ai/go@v1.4.1go/sending
Gosendmux.ai/go/mailboxMailbox APIsmx_mbx_* or smx_agent_*go get sendmux.ai/go@v1.4.1go/mailbox
Gosendmux.ai/go/managementManagement APIsmx_root_*go get sendmux.ai/go@v1.4.1go/management
Gosendmux.ai/go/sdkGo umbrella packagesurface-specificgo get sendmux.ai/go@v1.4.1go/sdk
crates.iosendmuxRust umbrella cratesurface-specificcargo add sendmuxrust
Packagistsendmux/coreShared PHP helpersn/acomposer require sendmux/core:^1.0packages/php/core
Packagistsendmux/sendingSending APIsmx_mbx_* or owner-approved smx_agent_*composer require sendmux/sending:^1.0packages/php/sending
Packagistsendmux/mailboxMailbox APIsmx_mbx_* or smx_agent_*composer require sendmux/mailbox:^1.0packages/php/mailbox
Packagistsendmux/managementManagement APIsmx_root_*composer require sendmux/management:^1.0packages/php/management
Packagistsendmux/sdkPHP umbrella packagesurface-specificcomposer require sendmux/sdk:^1.0packages/php/sdk
RubyGemssendmux-coreShared Ruby helpersn/agem install sendmux-corepackages/ruby/core
RubyGemssendmux-sendingSending APIsmx_mbx_* or owner-approved smx_agent_*gem install sendmux-sendingpackages/ruby/sending
RubyGemssendmux-mailboxMailbox APIsmx_mbx_* or smx_agent_*gem install sendmux-mailboxpackages/ruby/mailbox
RubyGemssendmux-managementManagement APIsmx_root_*gem install sendmux-managementpackages/ruby/management
RubyGemssendmux-sdkRuby umbrella packagesurface-specificgem install sendmux-sdkpackages/ruby/sdk

Quick start

Install only the package for the surface you need.

npm install @sendmux/sending
pip install sendmux-sending
go get sendmux.ai/go@v1.4.1
cargo add sendmux
composer require sendmux/sending:^1.0
gem install sendmux-sending

Use send-capable smx_mbx_* keys or owner-approved Sending-resource smx_agent_* tokens for Sending clients. Use smx_mbx_* keys or scoped smx_agent_* tokens for Mailbox clients. Use root smx_root_* keys for Management clients. Agent tokens remain limited by server-side scopes; pre-claim self-registered agent tokens do not include email.send.

For command-line access, install the CLI:

brew install sendmux/tap/sendmux
npm install -g @sendmux/cli
sendmux --help

For MCP clients, install sendmux-mcp or connect to the hosted MCP endpoint:

pip install sendmux-mcp
sendmux-mcp-mailbox --help

The hosted MCP endpoint is https://mcp.sendmux.ai/mcp. Local MCP commands support stdio and HTTP transports; hosted MCP uses OAuth and does not require manual API keys or custom OAuth endpoints.

For A2A 1.0 clients, discover the hosted HTTP+JSON service from https://a2a.sendmux.ai/.well-known/agent-card.json. It exposes the same curated mailbox, management, and sending operations with an OAuth grant bound specifically to https://a2a.sendmux.ai/a2a/v1.

For AI-agent frameworks, first-party tool wrappers are available:

npm install @sendmux/ai-sdk ai zod   # Vercel AI SDK: sendmux({ apiKey }) returns a ToolSet
pip install langchain-sendmux        # LangChain: SendmuxToolkit(api_key=...).get_tools()

Both wrap the generated Sending and Mailbox clients, so the OpenAPI spec stays the single source of truth.

Attachments And Live Mailbox Events

Mailbox attachment metadata now includes a short-lived download_url. Fetch that URL promptly with a plain HTTP client; it does not require an Authorization header, but it expires after a short TTL. If a download URL expires, re-fetch the message or attachment metadata to receive a fresh URL.

For outbound files, avoid manually placing base64 in prompts or source strings. Use the zero-context path for your lane:

  • CLI: sendmux mailbox:send-message --attach ./report.pdf or sendmux sending:send --attach ./report.pdf.
  • TypeScript: use @sendmux/mailbox/node sendMailboxMessageWithFiles(...) or @sendmux/sending/node sendEmailWithFiles(...).
  • Python: use sendmux_mailbox.send_mailbox_message_with_files(...) or sendmux_sending.send_email_with_files(...).
  • MCP: local stdio can use mailbox_upload_attachment with file_path; hosted and shell-capable agents can mint a presigned upload URL, PUT bytes to it without an API key, then send with the returned blob_id.

Mailbox direct uploads, presigned uploads, CLI --attach, and mailbox SDK file helpers share the mailbox attachment cap: currently 7,500,000 bytes per attachment. Sending API attachment helpers encode files into the send request body; the generated Sending API limit is max 10 attachments and a 25 MB request body.

Small generated attachments can still use inline base64 where the API schema supports them. MCP inline base64 is capped at 32 KiB decoded; the cheaper alternatives are file_path, presigned upload, CLI --attach, and SDK file helpers.

Live mailbox events are available through idiomatic lanes:

  • TypeScript: streamMailboxEvents(...) returns an async iterator over typed mailbox realtime events.
  • Python: iter_mailbox_events(...) yields typed MailboxRealtimeEvent models from the generated mailbox client.
  • CLI: sendmux mailbox:stream-events --follow prints one JSON event per line until the stream closes or the process is interrupted.
  • MCP: use mailbox_wait_for_message for bounded waits inside agent tool calls, then mailbox_get_attachment to renew attachment metadata and fetch download_url.

Repository structure

PathPurpose
packages/tsTypeScript SDK packages and the sendmux CLI.
packages/pythonPython SDK packages and the sendmux-mcp package.
goGo module sendmux.ai/go and subpackages.
rustRust crate published as sendmux on crates.io.
packages/phpPHP package sources used for Packagist packages and public split repositories.
packages/rubyRubyGem package sources.
codegenGenerator configuration and templates.
scriptsGeneration, verification, publishing, and release helper scripts.
docsSurface-coverage and live E2E audit artefacts.
.github/workflowsCI, canary, live E2E, and release workflows.

Versioning and support

SDK packages track the Sendmux public API contracts. Patch versions can differ between packages when a fix only affects one ecosystem or runtime.

Generated clients are built from committed OpenAPI snapshots. Any API contract change must update the snapshots and generated output in the same change.

For help, open a GitHub issue with the package name, version, command or import path, and the request ID from any API error response.

Contributing

Open pull requests against this repository. Keep generated output, source snapshots, and verification artefacts together in the same change.

Security issues should be reported through GitHub Security Advisories.

Licence

This repository is available under the MIT licence.

Frequently Asked Questions

What is sendmux-sdk?

sendmux-sdk is an open-source mcp servers skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by Sendmux. Official monorepo of SDKs, CLI, and MCP servers for Sendmux email APIs across TypeScript, Python, Go, PHP, Rust, and Ruby. It has 108 GitHub stars.

Is sendmux-sdk safe to use?

Yes. sendmux-sdk passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install sendmux-sdk?

Clone the repository with "git clone https://github.com/Sendmux/sendmux-sdk" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is sendmux-sdk written in?

sendmux-sdk is primarily written in PHP. It is open-source under Sendmux on GitHub, so you can review or fork the full source.

Are there alternatives to sendmux-sdk?

Yes. SkillsLLM lists many other MCP Servers skills you can browse and compare side by side. Open the MCP Servers category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh sendmux-sdk against similar tools.

Comments (0)

No comments yet. Be the first to share your thoughts!

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP Serversapisai-tools
View details

Scrapling

by D4Vinci

🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!

75,9137,581Python
MCP Servers
View details

TrendRadar

by sansan0

⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。

61,65224,883Python
MCP Servers
View details

context7

by upstash

Context7 Platform -- Up-to-date code documentation for LLMs and AI code editors

61,0602,938TypeScript
MCP Servers
View details

High-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph — average repo in milliseconds. 158 languages, sub-ms queries, 99% fewer tokens. Single static binary, zero dependencies.

39,9393,219C
MCP Servers
View details

Developers Also Liked

Based on votes and bookmarks from developers who liked this skill

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI Agentsai-agentsanthropicclaude-code
View details
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI Agentsai-agentsbrainstorming
View details

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP Serversapisai-tools
View details

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI Agentsai-agentsanthropicclaude-code
View details

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI Agentsclaude-codeai-tools
View details