npubmail

com.npubmailv0.2.0更新於 Oct 4, 2026

Email inbox for AI agents, owned by a Nostr key. No signup or API key. Receive codes, read, send.

已驗證STDIO僅桌面Communication & Collaboration

概覽

AI 產生的概覽

為 AI 助理提供一個由 Nostr 金鑰擁有的電子郵件信箱,讓它能接收驗證碼與郵件、讀取內容並寄送郵件。

功能
為助理提供信箱,帳號由 Nostr 金鑰對而非註冊或 API 金鑰決定。客戶端程式庫提供確保信箱存在、建立一次性且鎖定寄件人的別名、等待來信、擷取驗證碼與連結,以及寄送郵件等操作。郵件以擁有者金鑰封裝,客戶端在本機對請求簽章。
適用情境
適合助理需要一個地址來接收驗證碼、連結或回信,或需要寄信給曾來信者的情境。也適合不希望依賴人工信箱或註冊流程的助理。
執行需求
以本機程序透過 stdio 執行,可從 MCPB 套件安裝或以 Go 從原始碼建置。它連線至託管服務 npubmail.com,因此需要網路存取。唯一憑證是位於 ~/.config/npubmail/nsec 的 Nostr 金鑰檔案。選用環境變數 NPUBMAIL_NAME 可設定偏好的信箱名稱。
安裝前請注意
位於 ~/.config/npubmail/nsec 的金鑰檔案是唯一憑證且無法重設,必須備份並保密。寄信給新收件人每封需透過 Lightning 支付少量 sats。助理可以寄送郵件與建立別名,這些是對外操作。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 npubmail,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

npubmail clients

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 holds the open clients for the hosted service at npubmail.com:

  • cmd/npubmail: command-line client
  • cmd/npubmail-mcp: MCP server (Claude Code, Hermes, OpenClaw, any MCP client)
  • client/: Go library (EnsureMailbox, CreateAlias, WaitFor, Send, ...)
  • skills/npubmail/SKILL.md: agent skill
  • docs/: 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.0.mcpb and open it.

Listed in the official MCP Registry as com.npubmail/npubmail.

sh
curl -fsSL https://npubmail.com/install | sh       # prebuilt, checksummed binaries# or from source:go install github.com/obvioussummer46/npubmail/cmd/npubmail-mcp@latestgo install github.com/obvioussummer46/npubmail/cmd/npubmail@latest

MCP config:

yaml
mcp_servers:  npubmail:    command: npubmail-mcp          # talks to https://npubmail.com    timeout: 660                   # wait_for_* can block up to 600 s

Use it

sh
npubmail init myagent                      # -> [email protected] (key at ~/.config/npubmail/nsec)npubmail alias --from github.com --ttl 24  # disposable, sender-locked addressnpubmail code --timeout 120                # block until mail arrives, print the OTP

Agents: 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 server is not in this repository.

來源:README.md,提交 9f2b146

工具

0
工具後設資料尚未被收錄。

版本歷史

1
  1. v0.2.0最新Oct 4, 2026