mcp-mailosaur
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.
mcp-mailosaur
MCP server for Mailosaur email testing. Debug Playwright and other e2e test failures involving email with AI agents in VS Code, Claude Desktop, and other MCP clients.
Quick Start
git clone https://github.com/jagypus/mcp-mailosaur.git
cd mcp-mailosaur
npm install --ignore-scripts
npm run buildThen add it to your editor config below.
Related MCP server: mcp-imap
Configuration
Environment Variables
Variable | Required | Description |
| Yes | Your Mailosaur API key (get one here) |
| No | Default server ID — saves you from specifying it on every tool call |
VS Code (Claude Code / Copilot)
Add to your .vscode/mcp.json:
{
"servers": {
"mailosaur": {
"type": "stdio",
"command": "node",
"args": ["/path/to/mcp-mailosaur/dist/index.js"],
"env": {
"MAILOSAUR_API_KEY": "your-api-key",
"MAILOSAUR_SERVER_ID": "your-server-id"
}
}
}
}Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"mailosaur": {
"command": "node",
"args": ["/path/to/mcp-mailosaur/dist/index.js"],
"env": {
"MAILOSAUR_API_KEY": "your-api-key",
"MAILOSAUR_SERVER_ID": "your-server-id"
}
}
}
}Available Tools
Messages
Tool | Description |
| List messages in a server with pagination and optional |
| Get full message details by ID — HTML body, text body, headers, attachments |
| Search for messages by sender, recipient, subject, or body text. Waits for matches with configurable timeout. |
Analysis
Tool | Description |
| Run SpamAssassin analysis — score, triggered rules, pass/fail |
| Check SPF, DKIM, DMARC, blocklists, and DNS records |
Example Debugging Workflows
"My e2e test says the verification email wasn't received"
Ask your AI agent to search for the email:
Search Mailosaur for emails sent to test-user@yourserver.mailosaur.net in the last 10 minutes
"The email is being sent but might be landing in spam"
Check the spam score for message ID xxx
"I want to verify the email content is correct"
Get the full details of the latest message in my Mailosaur inbox
License
MIT
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
Email inboxes for AI agents: read, search, reply, send, bulk send and read attachments.
1Email for AI agents: read, search and send from your Gmail, Outlook, Yahoo, iCloud or IMAP inbox.
Email on your own domains for AI agents: read, search, draft, reply and send from real mailboxes.
Email inboxes for AI agents. Send, receive, and read email with a trust report on every message.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables interaction with Mailosaur email and SMS testing services, allowing message management, server configuration, file downloads, spam analysis, and TOTP code retrieval via natural language.29MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with email accounts via IMAP and SMTP, supporting mailbox listing, email search, retrieval, sending, and management.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to read, search, and manage emails from Mailpit, an email and SMTP testing tool, during development and testing.MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to manage email over JMAP, including inspecting mailboxes, searching and retrieving messages, navigating threads, downloading attachments, triaging inboxes, and sending emails atomically via HTTP.23 PyPIMIT