Skip to content
MCP server
Registry

allinbox MCP Server

Search all your email accounts in one query. Read-only IMAP, cannot send; optional drafts.

allinbox scores 66 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 5 tools. Filed under Communication. GitHub shows 0 stars. Package registries report about 72 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by tomasbenavidezMITTypeScript0 stars
Trust score
66Good
Trust score 66 of 100, Good

Good trust

66 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 66 comes from

22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "tomasbenavidez-allinbox": {      "command": "npx",      "args": [        "-y",        "allinbox@0.3.0"      ]    }  }}

Environment variables

This server does not declare environment variables.

Tools5Tool docs quality grade C

All capabilities
  • Only if you enabled drafts. Saves to your Drafts folder and never sends. replytoid threads it

  • The accounts allinbox can search

  • One message by id, cleaned. maxchars (4000)

  • The whole conversation, oldest first, in one call. maxchars (8000)

  • One query across every account. query, sincedays (30), limit (25), optional accounts

About

allinbox

All your inboxes, one query, any agent.

Let Claude, Codex, Gemini or Cursor search every email account you have, in a single call. Free, open source, and it runs on your machine.

CI License: MIT Node MCP Read-only by default


Why

You have a work inbox, a university one, a personal one and that old address you never closed. Your AI agent's built-in email connector reaches one of them.

allinbox gives the agent all of them at once:

You:    What do I have pending this week across all my email?

Agent:  • Thesis review moved to Friday              (uni)
        • Invoice #2041 is due Thursday               (work)
        • Ana: "Q4 budget, can you check slide 3?"    (work · also in personal)
        • Flight check-in opens tomorrow              (personal)

Quick start

npx allinbox

Using another package manager? pnpm dlx allinbox or bunx allinbox work the same.

A guided setup (English / Español) does the rest:

  1. Add your accounts. It recognizes your provider, including Google Workspace and Microsoft 365 domains such as a university or company address. It opens the right page in your browser to create an app password, already signed in to the right account, and checks the login before saving anything.
  2. Drafts (optional). Let your agent leave reply drafts, only to recipients you allow.
  3. Connect your agents. It finds Claude Code, Claude Desktop, Cursor, Gemini CLI and Codex on your machine and registers allinbox in each one, backing up their config first.

Restart your agent and ask it anything about your mail.

What's an app password? A separate password just for allinbox. You can revoke it anytime without touching your real password. Gmail needs 2-Step Verification turned on first; the setup walks you through it.

What you can ask

  • "What do I have pending this week across all my email?"
  • "Did anyone reply about the internship, in any account?"
  • "Summarize the whole thread with Ana about the Q4 budget."
  • "Draft a reply to the landlord saying Tuesday works." (drafts enabled)

How it works

flowchart LR
    A[Your agent<br/>Claude · Codex · Gemini · Cursor] -- MCP --> B[allinbox<br/>on your machine]
    B -- IMAP, read-only --> C[Gmail]
    B -- IMAP, read-only --> D[Google Workspace]
    B -- IMAP, read-only --> E[iCloud · Yahoo · Fastmail · your domain]

One search_all call fans out to every account in parallel. A slow account times out on its own without blocking the rest. Results are merged, duplicates are collapsed (same Message-ID across accounts), and everything is cleaned before your agent sees it: no quoted replies, signatures, HTML or kilometer-long tracking links. Your agent reads more mail with fewer tokens.

Works with

AgentsEmail providers
Claude Code, Claude DesktopGmail, Google Workspace
CodexiCloud, Yahoo, AOL
Gemini CLIFastmail, Zoho, GMX
Cursor, VS Code, any MCP clientAny IMAP server (your own domain)

Tools

ToolWhat it does
list_accountsThe accounts allinbox can search
search_allOne query across every account. query, since_days (30), limit (25), optional accounts
read_emailOne message by id, cleaned. max_chars (4000)
read_threadThe whole conversation, oldest first, in one call. max_chars (8000)
create_draftOnly if you enabled drafts. Saves to your Drafts folder and never sends. reply_to_id threads it

On Gmail, query accepts Gmail search syntax (from:ana has:attachment).

Security

Giving an AI access to your email deserves a straight answer:

  • It cannot send. There is no SMTP code in allinbox at all. Mailboxes are opened read-only (IMAP EXAMINE), so nothing is deleted, moved or even marked as read.
  • Drafts are opt-in and limited to recipients you approve. They land in your Drafts folder for you to review.
  • Prompt-injection aware. Every email reaches the agent wrapped in a tag with a random per-session id that a malicious email can't forge, together with an instruction never to follow orders found inside an email.
  • Local only. No server, no account, no telemetry. Passwords live in your OS keychain (Windows Credential Manager, macOS Keychain, libsecret). ~/.allinbox/config.json holds only hosts and usernames.
  • Pinned. Agents are registered with an exact version, so a future release never runs without you re-running setup.

Install as a plugin or extension

Run npx allinbox once first to add your accounts. Then, instead of letting the setup edit your agent's config:

Claude Code plugin (includes a skill that teaches Claude how to use allinbox)

claude plugin marketplace add tomasbenavidez/allinbox
claude plugin install allinbox@allinbox

Gemini CLI extension

gemini extensions install https://github.com/tomasbenavidez/allinbox

Claude Desktop: download allinbox.mcpb from the latest release and open it (or drag it into Settings → Extensions).

Connect an agent manually

The setup does this for you. If you prefer to do it by hand:

Claude Code

claude mcp add --scope user allinbox -- npx -y allinbox serve

Claude Desktop · Cursor · Gemini CLI · VS Code: add this to the client's MCP config (claude_desktop_config.json, ~/.cursor/mcp.json, ~/.gemini/settings.json). Close Claude Desktop first: it rewrites its config while it runs.

{ "mcpServers": { "allinbox": { "command": "npx", "args": ["-y", "allinbox", "serve"] } } }

Codex (~/.codex/config.toml)

[mcp_servers.allinbox]
command = "npx"
args = ["-y", "allinbox", "serve"]

On Windows, use "command": "cmd" with "args": ["/c", "npx", "-y", "allinbox", "serve"].

CLI

allinbox              guided setup (in a terminal) / MCP server (when an agent runs it)
allinbox add          add one account
allinbox connect      connect allinbox to your installed agents
allinbox list         show accounts and draft settings
allinbox test [id]    check that accounts can log in
allinbox remove <id>  remove an account and its stored password

FAQ

Does my email go through any server? No. allinbox talks IMAP directly from your computer to your provider. What your agent does with the text it reads is up to the agent you use.

Outlook, Hotmail or Microsoft 365? Not yet. Microsoft blocks password logins for these accounts, so they need OAuth, which is next on the roadmap.

Gmail says "The setting you are looking for is not available for your account". Turn on 2-Step Verification first. On school or company Google accounts, your administrator may have disabled app passwords entirely.

Why not Gmail OAuth instead of app passwords? Google requires a paid yearly security assessment before an app can read Gmail through a shared OAuth client. App passwords keep allinbox free, local and set up in two minutes.

Roadmap

Token benchmark · local full-text index for years of mail · Outlook OAuth · one-click install bundles for every agent. See ROADMAP.md.

Contributing

Issues and PRs are welcome.

pnpm install
pnpm test     # unit tests + IMAP integration tests against GreenMail in Docker
pnpm build

Please read the invariants in CLAUDE.md before touching anything near sending, flags or the untrusted-content wrapper.

License

MIT © Tomás Benavidez

Frequently asked questions

What is allinbox MCP Server?

Search all your email accounts in one query. Read-only IMAP, cannot send; optional drafts.

How do I install allinbox MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. allinbox MCP Server runs locally from the npm package allinbox with the command npx -y allinbox@0.3.0.

Is allinbox MCP Server free and open source?

Yes. allinbox MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does allinbox MCP Server support remote (HTTP) connections?

No remote endpoint is listed for allinbox MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does allinbox MCP Server provide?

allinbox MCP Server provides 5 tools, including create_draft, list_accounts, read_email, and read_thread. See the full tool list for descriptions and parameters.

How is allinbox MCP Server's trust score calculated?

allinbox MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server