MailKite
OfficialRead-only mirror. This repo is a generated, release-time mirror of the MailKite monorepo (the private source of truth) — development doesn't happen here. Install from npm and open issues against the MailKite docs.
Install
{
"mcpServers": {
"mailkite": {
"command": "npx",
"args": ["-y", "@mailkite/mcp"],
"env": { "MAILKITE_API_KEY": "mk_live_…" }
}
}
}Related MCP server: ClawAIMail
Use it from an AI agent — MCP + Agent connectors
MailKite speaks the Model Context Protocol: every API method is a tool your AI assistant (Claude, Cursor, …) can call — send mail, manage domains, search the docs, and give an agent its own inbox. Full guide: https://mailkite.dev/docs/ai-agents.
Hosted (recommended) — one-click OAuth, no key to copy:
claude mcp add --transport http mailkite https://mcp.mailkite.dev/mcpIn Claude Code you can also install the plugin:
/plugin marketplace add mailkite/claude-code
/plugin install mailkite@mailkiteAny chat/UI agent: "Add the MCP server at https://mcp.mailkite.dev/mcp and authenticate in the browser when prompted."
Local (static key, offline / CI): use the npx config from Install above.
Give an agent its own inbox. Route inbound mail to a built-in inbox agent (the agent route action) and it answers, files, or escalates on its own — see https://mailkite.dev/docs/ai-agents.
Tools
One tool per MailKite API method, generated from the shared contract — send mail, manage domains/routes/webhooks/templates, run contact lists & broadcasts, give an agent its own inbox, and search the docs. Full signatures below; deeper reference: https://mailkite.dev/docs/libraries#mcp.
39 tools, generated from the shared API contract — the same spec the server registers at startup. * marks a required argument. Access: API key (mk_live_…), session (management token), or local (runs in-process, no network).
Tool | Signature | Access | What it does |
|
| API key · write | Send a message over a verified domain. |
|
| API key · write | Upload a file to MailKite storage and get back a secure, time-limited URL. |
| — | session · read | List your saved email templates (light metadata only — no body). |
| — | session · read | List the premade base templates (light metadata). |
|
| session · read | Get one template (full: subject, html, text, theme). |
|
| session · write | Create a template. |
| — | session · read | List your domains, each with its webhook URL. |
|
| session · write | Add a domain. |
|
| session · read | Get one domain with DNS records + webhook. |
|
| session · delete/replace | Remove a domain. |
|
| session · write | Check DNS and update status. |
|
| session · delete/replace | Set or replace the domain's catch-all webhook. |
|
| session · delete/replace | Remove the domain's webhook. |
|
| session · write | Send a signed test event to the domain's webhook. |
|
| session · read | Check whether a domain is available to register, and at what price. |
|
| session · write | Register (buy) a domain on the customer's behalf; provisions mail DNS and adds it to the account in one call. |
| — | session · read | List inbound routing rules. |
|
| session · write | Create a route (match, action, destination). |
|
| API key · write | Send a message to one of your inbox agents and get its reply. |
|
| API key · write | Route a message to one of your registered routes (by |
| — | session · read | List stored messages, newest first. |
|
| session · read | Get a message with deliveries + attachments. |
|
| session · write | Re-deliver a stored message to its webhook. |
| — | session · read | List your contact lists (static, curated broadcast audiences), each with its member count. |
|
| session · write | Create a contact list. |
|
| session · read | Get one contact list with its member count. |
|
| session · write | Rename a contact list. |
|
| session · delete/replace | Delete a contact list. |
|
| session · read | List the contacts that are members of a list, newest first. |
|
| session · write | Add contacts (by id, ctr_…) to a list. |
|
| session · delete/replace | Remove one contact from a list (the contact itself is kept). |
| — | session · read | List your broadcasts (one-to-many sends) with status and send stats. |
|
| session · write | Create a broadcast draft. |
|
| session · read | Get one broadcast with its status and recipient summary. |
|
| session · write | Edit a draft broadcast (any of from/subject/audience/html/… ). |
|
| session · delete/replace | Delete a broadcast draft. |
|
| session · write | Send a broadcast now, or pass an ISO 8601 |
|
| local · read | Verify the |
|
| API key · read | Semantic search over the MailKite documentation — returns the most relevant doc sections for a natural-language query (hybrid vector + keyword search over https://mailkite.dev/docs). |
Signatures are advisory here — the server validates every call against the same JSON Schema the SDKs use, so the exact field names, types, and required flags always match the live contract.
All MailKite libraries
Same contract, every language — pick the one for your stack (full list: https://mailkite.dev/docs/libraries):
Library | Repo | Distribution |
MailKite for Node.js | npm | |
MailKite for Python | PyPI | |
MailKite for Ruby | RubyGems | |
MailKite for Java | Maven Central | |
MailKite for PHP | Packagist | |
MailKite for Go | Go modules | |
@mailkite/cli | npm | |
@mailkite/mcp (this repo) | npm | |
@mailkite/client | npm | |
@mailkite/expo | npm | |
MailKiteClient | Swift Package Manager | |
dev.mailkite:mailkite-client | Maven Central | |
mailkite_client | pub.dev |
Docs & links
📚 Documentation: https://mailkite.dev/docs
📦 This library's guide: https://mailkite.dev/docs/libraries#mcp
🤖 AI agents (MCP + inbox agents): https://mailkite.dev/docs/ai-agents
🌐 Website: https://mailkite.dev
🧭 All libraries: https://mailkite.dev/docs/libraries
Generated from the shared MailKite API contract. © MailKite.
This server cannot be installed
Maintenance
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mailkite/mailkite-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server