Inbound Email MCP Server
Click on "Install 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., "@Inbound Email MCP Serversend an email to team@example.com about the project status"
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.
@inbound/mcp
MCP (Model Context Protocol) server for the Inbound Email API. Give your AI agent its own email address to send, receive, and manage emails.
Quick Start: Agent Mailbox
The primary use case is giving an AI agent its own email identity. Set the x-inbound-mailbox header to your agent's email address:
{
"mcpServers": {
"inbound": {
"url": "http://localhost:5454/mcp",
"headers": {
"x-inbound-api-key": "your-api-key",
"x-inbound-mailbox": "Support Agent <support@yourdomain.com>"
}
}
}
}The header supports both formats:
With display name:
Support Agent <support@yourdomain.com>Email only:
support@yourdomain.com
Mailbox Tools
Tool | Description |
| Check incoming emails for your mailbox (defaults to unread) |
| Get conversation threads where your mailbox is a participant |
| Send emails - |
| Reply to emails/threads - |
Agent Workflow
Check for new emails:
check_mailboxreturns unread emails with IDsRead email details: Use
get_emailwith the email ID to read full contentReply to emails:
reply_from_mailboxsends replies with your agent identitySend new emails:
send_from_mailboxsends emails as your agent
When sending, the display name (e.g., "Support Agent") is included so recipients see a friendly sender name.
Installation
npm install @inbound/mcp
# or
pnpm add @inbound/mcp
# or
bun add @inbound/mcpConfiguration
Claude Desktop (STDIO)
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"inbound": {
"command": "npx",
"args": ["-y", "@inbound/mcp"],
"env": {
"INBOUND_API_KEY": "your-api-key",
"INBOUND_MAILBOX": "Agent <agent@yourdomain.com>"
}
}
}
}Cursor / Other MCP Clients (HTTP)
Start the server:
npx @inbound/mcp start:httpThen configure your client:
{
"mcpServers": {
"inbound": {
"url": "http://localhost:5454/mcp",
"headers": {
"x-inbound-api-key": "your-api-key",
"x-inbound-mailbox": "Agent <agent@yourdomain.com>"
}
}
}
}Authentication
The MCP server authenticates using your Inbound API key:
Environment variable:
INBOUND_API_KEYHTTP header:
x-inbound-api-key
Optional: Domain Restriction
To restrict all operations to a single domain:
Environment variable:
INBOUND_DOMAINHTTP header:
x-inbound-domain
All Available Tools
Mailbox (Agent Mode)
check_mailbox- Check incoming emails for your mailboxget_mailbox_threads- Get conversation threads for your mailboxsend_from_mailbox- Send an email from your mailboxreply_from_mailbox- Reply to an email from your mailbox
Emails
list_emails- List sent, received, and scheduled emailsget_email- Get detailed information about a specific emailsend_email- Send or schedule an emailreply_email- Reply to an email or threadretry_email- Retry delivery of a failed email
Threads
list_threads- List email conversationsget_thread- Get all messages in a thread
Domains
list_domains- List all domains in your account
Endpoints
list_endpoints- List webhook and email forwarding endpointscreate_endpoint- Create a webhook, email forward, or email group endpoint
Available Prompts
getting-started- Learn how to use Inbound Email API
Development
# Install dependencies
pnpm install
# Run in development mode
pnpm dev
# Build for production
pnpm buildLicense
Apache-2.0
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/inboundemail/mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server