mailtarget
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mailtargetSend a transactional email to user@example.com"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mailtarget
Headless CLI + MCP server for Mailtarget. Spec-driven: wraps everything documented at docs.mailtarget.co (504 operations on api.mailtarget.co) without hardcoding each one, plus the Transmission API (transmission.mailtarget.co) for sending. Source of truth = bundled openapi.yaml.
Auth
Set your Mailtarget API key (Bearer):
export MAILTARGET_API_KEY=...Two hosts, two key scopes:
transmission.mailtarget.co— sending (Transmission API). Transmission keys work here.api.mailtarget.co— management Open API (templates, domains, contacts, ...). Needs an Open API key issued from the dashboard; a transmission-only key returns 401 here.
Related MCP server: Mail MCP Server
CLI
mailtarget info # spec summary + tags
mailtarget list --tag Contacts # endpoints in a tag
mailtarget list --search template
mailtarget describe <operationId> # params + body shape
mailtarget call <operationId> -q page=1 perPage=10
mailtarget call <operationId> -p id=123 -b '{"name":"x"}'
mailtarget api GET /v1/template # raw escape hatch
# convenience: send transactional email (Transmission API)
mailtarget send --from you@verified-domain.com --to user@example.com \
--subject "Hello" --text "Hello"
mailtarget send --json @payload.json # full Transmission payload
# convenience: sending domains (Domain Auth)
mailtarget domain list
mailtarget domain dns <id> # DNS records to publish
mailtarget domain verify <id> # trigger verificationBefore publish, run via node src/cli.mjs ... or npm link.
MCP server
Stdio MCP exposing 4 tools (small surface, full coverage):
mailtarget_list_endpoints— discover endpoints (filter by tag/search)mailtarget_describe_endpoint— params + body shape for one endpointmailtarget_call_endpoint— execute against the live management APImailtarget_send_email— send transactional email (Transmission API)
Register in Claude Code / any MCP client:
{
"mcpServers": {
"mailtarget": {
"command": "node",
"args": ["/path/to/mailtarget-headless/src/mcp.mjs"],
"env": { "MAILTARGET_API_KEY": "..." }
}
}
}Library
import { sendTransmission, callOperation, listOperations } from "mailtarget";TypeScript declarations ship in types/index.d.ts (payload shapes for the Transmission API included).
Scope (v1)
Wraps the documented/live surface as-is. Mutating calls hit the live account, use with care. Parts of the 504-operation spec are not yet deployed in production; endpoints that are not live return 401/404.
This server cannot be deployed
Maintenance
Related MCP Connectors
Send transactional email and manage domains, audiences, and broadcasts from any MCP client.
The first MCP server for physical mail: send postcards and letters, manage lists and campaigns.
MCP server for Nylas — read email, calendars, events and contacts, and send email or create events.
Related MCP Servers
AlicenseDqualityDmaintenanceAn MCP server implementation that allows sending emails over MailPace's fast transactional email API.11MIT- AlicenseNot gradedqualityDmaintenanceAn MCP server that provides email sending capabilities via SMTP, featuring tools for sending standard and template-based emails. It utilizes the FastMCP Streamable HTTP transport for flexible client connectivity over HTTP without requiring stdio subprocesses.5MIT
- AlicenseAqualityFmaintenanceMCP server for the Inxmail Commerce transactional API — manage events, sendings, bounces, blocklist, blacklist, reactions, and delivery tracking.297 npm4MIT

xmit-mcpofficial
FlicenseNot gradedqualityDmaintenanceRemote MCP server for the Transmit email platform, enabling email sending, contact management, template and campaign operations via natural language.-