# Courier [Health: Active]

**Category:** 💬 Communication  
**Repository:** https://github.com/antonioac1/courier  
**GitHub Stars:** 0  
**npm Downloads (last month):** 589  
**Views:** 4  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/courier

## Description
Continuity protocol for autonomous AI agents. Agent messaging with SMTP bridge and LN payments.

## Tools
Capabilities this server exposes over MCP:

- **create_inbox** — Create an email inbox for an AI agent to receive verification codes and magic links. No signup. Returns the address, a `read_token` (save it, it is shown once), the expiry time and an Ed25519 identity. Pass `account_key` to buy a longer-lived inbox with credits.
- **wait_for_code** — Wait for the next email that contains a verification code or a magic link and return it. Long-polls up to `timeout_seconds` (1–55, default 30) and returns `{message: null, timeout: true}` if nothing arrives.
- **list_messages** — List the emails in an inbox, newest first, with codes and links already extracted.
- **get_message** — Fetch one full email by message id: text, verification codes, links, auth verdict.
- **delete_inbox** — Delete an inbox: it stops accepting mail immediately and its messages become unreadable.
- **create_account** — Create a prepaid account and get an `account_key` plus its `account_id`. Only needed for longer-lived inboxes or heavy use.
- **get_balance** — Check how many credits an account has left.
- **create_deposit** — Create a crypto deposit invoice to buy credits: USDC on Base or BTC on-chain.
- **deposit_status** — Check whether a deposit has been paid and credited yet, and how many credits it added.
- **pricing** — Show what inboxes cost in credits, the free tier limits and the crypto payment rails that are enabled. No arguments, no auth.
- **send_message** — Send from the inbox's own @getcourier.dev address (Amazon SES, DKIM-signed). Free inboxes reply only, 100 a month, because spam bots abuse free senders; otherwise 20 credits (US$0.002) per recipient or x402 pay-per-call.
- **verify_owner** — Email a human owner a confirmation link; once confirmed, the account's free 100 sends a month can go to anyone.
- **add_domain** — Register a domain you own; returns the DNS records to publish (DKIM, MAIL FROM, DMARC, inbound MX). Own-domain sending is paid: 20 credits per recipient, 100 recipients per inbox per day for the domain's first 7 days, then 500.
- **domain_status** — Show whether the domain's DKIM and MAIL FROM records have verified.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "courier": {
    "command": "npx",
    "args": ["-y","getcourier"]
  }
}
```

## Documentation

## What Courier MCP server does

Courier provides email inboxes for AI agents through the hosted MCP endpoint at `https://getcourier.dev/mcp`. An agent can create an inbox without signup or an API key, receive an address and a one-time `read_token`, then use that inbox for verification emails, magic links, replies, and message inspection.

New inboxes include an expiry time and an Ed25519 identity. Passing an `account_key` during creation enables longer-lived inboxes using prepaid credits. Inbox messages expose extracted codes and links, message text, and an authentication verdict based on SPF, DKIM, and DMARC results.

## How it works

Courier uses stateless JSON-RPC over streamable HTTP. The hosted service accepts POST requests at `/mcp`; clients do not need to install or host a local process. Authentication for inbox operations uses the `read_token` returned at creation, while account and paid-inbox operations use an `account_key`. Either token can be supplied as a bearer token.

The usual flow is to call `create_inbox`, submit its address to a service, and then call `wait_for_code`. That operation long-polls for up to 55 seconds and returns an extracted code or link. If no matching email arrives, the response indicates a timeout so the agent can retry. `list_messages` and `get_message` support later inspection, while `delete_inbox` immediately stops delivery and makes its messages unreadable.

Email content is marked as untrusted external data. Courier extracts codes and links server-side, removes hidden and control characters during ingestion, and includes per-message authentication results. Message bodies are encrypted at rest with AES-256-GCM.

## Setup and configuration

Connect an MCP client to `https://getcourier.dev/mcp` using its streamable HTTP configuration. Claude Code, Cursor, Claude Desktop, and Cline are supported with client-specific MCP settings. A generic project configuration can use an HTTP server entry with the same URL.

No local installation, API key, or signup is needed for the free inbox flow. Save the `read_token` immediately because it is shown once and is scoped to the inbox. Create a prepaid account when longer-lived inboxes or heavier usage are required. Credits can be purchased through USDC on Base or on-chain BTC deposit invoices.

## Tools and capabilities

- `create_inbox` provisions an address, token, expiry, and identity.
- `wait_for_code` returns the next extracted verification code or magic link.
- `list_messages` and `get_message` read message metadata or full email contents.
- `delete_inbox` removes access and stops incoming mail.
- `create_account`, `get_balance`, `create_deposit`, `deposit_status`, and `pricing` manage credits and account usage.
- `send_message` sends from a Courier address, while `verify_owner` enables broader free-tier sending after human confirmation.
- `add_domain` returns DNS records for a domain you own; `domain_status` reports DKIM and MAIL FROM verification.

Sending uses Amazon SES with DKIM signing. Free inboxes can reply and have a monthly sending allowance; paid sending costs credits per recipient or can use x402 pay-per-call. Custom-domain sending also uses credit charges and recipient limits.

## Limitations and notes

Free inboxes expire after 72 hours and are limited to three creations per hour and five per day per client IP. Each inbox can hold up to 100 messages, and agent-visible message text is truncated to 4,000 characters. The wait timeout is limited to 1–55 seconds.

Sending limits apply per inbox, message, account, and domain. Free inboxes are restricted to replies until owner verification, and spam complaints can suspend the sending inbox. Paid accounts have a limit of 100 active paid inboxes. Deleting an inbox is destructive: it stops accepting mail and prevents its stored messages from being read.

_Full upstream README: https://allmcps.com/mcp/courier/readme_

