MCP server
MailFlat
Real email inboxes for AI agents: open an address, read the one-time code, send mail.
Runs locally
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.9.2
- Listing updated
- 3 months ago
About MailFlat
MailFlat is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add mailflat-mcp --env MAILFLAT_API_KEY='<MAILFLAT_API_KEY>' -- uvx mailflat-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"mailflat-mcp": {
"command": "uvx",
"args": [
"mailflat-mcp"
],
"env": {
"MAILFLAT_API_KEY": "<MAILFLAT_API_KEY>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mailflat-mcp": {
"command": "uvx",
"args": [
"mailflat-mcp"
],
"env": {
"MAILFLAT_API_KEY": "<MAILFLAT_API_KEY>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"mailflat-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"mailflat-mcp"
],
"env": {
"MAILFLAT_API_KEY": "<MAILFLAT_API_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mailflat-mcp": {
"command": "uvx",
"args": [
"mailflat-mcp"
],
"env": {
"MAILFLAT_API_KEY": "<MAILFLAT_API_KEY>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mailflat-mcp": {
"command": "uvx",
"args": [
"mailflat-mcp"
],
"env": {
"MAILFLAT_API_KEY": "<MAILFLAT_API_KEY>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
MAILFLAT_API_KEYMailFlat API key. Create one in the dashboard under Agents.RequiredMAILFLAT_API_URLOverride the API base URL. Defaults to https://mailflat.net.
Pricing
Open source
Prices change. Check mailflat.net before you buy.
MailFlat FAQ
Is MailFlat free?
Yes. MailFlat is open source, so you can use and self-host it for free.
How do I add MailFlat to Claude Code?
Run this command in your terminal: claude mcp add mailflat-mcp --env MAILFLAT_API_KEY='<MAILFLAT_API_KEY>' -- uvx mailflat-mcp
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.