mailtarget
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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: Inxmail MCP
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.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
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 customer-io
MCP server for Nylas — read email, calendars, events and contacts, and send email or create events.
Related MCP Servers
AlicenseDqualityBmaintenanceAn MCP server implementation that allows sending emails over MailPace's fast transactional email API.1494 npm1MIT- AlicenseAqualityDmaintenanceMCP server for the Inxmail Commerce transactional API — manage events, sendings, bounces, blocklist, blacklist, reactions, and delivery tracking.2921 npm4MIT

xmit-mcpofficial
FlicenseNot gradedqualityDmaintenanceRemote MCP server for the Transmit email platform, enabling email sending, contact management, template and campaign operations via natural language.-- AlicenseNot gradedqualityCmaintenanceEnables sending transactional email and campaigns, managing contacts and templates, and reading delivery reports and wallet usage from any MCP client.MIT