# Agent Email Transactional Dispatcher (x402)

> Agent Email Transactional Dispatcher (x402) is a paid MCP server for communication. Pay-per-call transactional email for AI agents, paid in USDC on Base. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Paid
- **Platforms:** API
- **Repository:** https://github.com/brunopompeo1/brazil-ai-fiscal-apis-x402
- **MCP Registry name:** io.github.brunopompeo1/agent-email-x402
- **Categories:** [communication](https://ai-powered.com/categories/communication), [agent payments](https://ai-powered.com/categories/agent-payments)
- **Listing updated:** 2026-11-23

## About

Agent Email Transactional Dispatcher turns Markdown into responsive HTML email and sends alerts or notifications on behalf of an AI agent. It has no monthly subscription; each send is paid per call through the x402 protocol in USDC on the Base network.

It is one of nine pay-per-use Brazilian-market APIs running on Cloudflare, published together with tax, accounting, finance and security services. A free `/sample` endpoint lets you inspect a real payload before paying, and a send costs $0.005.

An agent needs either a wallet funded with USDC on Base or a business API key to complete a paid call. Without credentials the connector still lists its tools and returns the exact payment requirements instead of failing.

## Features

- **Markdown to HTML email:** Compiles Markdown into responsive HTML before sending.
- **Pay per call:** No subscription; each send costs $0.005 in USDC on Base.
- **x402 payments:** Paid calls return an HTTP 402 with payment details that compatible clients settle automatically.
- **Free sample:** Call `/sample` to inspect a real payload at no cost.
- **Discovery without credentials:** Tools stay visible and report payment requirements when no wallet is set.

## Good for

- Let an agent send alert emails without a SaaS account
- Notify a user when an automated job finishes
- Send formatted status reports written in Markdown
- Try pay-per-call agent payments

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http agent-email-x402 https://agent-email-x402.architect-x402.workers.dev/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "agent-email-x402": {
      "type": "http",
      "url": "https://agent-email-x402.architect-x402.workers.dev/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://agent-email-x402.architect-x402.workers.dev/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "agent-email-x402": {
      "url": "https://agent-email-x402.architect-x402.workers.dev/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "agent-email-x402": {
      "type": "http",
      "url": "https://agent-email-x402.architect-x402.workers.dev/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://agent-email-x402.architect-x402.workers.dev/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add agent-email-x402 --url https://agent-email-x402.architect-x402.workers.dev/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.agent-email-x402]
url = "https://agent-email-x402.architect-x402.workers.dev/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "agent-email-x402": {
      "httpUrl": "https://agent-email-x402.architect-x402.workers.dev/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http agent-email-x402 https://agent-email-x402.architect-x402.workers.dev/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "agent-email-x402": {
      "serverUrl": "https://agent-email-x402.architect-x402.workers.dev/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "agent-email-x402": {
      "url": "https://agent-email-x402.architect-x402.workers.dev/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "agent-email-x402": {
      "type": "streamableHttp",
      "url": "https://agent-email-x402.architect-x402.workers.dev/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "agent-email-x402": {
      "url": "https://agent-email-x402.architect-x402.workers.dev/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "agent-email-x402": {
      "url": "https://agent-email-x402.architect-x402.workers.dev/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "agent-email-x402": {
      "url": "https://agent-email-x402.architect-x402.workers.dev/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "agent-email-x402": {
      "url": "https://agent-email-x402.architect-x402.workers.dev/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://agent-email-x402.architect-x402.workers.dev/mcp
```

Enter a Name (for example "Agent Email Transactional Dispatcher (x402)"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "agent-email-x402": {
      "type": "http",
      "url": "https://agent-email-x402.architect-x402.workers.dev/mcp"
    }
  }
}
```

## Tools

The server marks 1 of 2 tools as able to change data. From the server's own tool labels and tool names; not verified by us.

- `agent_send_email` (says it can change data): Sends one e-mail on behalf of an autonomous agent to one or more recipients, compiling a Markdown body into responsive HTML at the edge, with an optional reply-to so answers reach a human. Use it to deliver a run report, an incident or price alert, a human-in-the-loop approval request, or the supplierAlert.emailDraft produced by the NF-e auditor, without holding SMTP credentials or a monthly mail 
- `agent_preview_email` (says read-only): Runs the full validation and Markdown-to-HTML compilation of an e-mail without sending anything: checks every recipient address and the subject, compiles the body and returns the recipient list and the compiled size, with status 'preview_compiled'. Use it before agent_send_email when an agent is unsure of an address list built from scraped or user-typed data, to show a human what will go out for a

## FAQ

### How much does a send cost?

$0.005 per call in USDC on the Base network.

### Can I test Agent Email Transactional Dispatcher (x402) without paying?

Yes. The `/sample` endpoint returns a real payload for free.

### What do I need to pay?

A wallet with USDC on Base, or a valid business API key.

### What happens without credentials?

The tools are listed and calls return the payment requirements rather than breaking the agent.

### How do I add Agent Email Transactional Dispatcher (x402) to Claude Code?

Run this command in your terminal: claude mcp add --transport http agent-email-x402 https://agent-email-x402.architect-x402.workers.dev/mcp

### What are the best alternatives to Agent Email Transactional Dispatcher (x402)?

The closest alternatives to Agent Email Transactional Dispatcher (x402) are AgentPay — Pay-per-call AI Microservices, Email Send API, Agent Exec, Agentic Endpoints and Agent Desk API (deskfeed.dev).

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Status and tools: checked automatically by AIPoweredBot on 26 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [AgentPay — Pay-per-call AI Microservices](https://ai-powered.com/mcp/agentpay-pay-per-call-ai-microservices): AgentPay — Pay-per-call AI Microservices is a paid MCP server for crypto and web3.
- [Email Send API](https://ai-powered.com/mcp/email-send-api): Email Send API is a paid MCP server for communication.
- [Agent Exec](https://ai-powered.com/mcp/agent-exec-3): Agent Exec is a paid MCP server for agent sandbox.
- [Agentic Endpoints](https://ai-powered.com/mcp/agentic-endpoints): Agentic Endpoints is a paid MCP server for agent tooling.
- [Agent Desk API (deskfeed.dev)](https://ai-powered.com/mcp/agent-desk-api-deskfeed-dev): Agent Desk API (deskfeed.dev) is a paid MCP server for crypto and web3.
- [Agent Embassy](https://ai-powered.com/mcp/agent-embassy-2): Agent Embassy is a paid MCP server for agent payments.
- [x402 Email Verifier](https://ai-powered.com/mcp/x402-email-verifier): x402 Email Verifier is a paid MCP server for communication.
- [X402 Sms](https://ai-powered.com/mcp/x402-sms): X402 Sms is an open-source MCP server for communication.

---
Source: https://ai-powered.com/mcp/agent-email-transactional-dispatcher-x402
