Skip to main content
Glama

localSMTP

Local dummy SMTP server for development. It accepts messages and writes the original bytes to .eml files.

SMTP server

uv run localsmtp --host 127.0.0.1 --port 25 --out ./mail

The legacy entry point also works:

uv run python .\main.py --host 127.0.0.1 --port 25 --out ./mail

Related MCP server: mailsink

MCP server

The MCP entry point starts both the MCP stdio server and an SMTP listener. This lets coding agents start the mail catcher only when they need it.

uv run localsmtp-mcp --smtp-host 127.0.0.1 --smtp-port 25

By default, the MCP server stores received mail in a temporary directory. Pass --out when you want to keep messages in a specific location.

After publishing the package, use it from an MCP client with uvx:

{
  "mcpServers": {
    "localsmtp": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/fclef819/localSMTP-mcp.git",
        "localsmtp-mcp",
        "--smtp-host",
        "127.0.0.1",
        "--smtp-port",
        "25"
      ]
    }
  }
}

MCP tools

  • list_messages(limit = 50, newest_first = true)

  • get_message(id, include_raw = false)

  • clear_messages()

  • get_server_status()

Install Server
F
license - not found
A
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    D
    quality
    D
    maintenance
    An MCP server implementation that allows sending emails over MailPace's fast transactional email API.
    1
    1
    MIT
  • F
    license
    Not graded
    quality
    B
    maintenance
    A minimal MCP server for reading and sending emails via IMAP/SMTP, supporting multiple accounts in a single instance with zero external dependencies.
    1
  • A
    license
    A
    quality
    B
    maintenance
    MCP server for the Guerrilla Mail temporary/disposable email API. Spin up throwaway inboxes, poll for mail, and read messages from any MCP client.
    6
    15
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • Fully-managed email as MCP tools - register domains, real mailboxes, send and receive mail.

  • Read, search, send, organize, draft and schedule email across your inboxes from any MCP client.

  • Hosted email MCP for AI agents with inboxes, send/receive, memory, recovery, and credits.

View all MCP Connectors

Latest Blog Posts

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/fclef819/localSMTP-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server