commune-mcp
OfficialClick on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@commune-mcp Check my support inbox for new emails"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Email for Claude Desktop, Cursor & Windsurf
Give Claude (or any MCP client) a real email inbox and SMS. Install in 30 seconds — no cloning required.
Your AI agent can:
Read email — list threads, search by topic, get full message history
Send email — reply in existing threads, compose fresh messages, attach files
Manage inboxes — create programmatic inboxes, set up custom domains, triage with tags and status
Track delivery — get delivery stats, suppression lists, bounce and complaint events
Send and receive SMS — provision phone numbers, send messages, search SMS history
Works with Claude Desktop, Cursor, Windsurf, or any MCP client.
Install via Smithery
Commune is published on Smithery. One-line install for any supported client:
# Install Smithery CLI (once)
npm install -g @smithery/cli@latest
# Add Commune to your client
npx @smithery/cli install commune-dev/commune --client claude # Claude Desktop
npx @smithery/cli install commune-dev/commune --client cursor # Cursor
npx @smithery/cli install commune-dev/commune --client windsurf # Windsurf
npx @smithery/cli install commune-dev/commune --client vscode # VS Code
npx @smithery/cli install commune-dev/commune --client claude-code # Claude Code
npx @smithery/cli install commune-dev/commune --client cline # Cline
npx @smithery/cli install commune-dev/commune --client roo-cline # Roo Code
npx @smithery/cli install commune-dev/commune --client goose # GooseOr connect via the Smithery API for agent-to-agent use:
https://commune--commune-dev.run.toolsRelated MCP server: Envoi MCP
Example prompts
Once configured, you can give your AI assistant natural language instructions for email and SMS:
Reading email:
"Check my support inbox for new emails"
"Show me all unread threads in the billing inbox"
"Find emails from customers asking about refunds this week"
"Search for all threads about the payment issue from last month"
"What's the full conversation history for thread conv_abc123?"
"Show me all threads that haven't been replied to"
Sending email:
"Reply to John's email saying we'll process his refund within 48 hours"
"Send an email to alice@example.com with subject 'Meeting tomorrow' and tell her the meeting is moved to 3pm"
"Reply to the last message in the support thread about the broken login, staying in thread"
"Send a follow-up to all leads from last week who didn't respond"
Organizing and triaging:
"Tag this thread as urgent and assign it to the billing team"
"Mark all threads older than 30 days with no reply as closed"
"Show me the deliverability stats for the past 7 days"
"List all suppressed email addresses in the support inbox"
SMS:
"Provision a phone number for my agent"
"Send an SMS to +14155551234 saying 'Your order has shipped'"
"Show me all my SMS conversations"
"Search my SMS messages for anything about delivery issues"
Domain and inbox management:
"Create a new inbox called 'billing' under example.com"
"What DNS records do I need to add to verify example.com?"
"Show me all my verified domains"
Setup
1. Get your API key
Create an API key from your Commune dashboard. It starts with comm_.
2. Add to your MCP client
Pick your client and add the Commune server. No local files needed — uvx fetches the package automatically.
Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):
{
"mcpServers": {
"commune": {
"command": "uvx",
"args": ["commune-mcp"],
"env": {
"COMMUNE_API_KEY": "comm_your_key_here"
}
}
}
}Cursor
Open Settings → MCP → Add Server:
{
"commune": {
"command": "uvx",
"args": ["commune-mcp"],
"env": {
"COMMUNE_API_KEY": "comm_your_key_here"
}
}
}Windsurf
Open Settings → MCP, same format as Cursor.
Alternative: pip install
If you prefer pip over uvx:
pip install commune-mcpThen use commune-mcp as the command:
{
"commune": {
"command": "commune-mcp",
"env": {
"COMMUNE_API_KEY": "comm_your_key_here"
}
}
}How It Works
Once configured, your AI agent can use Commune tools in natural conversation:
You: Check my support inbox for new emails
Agent: (calls
list_domains→list_inboxes→list_threads) You have 3 new threads in support@example.com:
"Order not received" — 4 messages, last activity 2h ago
"Billing question" — 1 message, received today
"Feature request" — 2 messages, last activity yesterday
You: What's the order issue about?
Agent: (calls
get_thread_messages) Customer john@gmail.com says their order #4521 shipped 5 days ago but hasn't arrived. They've followed up twice asking for tracking info.
You: Reply that we're checking with shipping and will update within 24h
Agent: (calls
send_emailwiththread_id) Done — reply sent to john@gmail.com in the existing thread.
The agent decides which tools to call based on your request. You don't need to specify tool names.
How email flows through Commune MCP
Inbound (you receive email):
User sends email
|
v
Commune receives at your inbox (support@yourdomain.com)
|
v
Commune fires webhook to your app (8 retries, HMAC signed)
|
v
Your MCP client reads thread via list_threads / get_thread_messages
|
v
You ask Claude: "Reply to John saying we're on it"
|
v
Claude calls send_email with thread_id --> reply appears in John's email threadOutbound (you send email):
You: "Send an update email to all VIP customers"
|
v
Claude calls list_threads --> get_thread_messages --> send_email (per thread)
|
v
Commune delivers via DKIM-signed SMTP
|
v
Delivery events tracked: sent --> delivered / bounced / complainedTools Reference
Domain Tools
These manage your email domains. Domains must be verified via DNS before you can send/receive.
list_domains
List all email domains in your account.
Parameters: None
Output:
[
{
"id": "d_abc123",
"name": "example.com",
"status": "verified",
"region": "us-east-1"
}
]create_domain
Create a new custom domain. After creating, use get_domain_records to see required DNS entries, then verify_domain to check.
Parameter | Type | Required | Description |
|
| Yes | Domain name (e.g. |
|
| No | AWS region (e.g. |
Output: The created domain object with its ID and status.
get_domain_records
Get DNS records you need to add at your registrar before verification passes.
Parameter | Type | Required | Description |
|
| Yes | Domain ID from |
Output:
[
{ "type": "MX", "name": "example.com", "value": "inbound-smtp.us-east-1.amazonaws.com", "status": "pending" },
{ "type": "TXT", "name": "example.com", "value": "v=spf1 include:amazonses.com ~all", "status": "pending" }
]verify_domain
Trigger DNS verification. Call after adding records at your registrar.
Parameter | Type | Required | Description |
|
| Yes | Domain ID |
Inbox Tools
Inboxes are mailboxes under a domain. support under example.com → support@example.com.
list_inboxes
List inboxes. Without domain_id, lists all inboxes across all domains.
Parameter | Type | Required | Description |
|
| No | Filter by domain (lists all if omitted) |
Output:
[
{
"id": "i_xyz789",
"localPart": "support",
"address": "support@example.com",
"webhook": { "endpoint": "https://..." }
}
]create_inbox
Create a new inbox. Domain is auto-resolved if not provided — no DNS setup needed.
Parameter | Type | Required | Description |
|
| Yes | Part before |
|
| No | Domain to create under. Auto-resolved if omitted. |
|
| No | Agent name for the inbox |
|
| No | Sender display name shown in email clients |
|
| No | URL for email notifications |
delete_inbox
Delete an inbox permanently.
Parameter | Type | Required | Description |
|
| Yes | Domain ID |
|
| Yes | Inbox ID |
set_extraction_schema
Configure structured extraction for an inbox using a JSON Schema.
Parameter | Type | Required | Description |
|
| Yes | Domain ID |
|
| Yes | Inbox ID |
|
| Yes | Schema name |
|
| Yes | JSON string of schema object |
|
| No | Human-readable description |
|
| No | Enable extraction (default true) |
remove_extraction_schema
Remove structured extraction from an inbox.
Parameter | Type | Required | Description |
|
| Yes | Domain ID |
|
| Yes | Inbox ID |
Thread Tools
Threads are email conversations — groups of related messages. These are the most commonly used tools.
list_threads
List threads for an inbox with cursor-based pagination. Returns newest first by default.
Parameter | Type | Required | Description |
|
| One of these | Filter by inbox |
|
| required | Filter by domain |
|
| No | 1–100, default 20 |
|
| No | Pagination cursor from previous response |
|
| No |
|
Output:
{
"data": [
{
"thread_id": "conv_abc123",
"subject": "Order not received",
"message_count": 4,
"last_message_at": "2025-03-15T14:30:00Z",
"snippet": "Hi, I ordered 5 days ago and still haven't...",
"last_direction": "inbound",
"has_attachments": false
}
],
"next_cursor": "eyJsYXN0...",
"has_more": true
}To get the next page, pass next_cursor as the cursor parameter.
get_thread_messages
Get all messages in a thread. Returns oldest first (chronological).
Parameter | Type | Required | Description |
|
| Yes | Thread ID from |
|
| No | 1–1000, default 50 |
|
| No |
|
Output:
[
{
"message_id": "msg_001",
"direction": "inbound",
"participants": [
{ "role": "sender", "identity": "john@gmail.com" },
{ "role": "to", "identity": "support@example.com" }
],
"content": "Hi, I placed order #4521 five days ago...",
"metadata": {
"subject": "Order not received",
"created_at": "2025-03-10T09:15:00Z"
}
},
{
"message_id": "msg_002",
"direction": "outbound",
"content": "We're looking into this for you...",
"metadata": {
"subject": "Re: Order not received",
"created_at": "2025-03-10T10:30:00Z"
}
}
]Search Tools
search_threads
Search across email threads by subject or content. Uses vector search (semantic) when available, falls back to text matching.
Parameter | Type | Required | Description |
|
| Yes | Search query (natural language) |
|
| One of these | Filter by inbox |
|
| required | Filter by domain |
|
| No | 1–100, default 20 |
Triage Tools
Manage thread status, tags, and assignment — agent-native workflow primitives.
get_thread_metadata
Get triage metadata for a thread: tags, status, and assignment.
Parameter | Type | Required | Description |
|
| Yes | Thread ID |
set_thread_status
Set the triage status of a thread.
Parameter | Type | Required | Description |
|
| Yes | Thread ID |
|
| Yes |
|
tag_thread
Add tags/labels to a thread. Tags are additive — existing tags are preserved.
Parameter | Type | Required | Description |
|
| Yes | Thread ID |
|
| Yes | Comma-separated tags (e.g. |
untag_thread
Remove tags from a thread.
Parameter | Type | Required | Description |
|
| Yes | Thread ID |
|
| Yes | Comma-separated tags to remove |
assign_thread
Assign a thread to an agent or user. Pass empty to unassign.
Parameter | Type | Required | Description |
|
| Yes | Thread ID |
|
| No | Agent/user identifier (empty to unassign) |
Deliverability Tools
get_deliverability_stats
Get delivery metrics: sent, delivered, bounced, complained, failed counts and rates.
Parameter | Type | Required | Description |
|
| One of these | Filter by inbox |
|
| required | Filter by domain |
|
| No |
|
get_suppressions
List suppressed email addresses (bounces, complaints, unsubscribes).
Parameter | Type | Required | Description |
|
| No | Filter by inbox |
|
| No | Filter by domain |
|
| No | Max results (default: 50) |
get_delivery_events
Get delivery event log for tracking individual emails.
Parameter | Type | Required | Description |
|
| No | Filter for a specific message |
|
| No | Filter by inbox |
|
| No | Filter by domain |
|
| No |
|
|
| No | Max results (default: 50) |
Message Tools
send_email
Send an email. Can send fresh emails or reply within an existing thread.
Parameter | Type | Required | Description |
|
| Yes | Recipient(s), comma-separated for multiple |
|
| Yes | Subject line |
|
| No* | HTML body |
|
| No* | Plain text body |
|
| No | Sender address |
|
| No | Reply-to address |
|
| No | Reply in existing thread |
|
| No | Send from specific inbox |
|
| No | Send from specific domain |
|
| No | Comma-separated attachment IDs |
*Provide at least html or text.
To reply in a thread, pass the thread_id from list_threads or get_thread_messages. The email will be threaded in the recipient's mailbox.
Attachment Tools
upload_attachment
Upload a file. Returns an attachment_id to use with send_email.
Parameter | Type | Required | Description |
|
| Yes | Base64-encoded file content |
|
| Yes | Filename (e.g. |
|
| Yes | MIME type (e.g. |
Output:
{
"attachment_id": "att_abc123",
"filename": "report.pdf",
"mime_type": "application/pdf",
"size": 45230
}get_attachment_url
Get a temporary download URL for an attachment.
Parameter | Type | Required | Description |
|
| Yes | Attachment ID |
|
| No | Seconds until URL expires (default: 3600) |
Output:
{
"url": "https://res.cloudinary.com/...",
"expires_in": 3600,
"filename": "report.pdf",
"mime_type": "application/pdf",
"size": 45230
}Phone Number Tools
Manage provisioned phone numbers for SMS.
list_phone_numbers
List all provisioned phone numbers in your account.
Parameters: None
get_phone_number
Get details for a single provisioned phone number.
Parameter | Type | Required | Description |
|
| Yes | Phone number ID from |
list_available_phone_numbers
Browse available phone numbers before purchasing.
Parameter | Type | Required | Description |
|
| No |
|
|
| No | Two-letter country code (default: |
|
| No | Max results (default: 10) |
provision_phone_number
Purchase a phone number for SMS. Deducts credits from your balance.
Parameter | Type | Required | Description |
|
| No | Specific E.164 number to buy (auto-selected if omitted) |
|
| No |
|
|
| No | Human-readable label |
update_phone_number
Update a phone number's friendly name or auto-reply message.
Parameter | Type | Required | Description |
|
| Yes | Phone number ID |
|
| No | Human-readable label |
|
| No | Auto-reply text for all inbound SMS (empty string to disable) |
release_phone_number
Release a provisioned phone number back to the pool. No credit refund. Message history is retained.
Parameter | Type | Required | Description |
|
| Yes | Phone number ID to release |
set_phone_number_webhook
Configure a webhook for a phone number to receive SMS event notifications.
Parameter | Type | Required | Description |
|
| Yes | Phone number ID |
|
| Yes | HTTPS URL to receive webhook payloads |
|
| No | Webhook signing secret for payload verification |
|
| No | Event types (default: |
set_phone_number_allow_list
Set the allow list for a phone number — only these numbers can send SMS to it. Replaces existing list.
Parameter | Type | Required | Description |
|
| Yes | Phone number ID |
|
| Yes | E.164 phone numbers to allow (empty list to clear) |
set_phone_number_block_list
Set the block list for a phone number — these numbers are rejected. Replaces existing list.
Parameter | Type | Required | Description |
|
| Yes | Phone number ID |
|
| Yes | E.164 phone numbers to block (empty list to clear) |
SMS Tools
send_sms
Send an SMS message.
Parameter | Type | Required | Description |
|
| Yes | Recipient in E.164 format (e.g. |
|
| Yes | SMS message text |
|
| No | Send from a specific phone number (auto-assigned if omitted) |
list_sms_conversations
List SMS conversation threads.
Parameter | Type | Required | Description |
|
| No | Filter by phone number (lists all if omitted) |
|
| No | 1–100, default 20 |
get_sms_thread
Get all messages in an SMS thread with a specific number.
Parameter | Type | Required | Description |
|
| Yes | External phone number in E.164 format |
|
| Yes | Your Commune phone number ID |
search_sms
Semantic search across SMS messages.
Parameter | Type | Required | Description |
|
| Yes | Search query |
|
| No | Scope to a specific phone number |
|
| No | 1–100, default 20 |
list_sms_suppressions
List phone numbers suppressed from receiving SMS (opted out via STOP keyword).
Parameter | Type | Required | Description |
|
| No | Filter by phone number (lists all if omitted) |
remove_sms_suppression
Remove a phone number from the SMS suppression list (re-enable SMS delivery).
Parameter | Type | Required | Description |
|
| Yes | E.164 phone number to remove from suppressions |
Credits Tools
get_credit_balance
Get current credit balance for your Commune account.
Parameters: None
list_credit_bundles
List available credit bundles that can be purchased.
Parameters: None
credits_checkout
Create a Stripe checkout session to purchase a credit bundle.
Parameter | Type | Required | Description |
|
| Yes | Bundle ID: |
|
| No | URL to redirect to after payment |
FAQ
How do I add Commune to Claude Desktop?
Edit ~/Library/Application Support/Claude/claude_desktop_config.json and add the commune MCP server block (see Setup above). Restart Claude Desktop. The Commune tools will appear in Claude's tool list automatically.
What's the difference between commune-mcp and the Python/TypeScript SDKs? commune-mcp is for interactive use in MCP clients like Claude Desktop or Cursor — you give natural language instructions and the AI calls the tools. The Python/TypeScript SDKs are for building autonomous agents programmatically in code. Both connect to the same Commune backend.
Does it work with Cursor's agent mode? Yes. Add commune-mcp to Cursor via Settings → MCP → Add Server using the JSON block shown in the Setup section. Once configured, Cursor's agent mode can use all Commune tools — reading threads, sending email, and managing inboxes — during any chat or Composer session.
How do I create a new inbox through the MCP server?
Just ask: "Create a new inbox called support under example.com." The agent will call create_inbox with local_part: "support" and your domain ID. If you don't specify a domain, Commune auto-assigns one — so you can create an inbox with just a local part and no DNS configuration.
Can Claude actually send real emails through this?
Yes. When the agent calls send_email, Commune delivers a real email via DKIM-signed SMTP to the recipient's inbox. The email appears exactly like a normal email — it threads correctly in Gmail and Outlook, supports HTML and attachments, and generates delivery events you can track.
What happens to emails that arrive while I'm not in a chat session?
Commune stores all inbound emails and threads persistently. When you open a new chat and ask to check your inbox, the agent calls list_threads and retrieves everything that arrived since your last session. Optionally, you can configure a webhook on each inbox so your app gets notified in real-time (8 retries, HMAC-signed).
How do I reply in a thread instead of starting a new email?
Pass the thread_id to send_email. The easiest way is to say "Reply to this thread saying..." after asking the agent to show you a thread — it will keep the thread_id in context and pass it automatically. The reply appears threaded in the recipient's email client.
Is my email content private? Your email content is transmitted over TLS and stored encrypted at rest on Commune's infrastructure. API keys authenticate every request, and webhooks are HMAC-signed so your app can verify the payload hasn't been tampered with. Your content is never used for training AI models.
Can I use this with my own email domain?
Yes. Use create_domain to register your domain, then get_domain_records to see the required MX, TXT, and CNAME records, add them at your registrar, and call verify_domain. Once verified, all inboxes under that domain use your domain as the sender address (e.g. support@yourdomain.com).
What does the API key look like?
Commune API keys start with the prefix comm_ followed by a random string — for example, comm_sk_live_abc123xyz. Create one from your Commune dashboard. Keep it secret: treat it like a password and never commit it to source control.
How do I search my inbox for a specific topic?
Use the search_threads tool by asking naturally: "Search my support inbox for emails about refunds." The agent calls search_threads with your query. Commune uses semantic search, so it finds relevant threads even if the exact words don't match — for example, "money back" will surface threads about refunds.
Can multiple people use the same Commune MCP server?
Yes. Commune uses organizations — multiple team members can share the same account and API key, or each member can have their own API key scoped to the same organization. All keys access the same domains and inboxes. For isolation between projects, create separate inboxes (e.g. billing@, support@) and filter by inbox_id in tool calls.
Environment Variables
Variable | Required | Description |
| Yes | Your API key (starts with |
| No | Override API URL (default: Commune cloud) |
Ecosystem
Package | Description |
Email & SMS infrastructure — self-hostable backend | |
TypeScript/Node.js SDK | |
Python SDK | |
MCP server for Claude Desktop, Cursor, Windsurf | |
Command-line interface |
License
Apache-2.0
Available Tools
27 toolsassign_threadA
Assign a thread to an agent or user. Pass null/empty to unassign.
Args: thread_id: The thread ID assigned_to: Agent/user identifier to assign to (empty or omit to unassign)
Inputs: thread_id (required), assigned_to. Returns: result
create_domainA
Create a new custom email domain.
After creating a domain, you need to:
Call get_domain_records to see the required DNS records
Add those records at your domain registrar
Call verify_domain to check verification status
Args: name: Domain name, e.g. "example.com" region: AWS region (optional), e.g. "us-east-1" or "eu-west-1"
Inputs: name (required), region. Returns: result
create_inboxA
Create a new inbox for receiving emails.
The inbox email address will be {local_part}@{domain}. If no domain_id is provided, Commune auto-assigns your inbox to an available domain — no DNS setup required.
Args: local_part: Part before @ (e.g. "support", "billing", "hello") domain_id: Domain to create under (optional, auto-resolved if omitted) name: Agent name for the inbox (optional, also used as display_name fallback) display_name: Sender display name shown in email clients (e.g. "Support Agent", "Acme Sales"). If set, outbound emails show as '"Display Name" ' in Gmail/Outlook. webhook_endpoint: URL to receive notifications on new emails (optional)
Inputs: local_part (required), domain_id, name, display_name, +1 more. Returns: result
credits_checkoutA
Create a Stripe checkout session to purchase a credit bundle.
Returns a checkout_url to open in the browser to complete payment. Valid bundles: "starter", "growth", "scale".
Args: bundle: The bundle ID to purchase — "starter", "growth", or "scale" return_url: URL to redirect to after payment (optional)
Inputs: bundle (required), return_url. Returns: result
delete_inboxC
Delete an inbox.
Args: domain_id: The domain ID inbox_id: The inbox ID to delete
Inputs: domain_id (required), inbox_id (required). Returns: result
get_attachment_urlA
Get a temporary download URL for an attachment.
Args: attachment_id: The attachment ID expires_in: URL lifetime in seconds (default: 3600 = 1 hour)
Inputs: attachment_id (required), expires_in. Returns: result
get_credit_balanceA
Get current credit balance for your Commune account.
Returns included credits, purchased credits, total available, and credits used this billing cycle.
Inputs: no named parameters. Returns: result
get_deliverability_statsA
Get email deliverability metrics: sent, delivered, bounced, complained, failed.
Provides bounce rate, complaint rate, and delivery rate percentages. Use this to monitor sender reputation and identify deliverability issues.
Args: inbox_id: Filter metrics by inbox (recommended) domain_id: Filter metrics by domain period: Time period — "24h", "7d", "30d" (default: "7d")
Inputs: inbox_id, domain_id, period. Returns: result
get_delivery_eventsA
Get delivery event log: sent, delivered, bounced, complained, failed.
Track the lifecycle of individual emails or audit delivery across an inbox.
Args: message_id: Filter events for a specific message inbox_id: Filter events by inbox domain_id: Filter events by domain event_type: Filter by type: "sent", "delivered", "bounced", "complained", "failed" limit: Max results (default: 50)
Inputs: message_id, inbox_id, domain_id, event_type, +1 more. Returns: result
get_domain_recordsA
Get the DNS records required to verify a domain.
Returns MX, TXT, and CNAME records that must be added at your domain registrar before calling verify_domain.
Args: domain_id: The domain ID (from list_domains)
Inputs: domain_id (required). Returns: result
get_suppressionsA
List suppressed email addresses (bounces, complaints, unsubscribes).
Suppressed addresses are automatically skipped when sending. Use this to audit why certain recipients aren't receiving emails.
Args: inbox_id: Filter by inbox (optional) domain_id: Filter by domain (optional) limit: Max results (default: 50)
Inputs: inbox_id, domain_id, limit. Returns: result
get_thread_messagesA
Get all messages in an email thread.
Returns the full conversation with sender, content, timestamps.
Args: thread_id: The thread ID (from list_threads) limit: Max messages, 1-1000 (default: 50) order: "asc" for chronological (default), "desc" for newest first
Inputs: thread_id (required), limit, order. Returns: result
get_thread_metadataB
Get triage metadata for a thread: tags, status, and assignment.
Args: thread_id: The thread ID
Inputs: thread_id (required). Returns: result
list_credit_bundlesA
List available credit bundles that can be purchased.
Returns each bundle's ID, credit amount, price, and description.
Inputs: no named parameters. Returns: result
list_domainsA
List all email domains in your Commune account.
Returns each domain's ID, name, and verification status. Use the domain ID with other tools like list_inboxes or create_inbox.
Inputs: no named parameters. Returns: result
list_inboxesA
List inboxes.
Without domain_id, lists all inboxes across all domains. With domain_id, lists inboxes for that specific domain.
Each inbox has a local_part (the part before @) that forms the email address: {local_part}@{domain_name}
Args: domain_id: Filter by domain (optional, lists all if omitted)
Inputs: domain_id. Returns: result
list_threadsA
List email threads (conversations) with pagination.
Returns thread summaries: subject, message count, last activity, snippet. Use next_cursor from the response to fetch the next page.
Provide at least one of inbox_id or domain_id.
Args: inbox_id: Filter threads by inbox (recommended) domain_id: Filter threads by domain limit: Results per page, 1-100 (default: 20) cursor: Pagination cursor from a previous response's next_cursor order: "desc" for newest first (default), "asc" for oldest first
Inputs: inbox_id, domain_id, limit, cursor, +1 more. Returns: result
remove_extraction_schemaC
Remove structured extraction schema from an inbox.
Inputs: domain_id (required), inbox_id (required). Returns: result
search_threadsA
Search across email threads by subject or content.
Returns matching thread summaries with subject, snippet, and message count. Provide at least one of inbox_id or domain_id.
Args: query: Search query (searches subject and message content) inbox_id: Filter by inbox (recommended) domain_id: Filter by domain limit: Max results, 1-100 (default: 20)
Inputs: query (required), inbox_id, domain_id, limit. Returns: result
send_emailA
Send an email message.
Provide html or text (or both) for the body. To reply in an existing thread, pass thread_id. To attach files, first call upload_attachment, then pass the attachment IDs as a comma-separated string.
You only need inbox_id to send — the domain is inferred automatically.
Args: to: Recipient email address (for multiple, comma-separate) subject: Email subject line html: HTML body content text: Plain text body (fallback) from_address: Sender address (optional, uses inbox default) reply_to: Reply-to address (optional) thread_id: Reply within an existing thread (optional) inbox_id: Send from a specific inbox (recommended — domain is auto-resolved) domain_id: Send from a specific domain (optional, inferred from inbox_id) attachments: Comma-separated attachment IDs from upload_attachment (optional)
Inputs: to (required), subject (required), html, text, +6 more. Returns: result
set_extraction_schemaB
Set structured extraction schema for an inbox.
Args: domain_id: Domain ID for the inbox. inbox_id: Inbox ID. name: Schema name. schema: JSON string of a valid JSON Schema object. description: Optional schema description. enabled: Enable extraction immediately (default: true).
Inputs: domain_id (required), inbox_id (required), name (required), schema (required), +2 more. Returns: result
set_thread_statusA
Set the status of a thread for triage.
Valid statuses: "open", "needs_reply", "waiting", "closed"
Args: thread_id: The thread ID status: New status — one of: open, needs_reply, waiting, closed
Inputs: thread_id (required), status (required). Returns: result
submit_feedbackA
Submit feedback about Commune to the product team.
Use this tool whenever you encounter something worth reporting — an error, a missing capability, or an observation about what's working well or could be improved.
Three feedback types:
"error" — the API returned a non-2xx status, the response shape was wrong, or behavior was incorrect (not just unexpected). Include context: which tool you called, what you expected, what happened. Example: "list_threads returns 500 when the inbox has never received a message."
"feature" — you need a capability that doesn't exist yet. Be specific about the use case. Example: "Need cursor-based pagination on search_threads — current limit cap blocks processing large backlogs."
"signal" — the API succeeded but quality, latency, or behavior was unexpected. Also use for positive observations. Example: "Semantic search quality on long threads is excellent — intent matching across 40+ messages works." Example: "Thread metadata endpoint is slow (~3s) on inboxes with 1000+ threads — expected <500ms."
The optional context dict lets you attach structured metadata that makes feedback actionable. For errors, include the tool name, any IDs, and status codes. For features, include the related tool and your use case.
Args: type: Feedback type — "error", "feature", or "signal" message: Clear description of the feedback (max 4000 chars) context: Optional structured metadata, e.g. {"tool": "list_threads", "inbox_id": "inb_123", "status_code": 500}
Inputs: type (required), message (required), context. Returns: result
tag_threadA
Add tags/labels to a thread. Tags are additive — existing tags are preserved.
Use tags for categorization: "vip", "bug-report", "sales-lead", "urgent", etc.
Args: thread_id: The thread ID tags: Comma-separated tags to add (e.g. "urgent,vip,sales-lead")
Inputs: thread_id (required), tags (required). Returns: result
untag_threadA
Remove tags/labels from a thread.
Args: thread_id: The thread ID tags: Comma-separated tags to remove (e.g. "urgent,vip")
Inputs: thread_id (required), tags (required). Returns: result
upload_attachmentA
Upload a file for use when sending emails.
Returns an attachment_id to pass to send_email's attachments parameter.
Args: content: Base64-encoded file content filename: Original filename, e.g. "report.pdf" mime_type: MIME type, e.g. "application/pdf" or "image/png"
Inputs: content (required), filename (required), mime_type (required). Returns: result
verify_domainA
Trigger DNS verification for a domain.
Call this after adding the required DNS records at your registrar. Use get_domain_records first to see which records are needed.
Args: domain_id: The domain ID (from list_domains)
Inputs: domain_id (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 27 tools
Every tool has a clearly distinct purpose. For instance, list_domains, list_inboxes, and list_threads target different resources, and get_deliverability_stats vs get_delivery_events are clearly differentiated as aggregate vs per-event metrics. No two tools overlap in functionality.
All tools follow a consistent verb_noun pattern using snake_case (e.g., create_domain, list_inboxes, send_email, tag_thread). The only minor outlier is credits_checkout, but it still follows the pattern (checkout_credits would be more conventional, but it's understandable). Overall, naming is highly predictable.
27 tools is well-scoped for an email management platform. The toolset covers domains, inboxes, threads, sending, attachments, billing, deliverability, extraction, and feedback without being bloated. Each tool addresses a specific need and contributes to a coherent workflow.
The tool surface covers core email management lifecycle: domain setup (create, verify, get records), inbox management (create, delete, list), email operations (send, attachments, threads), triage (status, tags, assignment), billing (credits), and monitoring (deliverability, suppressions). Minor gaps include lack of direct message retrieval by ID, no tool to delete a domain, and no attachment listing beyond upload. These are not severe but prevent full independence.
Maintenance
Related MCP Connectors
Send and read WhatsApp, email and SMS from Claude, ChatGPT, Cursor or any MCP client, from your own accounts: your WhatsApp number (linked by QR code), your mailbox (IMAP/SMTP) and your Android phone (SMS from its SIM). Tools: list-accounts, get-account, add-account, add-email-account, list-messages, send-message (one channel or several in one call). Hosted, OAuth 2.1, nothing to install. Free plan with unlimited messages; paid plans from 19 EUR/month remove the footer and add media and webhooks. Docs and client configs: github.com/UnlimitedMessaging/unlimited-messaging-mcp
Email inboxes for AI agents: send, receive, reply, search, and manage threaded email over MCP.
Email and optional phone for AI agents: send, receive, search, draft and call over MCP.
Real email inboxes for AI agents: register, receive, read and send mail over MCP. Free to receive.
Related MCP Servers
- AlicenseAqualityDmaintenanceEmail infrastructure for AI agents — create inboxes, send/receive email, search messages, and manage threads via MCP tools.105 npm2MIT
- AlicenseAqualityDmaintenanceProvides AI agents with a real email address to send, receive, and manage emails via the Envoi.work platform. It enables seamless email communication, including inbox management and threaded replies, directly within MCP-compatible clients.513 npmMIT

InboxAPI CLIofficial
AlicenseNot gradedqualityBmaintenanceProvides an AI agent with its own email address to send, receive, and manage emails via MCP. No email server setup required.79 npm14MIT- FlicenseNot gradedqualityDmaintenanceGive AI agents their own email inboxes. Create, send, receive, and manage email entirely via MCP tools.-