Agent Inbox logo

Agent Inbox

Organization
gsd-build

Give any AI agent a disposable email inbox in one tool call. MCP server for email verification, auth flows, and testing.

Publishergsd-build
Repositoryagent-inbox
LanguageJavaScript
Forks
5
Stars
61
Available tools
4
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    Agent Inbox exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 4 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    61 stars and 5 forks from the linked repository.

agent-inbox

Give any AI agent a disposable email inbox in one tool call.

Install

bash
npx gsd-agent-inbox

The interactive installer auto-detects your AI coding agents (Claude Code, Codex CLI, Cursor, Gemini CLI, Windsurf), configures the MCP server, and installs the optional skill for each.

When launched by an MCP client (non-TTY), it starts the MCP server normally. When you run it from a terminal, you get the installer.

What it does

An MCP server that creates real, temporary email addresses on demand. Your agent can sign up for services, receive confirmation emails, extract verification links, and clean up — without you lifting a finger.

No API keys. No accounts. No configuration. Works with any email-sending service — Supabase, Resend, SendGrid, Postmark, AWS SES, whatever.

The problem

AI agents hit a wall when a service requires email verification. They can fill out a sign-up form, but they can't receive the confirmation email. So they stop and ask you to do it.

The fix

Agent: create_inbox({ prefix: "signup", name: "test" })
→ signup-1712345678@somedomain.com (name: test)

Agent: [fills sign-up form with that email]

Agent: verify_email({ address: "test", subject_contains: "confirm" })
→ Email verified successfully!
  Verification URL: https://myapp.supabase.co/auth/v1/verify?token=abc123
  HTTP Status: 200

Agent: delete_inbox({ address: "test" })
→ Done.

Manual setup

If you prefer to configure manually instead of using the installer:

Claude Code

bash
claude mcp add agent-inbox -- npx -y gsd-agent-inbox

Or add to ~/.claude/settings.json:

json
{
  "mcpServers": {
    "agent-inbox": {
      "command": "npx",
      "args": ["-y", "gsd-agent-inbox"]
    }
  }
}

Codex CLI

Add to ~/.codex/config.toml:

toml
[mcp_servers.agent-inbox]
command = "npx"
args = ["-y", "gsd-agent-inbox"]
env = { }

Cursor

Add to ~/.cursor/mcp.json:

json
{
  "mcpServers": {
    "agent-inbox": {
      "command": "npx",
      "args": ["-y", "gsd-agent-inbox"]
    }
  }
}

Gemini CLI

Add to ~/.gemini/settings.json:

json
{
  "mcpServers": {
    "agent-inbox": {
      "command": "npx",
      "args": ["-y", "gsd-agent-inbox"]
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

json
{
  "mcpServers": {
    "agent-inbox": {
      "command": "npx",
      "args": ["-y", "gsd-agent-inbox"]
    }
  }
}

Any other MCP client

Any client that supports stdio transport:

json
{
  "command": "npx",
  "args": ["-y", "gsd-agent-inbox"]
}

Build from source

bash
git clone https://github.com/gsd-build/agent-inbox.git
cd agent-inbox
npm install
npm run build
npm start

Tools

ToolWhat it does
create_inboxSpin up a temporary email address. Optional prefix for readability, optional name for easy reference.
check_inboxCheck for messages. Returns subjects, bodies, and auto-extracted verification links.
wait_for_emailPoll until a matching email arrives. Filters by sender and subject. Auto-retries with backoff.
verify_emailOne-shot verification: polls for confirmation email, extracts the link, visits it via HTTP. Three steps in one tool call.
list_inboxesShow all active inboxes with names and providers.
delete_inboxDestroy an inbox and its backing account.

Named inboxes

Give inboxes a name for easy reference across multiple tool calls:

create_inbox({ prefix: "signup", name: "main" })
wait_for_email({ address: "main", subject_contains: "confirm" })
delete_inbox({ address: "main" })

Skill

The installer can optionally add a skill file that teaches your AI agent when and how to use agent-inbox — so it reaches for the inbox tools automatically when it encounters auth flows, email verification, or sign-up testing.

To install the skill manually:

bash
mkdir -p ~/.claude/skills/agent-inbox
curl -fsSL https://raw.githubusercontent.com/gsd-build/agent-inbox/main/skill/SKILL.md \
  -o ~/.claude/skills/agent-inbox/SKILL.md

How it works

Uses mail.tm as the primary provider with automatic fallback to 1secmail if mail.tm is down. No API keys or accounts required.

  • Fallback providers — if mail.tm fails, 1secmail kicks in automatically
  • Cleanup on exit — inboxes are deleted when the MCP server shuts down (SIGINT/SIGTERM)
  • Smart polling — wait_for_email retries with backoff (3s → 5s → 10s → 15s)
  • Link extraction — confirmation/verification URLs auto-detected via keyword matching

Limitations

  • Some services block disposable email domains. If sign-up is rejected, try a different service or provider.
  • Inboxes don't survive server restarts (in-memory only).
  • Text and HTML bodies only — no attachment support.

License

MIT

Installation

TypingMind
{
  "mcpServers": {
    "agent-inbox": {
      "command": "npx",
      "args": [
        "-y",
        "gsd-agent-inbox"
      ]
    }
  }
}

Available Tools

  • create_inbox

    Create a temporary email inbox. Returns a real email address that can receive emails from any service (Supabase, Resend, etc). Use this before signing up for a service that requires email verification.

  • check_inbox

    Check a temporary inbox for new messages. Returns message subjects, senders, and any confirmation/verification links found. If no messages yet, wait a few seconds and try again — email delivery can take 5-30 seconds.

  • list_inboxes

    List all active temporary inboxes created in this session.

  • delete_inbox

    Delete a temporary inbox and its account. Use after you're done with email verification.

Use Agent Inbox MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Agent Inbox is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Agent Inbox as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Agent Inbox MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "agent-inbox": {
      "command": "npx",
      "args": [
        "-y",
        "gsd-agent-inbox"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Agent Inbox MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Agent Inbox MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Agent Inbox to help me with this task?
Agent Inbox
Sure. I read it.
Here is what I found using Agent Inbox.

Frequently asked questions

What is the Agent Inbox MCP server used for?

Agent Inbox is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Agent Inbox MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Agent Inbox with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Agent Inbox MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Agent Inbox connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Agent Inbox MCP to TypingMind?

Agent Inbox runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Agent Inbox MCP provide in TypingMind?

Agent Inbox exposes 4 MCP tools that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Agent Inbox MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Agent Inbox requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇