# Pidgeon

Supplies AI agents with custom inboxes to receive emails, parse signup codes, and send replies. Helpful when automating registrations or handling inbound threads.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 1
- Author: pidgeon-ai
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/pidgeon-ai/pidgeon-js/tree/HEAD/packages/mcp
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/mcp/pidgeon

## What it does

Pidgeon exposes email workflows to assistants via the Model Context Protocol. It allows an agent to generate new addresses, inspect entire threads, search messages, and send outbound mail. The `await_message` tool listens for incoming traffic and automatically isolates verification codes alongside confirmation links.

You can connect to the hosted endpoint at `https://pidgeon.ai/api/mcp` via OAuth or an API token, or run the local package via `npx` using `@pidgeon-ai/mcp`. Local execution demands Node.js and a valid `PIDGEON_API_KEY` credential. Without proper authentication, endpoints reject calls with HTTP status 401.

## Requirements
- Needs: Node.js (commands run via npx)
- Remote server: `https://pidgeon.ai/api/mcp`
- Environment variables: `PIDGEON_API_KEY` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

1. **Platform CLI**
```bash
claude mcp add mcp -e PIDGEON_API_KEY=<PIDGEON_API_KEY> -- npx -y @pidgeon-ai/mcp
```
Replace <…> with your own values

2. **Platform CLI: remote server**
```bash
claude mcp add --transport http mcp https://pidgeon.ai/api/mcp
```

### Codex

1. **Platform CLI: remote server**
```bash
codex mcp add mcp --url https://pidgeon.ai/api/mcp
```

2. **Platform CLI**
```bash
codex mcp add mcp --env PIDGEON_API_KEY=<PIDGEON_API_KEY> -- npx -y @pidgeon-ai/mcp
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "mcp": {
            "url": "https://pidgeon.ai/api/mcp"
        }
    }
}
```
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "mcp": {
            "command": "npx",
            "args": [
                "-y",
                "@pidgeon-ai/mcp"
            ],
            "env": {
                "PIDGEON_API_KEY": "<PIDGEON_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "mcp": {
            "type": "http",
            "url": "https://pidgeon.ai/api/mcp"
        }
    }
}
```
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "mcp": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@pidgeon-ai/mcp"
            ],
            "env": {
                "PIDGEON_API_KEY": "<PIDGEON_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

1. **Platform CLI: remote server**
```bash
gemini mcp add -t http mcp https://pidgeon.ai/api/mcp
```

2. **Platform CLI**
```bash
gemini mcp add -e PIDGEON_API_KEY=<PIDGEON_API_KEY> mcp npx -y @pidgeon-ai/mcp
```
Replace <…> with your own values

## When to use it
- Extract verification codes and activation links from inbound emails
- Generate dedicated email inboxes for automated agents
- Draft replies and manage conversational threads
- Inspect text attachments inside incoming messages

## Example prompts
- Generate a new email address and wait for the verification code
- Check our inbox for messages regarding invoice 104 and draft a reply
- Read the attachment from the latest incoming email

## Similar
- [codex-oauth-automation-extension](https://affpapa.org/en/nevibecode/skills/codex-oauth-automation-extension.md) — skill · 505 installs
- [agentmail-mcp](https://affpapa.org/en/nevibecode/skills/agentmail-mcp.md) — skill · 1200 installs
- [FindLeadEmails](https://affpapa.org/en/nevibecode/mcp/findleademails.md) — MCP server
- [agent-email-cli](https://affpapa.org/en/nevibecode/skills/agent-email-cli.md) — skill · 2100 installs
- [agentmail-cli](https://affpapa.org/en/nevibecode/skills/agentmail-cli.md) — skill · 1700 installs
- [email-sequence-designer](https://affpapa.org/en/nevibecode/skills/email-sequence-designer.md) — skill · 1000 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
