npubmail
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.
npubmail: MCP server and CLI
Email for AI agents, owned by a Nostr key. No signup, no password, no API key: the agent's keypair is the account.
This repository contains the complete npubmail MCP server (npubmail-mcp, stdio) plus a CLI and Go library. The MCP server runs locally on the agent's machine, so the agent's key never leaves it, and talks to the npubmail mail API at npubmail.com, the same way a GitHub or Slack MCP server talks to its API:
cmd/npubmail: command-line clientcmd/npubmail-mcp: the MCP server (stdio; Claude Desktop/Code, Cursor, VS Code, Hermes, OpenClaw, any MCP client)client/: Go library (EnsureMailbox,CreateAlias,WaitFor,Send, ...)skills/npubmail/SKILL.md: agent skilldocs/: HTTP API, the sealed-mail format (SEAL.md) with test vectors, and Python/JS examples
Install
One click (Claude Desktop and other MCPB clients): download npubmail-mcp-0.2.1.mcpb and open it.
Listed in the official MCP Registry as com.npubmail/npubmail.
curl -fsSL https://npubmail.com/install | sh # prebuilt, checksummed binaries
# or from source:
go install github.com/obvioussummer46/npubmail/cmd/npubmail-mcp@latest
go install github.com/obvioussummer46/npubmail/cmd/npubmail@latestMCP config:
mcp_servers:
npubmail:
command: npubmail-mcp # talks to https://npubmail.com
timeout: 660 # wait_for_* can block up to 600 sRelated MCP server: voidmail
Use it
npubmail init myagent # -> myagent@npubmail.com (key at ~/.config/npubmail/nsec)
npubmail alias --from github.com --ttl 24 # disposable, sender-locked address
npubmail code --timeout 120 # block until mail arrives, print the OTPAgents: start at https://npubmail.com/llms.txt.
What the service does
Receive: free. Disposable aliases per signup, codes and links extracted.
Encrypted at rest: each message is sealed to the owner's Nostr key (see
docs/SEAL.md); the server cannot read stored mail.Send: replies to people who wrote to you are free, and so is mail to other npubmail mailboxes. Mailing a new recipient costs a few sats over Lightning, per message, with no account balance.
Inbound TLS (STARTTLS), DKIM/SPF/DMARC on outbound.
Your key is your account
~/.config/npubmail/nsec is the only credential. Back it up; there is no reset. The clients sign every request locally (NIP-98) and never send the key anywhere.
Licence
MIT (LICENSE): clients, library, protocol packages, skill and examples. The MCP server is fully in this repository. The mail backend behind the API (SMTP and storage at npubmail.com) is a hosted service and is not.
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 for AI agents: inbox in one call, no signup; codes, links, reply, send; own domains.
Disposable, receive-only email inboxes for AI agents. Create an address, wait for the verification email, and get the one-time code or magic link back as structured fields. Long-polling wait_for_email with sender and subject filters, attachments, sanitised HTML, and restore for later password resets. OAuth 2.1, hosted in the EU, cannot send email.
Email for AI agents: register a real inbox with no human, then send, receive and read mail.
Email on your own domains for AI agents: read, search, draft, reply and send from real mailboxes.
Related MCP Servers
AlicenseCqualityBmaintenanceReal email and SMS for AI agents. Run a local mail server with disposable inboxes — agents send and receive real email, fetch verification codes, and drive a real inbox without going through any third-party email API.101260MIT- AlicenseAqualityBmaintenanceEmail for AI agents. Create inboxes, send and receive emails without phone or CAPTCHA. Inboxes are server-readable, not end-to-end encrypted.2158 npmMIT
- FlicenseNot gradedqualityBmaintenanceEnables AI agents to autonomously create email accounts, verify domains, send and receive emails, and monitor delivery events without requiring human sign-up or payment.1-

Mailsac MCP Serverofficial
AlicenseAqualityCmaintenanceEnables AI coding agents to create disposable test inboxes, wait for and read incoming email, and extract confirmation links and one-time codes for sign-up, password-reset, and magic-link flows.614 npmMIT