maillog-mcp
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., "@maillog-mcp Send an email to jane@example.com with subject 'Hello' and body 'Just checking in.'"
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.
@maillog/node-sdk
Node SDK and MCP server for the Maillog email API. Other languages: Python · Go · Ruby · PHP · Rust
Install
npm install @maillog/node-sdkRelated MCP server: MCP Email Service
Get a key without an account
curl -X POST https://api.maillog.nl/v1/keys/sandbox \
-H "Content-Type: application/json" \
-d '{"email":"you@example.com"}'The key it returns may only send to that address and expires after 24 hours. For your own domains, sign up at https://maillog.nl/signup.
Send
import { Maillog } from "@maillog/node-sdk";
const maillog = new Maillog(process.env.MAILLOG_API_KEY);
const { id } = await maillog.emails.send({
from: "Acme <noreply@acme.nl>",
to: ["you@example.com"],
subject: "hello",
html: "<p>it works</p>",
});emails.sendBatch(emails) takes 1 to 100 at a time. emails.list({ limit, offset, status })
returns what was sent, with delivery status and open/click counts.
Errors
Failures throw MaillogError with .status and .body, so a 422 from validation
and a 403 from an expired key can be handled apart.
import { MaillogError } from "@maillog/node-sdk";
try {
await maillog.emails.send(params);
} catch (err) {
if (err instanceof MaillogError && err.status === 422) {
// body carries errors[] with the offending field
}
}There is no retry logic, on purpose: a client that silently resends produces duplicate mail, and only you know whether that is acceptable.
MCP server
The package ships an MCP server so an assistant can send mail directly.
claude mcp add maillog --env MAILLOG_API_KEY=ma_xxx -- npx -y maillog-mcpTools: send_email, list_emails.
Options
new Maillog(apiKey, {
baseUrl: "http://localhost:3086", // default https://api.maillog.nl
timeoutMs: 30_000,
});Develop
npm run build # tsc to dist/
node --test src/*.test.tsMIT.
Available Tools
2 toolslist_emailsList sent emailsA
List emails previously sent through Maillog, newest first, with delivery status and open/click counts. Use this to check whether a message actually went out.
Inputs: limit, offset, status.
send_emailSend an emailA
Send a transactional email through Maillog. The 'from' address must be on a domain verified in the Maillog dashboard, except for sandbox keys, which may only send to the address the sandbox key was issued for.
Inputs: to (required), from (required), subject (required), cc, +4 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
send_email and list_emails have clearly distinct purposes: one creates a new outgoing message, the other reads history of previously sent messages. There is no overlap or ambiguity between them.
Both tool names follow the same verb_noun pattern (send_email, list_emails), making the set predictable and easy to navigate. The consistency is perfect for a two-tool surface.
With only two tools, the server feels thin for a general email service, though the pair covers the two most essential actions. The count is borderline but not unreasonable for a narrowly scoped transactional email logging use case.
The core lifecycle of sending and verifying delivery is covered: create an email and list sent emails with status. A minor gap is the lack of a single-email detail endpoint or pagination control, but agents can likely work around that using list_emails.
Maintenance
Related MCP Connectors
Send, track, and manage transactional and bulk email delivery
Send transactional and marketing emails, manage contacts and campaigns, and read stats.
Send email and read templates, marketing contacts, lists, stats, bounces and unsubscribes.
Send transactional email, run campaigns, manage contacts and automations, audit deliverability.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables sending emails via SMTP with template management, supporting multiple SMTP configurations, template creation with variable substitution, and bulk email sending with rate limiting.6737 npm25MIT
- FlicenseNot gradedqualityDmaintenanceEnables sending emails (including mass emailing), querying, updating, and canceling delayed emails via the Resend API.-

maillog-mcpofficial
AlicenseAqualityDmaintenanceEnables an assistant to send email and list sent emails through the Maillog email API.2MIT- AlicenseNot gradedqualityCmaintenanceEnables sending transactional email and campaigns, managing contacts and templates, and reading delivery reports and wallet usage from any MCP client.MIT