maillog-mcp
Click on "Install 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-mcpSend 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 Sendmail Server
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.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- AlicenseAqualityAmaintenanceEnables sending emails via SMTP with template management, supporting multiple SMTP configurations, template creation with variable substitution, and bulk email sending with rate limiting.624519MIT
- FlicenseNot gradedqualityDmaintenanceEnables sending emails via SMTP with support for HTML content, attachments, bulk sending, and template-based emails. Features session management and full MCP Streamable HTTP transport compliance.
- AlicenseNot gradedqualityCmaintenanceEnables sending and receiving emails through SMTP, IMAP, and POP3 protocols with support for attachments, HTML content, and email validation.MIT
- AlicenseNot gradedqualityDmaintenanceEnables sending and managing emails via Postmark, including email delivery with templates, template listing, and delivery statistics.MIT
Related MCP Connectors
Send transactional email, run campaigns, manage contacts and automations, audit deliverability.
Send transactional email over a verified domain — templates, attachments, custom headers.
Send email, manage domains, DNS, webhooks, templates, and inbound routing on MailKite
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/Jorisslagter/sdk-node'
If you have feedback or need assistance with the MCP directory API, please join our Discord server