maillog-mcp
OfficialClick 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 saying the report is ready."
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: Inbound Email MCP 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
- FlicenseNot gradedqualityDmaintenanceEnables creating temporary email inboxes and sending emails through the AgentMail API, allowing AI agents to manage email communications programmatically.1
- FlicenseBqualityDmaintenanceEnables AI assistants to interact with the Inbound Email API to manage domains, endpoints, and email communications. Users can send or schedule emails, manage webhooks, and retrieve email threads through natural language commands.142
- AlicenseNot gradedqualityDmaintenanceEnables email integration via IMAP and SMTP, allowing model assistants to read, send, search emails, and list folders.7714ISC
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to interact with Microsoft 365 Outlook Mail, allowing email operations via natural language.10MIT
Related MCP Connectors
Email for AI agents — send, receive as a webhook, manage domains, templates, routing.
Send transactional email over a verified domain — templates, attachments, custom headers.
Send transactional email, run campaigns, manage contacts and automations, audit deliverability.
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/maillog-dev/sdk-node'
If you have feedback or need assistance with the MCP directory API, please join our Discord server