Clawaimail MCP logo

Clawaimail MCP

Manage agent inboxes and email through MCP, including sending, receiving, searching, and account lookup.

Install Clawaimail MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "clawaimail-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "clawaimail-mcp"
      ],
      "env": {
        "CLAWAIMAIL_API_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env CLAWAIMAIL_API_KEY=YOUR_VALUE_HERE --transport stdio clawaimail-mcp -- npx -y clawaimail-mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

The install command started, but didn't respond the way we expected when we tried to talk to it.

npx -y clawaimail-mcp

initialize succeeded but no response to tools/list.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The clawaimail/mcp MCP server connects compatible AI clients to ClawAIMail email infrastructure. It exposes tools for creating and listing inboxes, sending and reading messages, searching mail, deleting inboxes, and checking account details. The server runs through npx and uses a ClawAIMail API key to access the service. Reach for it when an agent needs a dedicated email address or programmatic email handling.

Use cases

  • Create dedicated inboxes for agents
  • Send automated email replies
  • Read and search incoming messages
  • Check account limits and usage
  • Manage multiple agent mailboxes

Key features

  • Create and list email inboxes
  • Send, list, read, and search messages
  • Delete inboxes and their messages
  • Retrieve an agent email address
  • Inspect account limits and usage

Tools9

What Clawaimail MCP lets your agent do. Expand a tool for its parameters.

Verified live~735 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

14/14 checks healthy over the last 95d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 15d ago via OSV.dev · clawaimail-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars2Stargazers on the source repository.
npm downloads202Package downloads in the last 30 days.
Last commit8mo agoMost recent push to the default branch.
Install checkInconclusiveStarted but did not complete the MCP handshake in our test.
Tools exposed9Callable tools this server registers over MCP.
Directory activity5 viewsConfig copies, upvotes, and views on AllMCPs.

How Clawaimail MCP works

What clawaimail/mcp MCP server does

The clawaimail/mcp MCP server gives an AI agent access to ClawAIMail mailboxes and messages through the Model Context Protocol. It is suited to workflows where an agent needs to receive email, send replies, look up prior messages, or maintain separate inboxes for different tasks.

The available operations cover inbox lifecycle, message access, search, and account inspection. An agent can create and list inboxes, send messages, list or read mail, search by keyword, remove an inbox and its messages, inspect plan limits and usage, and retrieve its email address.

How it works

The server acts as an MCP layer over the ClawAIMail service. MCP-compatible clients start the package as a local process, and the server uses the configured API key to make email operations available as callable tools.

Many message tools accept an optional inbox identifier. When that value is left out, the server uses the default inbox and can create one automatically when needed. The same automatic behavior applies when requesting the agent’s address with my_email if no address exists yet.

This package exposes mailbox and message actions; it does not require the agent to write direct REST requests. ClawAIMail also documents REST, WebSocket, webhook, custom-domain, and SDK features, but those interfaces are outside the MCP tool list described here.

Setup and configuration

Install and run the server with npx:

Terminal
npx -y clawaimail-mcp

Set CLAWAIMAIL_API_KEY in the MCP client configuration. Claude Desktop and Cursor examples use a server entry with command set to npx, arguments -y and clawaimail-mcp, and the API key supplied through the environment. The clawaimail/mcp MCP server therefore needs access to the key wherever the client launches the process.

The repository also documents self-hosting the broader ClawAIMail application with Node.js, database migrations, SMTP credentials, a database URL, and API keys. Those instructions concern the underlying service rather than the minimum configuration for running this MCP package.

Tools and capabilities

  • list_inboxes: returns the available email inboxes.
  • create_inbox: creates an inbox, with an optional default inbox created automatically when required.
  • send_email: sends mail through a selected inbox or the default inbox.
  • list_messages: lists messages from a selected or default inbox.
  • read_email: retrieves one message by its identifier.
  • search_emails: searches messages by keyword.
  • delete_inbox: removes an inbox and all messages it contains.
  • account_info: reports account details, plan limits, and usage.
  • my_email: returns the agent’s email address and creates one if necessary.

Limitations and notes

Those capabilities are described for ClawAIMail generally, but should not be assumed to be callable through this server.

Using the default inbox can reduce the amount of mailbox state an agent must track, while explicit inbox identifiers are available for workflows that manage multiple mailboxes. Deleting an inbox also deletes its messages, so that operation should be treated as destructive.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Clawaimail MCP

clawaimail/mcp is an MCP server that connects AI agents to ClawAIMail's email infrastructure through tools for inbox creation and listing, sending, listing, reading, searching, and deleting messages or inboxes, plus account and address lookup. It lets compatible clients manage agent email programmatically using a ClawAIMail API key.

Install it by running `npx -y clawaimail-mcp` from the MCP client configuration. Set `CLAWAIMAIL_API_KEY` in the server environment, then configure the client to launch the package with npx.

Yes, clawaimail/mcp works with Cursor. Add a server entry to `.cursor/mcp.json` that launches `npx -y clawaimail-mcp` and provides `CLAWAIMAIL_API_KEY` in the environment.

It uses the default inbox when an inbox ID is omitted. A default inbox can be created automatically when needed, and the `my_email` tool can also create an agent address if none exists.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewClawaimail MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/clawaimail-mcp?style=directory)](https://allmcps.com/mcp/clawaimail-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/clawaimail-mcp"><img src="https://allmcps.com/api/badge/clawaimail-mcp?style=directory" alt="Clawaimail MCP on AllMCPs" /></a>