MCP.so
登录

X402mail - Email API with crypto micropayments

@MuzsaiLajos

关于 X402mail - Email API with crypto micropayments

Python SDK for x402mail - send and receive email with USDC micropayments

基本信息

分类

开发工具

许可证

MIT

运行时

python

传输方式

stdio

发布者

MuzsaiLajos

提交者

Lajos Muzsai

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "x402mail": {
      "command": "x402mail",
      "args": [
        "mcp"
      ],
      "env": {
        "CDP_API_KEY_ID": "your-key-id",
        "CDP_API_KEY_SECRET": "your-key-secret",
        "CDP_WALLET_SECRET": "your-wallet-secret"
      }
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is X402mail - Email API with crypto micropayments?

X402mail is an email API that lets you send and receive emails with crypto micropayments. It requires no accounts or API keys—just a wallet. Built on the x402 protocol, every API call is paid with USDC on Base.

How to use X402mail - Email API with crypto micropayments?

Install the package with pip install x402mail[cdp] (or pip install x402mail for private key usage). Set environment variables for your CDP wallet or provide an EVM private key. Use the Python API to send/receive emails, or run a local MCP server with x402mail mcp for AI agent integration.

Key features of X402mail - Email API with crypto micropayments

  • No accounts or API keys required
  • Pay per API call with USDC on Base
  • Simple Python API (send, inbox, list, read)
  • Built-in MCP server for AI agents
  • Supports CDP server wallets or any EVM wallet

Use cases of X402mail - Email API with crypto micropayments

  • AI agents sending and receiving emails autonomously
  • Automated email notifications with crypto-based billing
  • Secure, account-free email communication for dApps

FAQ from X402mail - Email API with crypto micropayments

How does payment work?

Each API call is paid with USDC on Base. Costs are fixed per action (e.g., send email: $0.005, list messages: $0.002). $1 USDC covers approximately 200 emails.

What wallets are supported?

The recommended setup is a Coinbase Developer Platform (CDP) Server Wallet, which requires CDP API keys. You can also use any EVM wallet with USDC on Base by providing a private key.

Do I need an API key?

No. X402mail does not require traditional API keys. For CDP wallet usage, you need CDP API credentials (key ID, secret, wallet secret). For private key usage, you only need an EVM private key.

How much does it cost per action?

Send email: $0.005, check inbox: $0.001, list messages: $0.002, read message: $0.001. All costs are fixed in USDC on Base.

Is there an MCP server for AI agents?

Yes. Run x402mail mcp to start a local MCP server. It provides tools like send_email, get_inbox, list_messages, and read_message. Configure it in your MCP client (e.g., Claude Desktop, Cursor) using the provided JSON block.

评论

开发工具 分类下的更多 MCP 服务器