ForwardEmail 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., "@ForwardEmail MCP Serverlist my domains"
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.
ForwardEmail MCP Server
⚠️ UNOFFICIAL - This is an unofficial MCP server for ForwardEmail. It is not affiliated with, endorsed by, or supported by Forward Email LLC.
An MCP (Model Context Protocol) server that provides comprehensive access to the ForwardEmail API for Claude Desktop, Cline, and other MCP-compatible clients.
Features
71 MCP tools covering the ForwardEmail API
Domain Management - List, create, update, delete domains; verify DNS/SMTP records; allowlist/denylist; S3 connection test
Alias Management - Full CRUD for email aliases with forwarding rules
Outbound Email - Send emails via API, check limits, manage queue
Sieve Filtering - Manage server-side Sieve filtering scripts
Mailbox (alias credentials) - Contacts (CardDAV), Calendars & events (CalDAV), Messages & Folders (IMAP)
Team Collaboration - Invite members, manage roles
Security - Password generation for IMAP/SMTP access, TXT record encryption
Async/Await - Built with modern Python async patterns
Type Safety - Full type hints with Pydantic models
Related MCP server: FastMail MCP Server
Prerequisites
Python: 3.10+
uv: 0.4+ (recommended)
uvx: Included with uv
A ForwardEmail account with API access
API key from ForwardEmail Security Settings
Installation
Using uvx (Recommended)
uvx --from git+https://github.com/junxit/mcp-forwardemail.git forwardemail-mcpUsing pip
pip install git+https://github.com/junxit/mcp-forwardemail.gitFrom Source
git clone https://github.com/junxit/mcp-forwardemail.git
cd mcp-forwardemail
uv pip install -e .Configuration
Claude Desktop
Add to your ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"forwardemail": {
"command": "uvx",
"args": ["--from", "git+https://github.com/junxit/mcp-forwardemail.git", "forwardemail-mcp"],
"env": {
"FORWARDEMAIL_API_KEY": "your_api_key_here"
}
}
}
}Local Development with Claude Desktop
{
"mcpServers": {
"forwardemail": {
"command": "uv",
"args": ["--directory", "/path/to/mcp-forwardemail", "run", "forwardemail-mcp"],
"env": {
"FORWARDEMAIL_API_KEY": "your_api_key_here"
}
}
}
}Cline / Continue Extension
Add to your MCP settings:
{
"forwardemail": {
"command": "uvx",
"args": ["--from", "git+https://github.com/junxit/mcp-forwardemail.git", "forwardemail-mcp"],
"env": {
"FORWARDEMAIL_API_KEY": "your_api_key_here"
}
}
}Environment Variable
Alternatively, set the API key as an environment variable:
export FORWARDEMAIL_API_KEY="your_api_key_here"Alias Credentials (for mailbox tools)
Most tools authenticate with your account API key. The mailbox tools — Contacts, Calendars, Calendar Events, Messages, Folders, and Sieve Scripts (the alias-auth variant) — instead use a specific alias's own credentials, so each of those tools takes two extra arguments:
alias_username— the full alias email (e.g.me@example.com)alias_password— a password generated for that alias viaalias_generate_password
These are passed per tool call (no extra environment variables), so you can work with any alias across any domain in the same session. Generate a password first:
"Generate an IMAP/CardDAV password for the alias
me@example.com, then list its folders."
Available Tools
Account (3 tools)
Tool | Description |
| Retrieve account information |
| Create a new account |
| Update account details |
Domains (13 tools)
Tool | Description |
| List all domains |
| Create a new domain |
| Get domain details |
| Update domain settings |
| Delete a domain |
| Verify DNS records |
| Verify SMTP records (DKIM, DMARC) |
| List catch-all passwords |
| Create catch-all password |
| Delete catch-all password |
| Replace the domain sender allowlist |
| Replace the domain sender denylist |
| Test custom S3 storage connection |
Aliases (6 tools)
Tool | Description |
| List domain aliases |
| Create a new alias |
| Get alias details |
| Update an alias |
| Delete an alias |
| Generate IMAP/SMTP password |
Outbound Emails (5 tools)
Tool | Description |
| Get daily sending limit |
| List outbound emails |
| Send an email |
| Get email details |
| Cancel/delete an email |
Invites (3 tools)
Tool | Description |
| Accept a domain invite (requires the invite |
| Invite a user to domain |
| Remove an invite |
Members (2 tools)
Tool | Description |
| Update member role |
| Remove a member |
Logs (1 tool)
Tool | Description |
| Request log download (emailed as CSV) |
Encrypt (1 tool)
Tool | Description |
| Encrypt TXT record value |
Sieve Filters — domain (6 tools, API key)
Tool | Description |
| List an alias's Sieve scripts |
| Create a Sieve script |
| Get a Sieve script |
| Update a Sieve script |
| Delete a Sieve script |
| Activate a Sieve script |
The tool groups below use alias credentials (alias_username + alias_password) — see Alias Credentials.
Contacts — CardDAV (5 tools)
Tool | Description |
| List contacts |
| Create a contact |
| Get a contact |
| Update a contact |
| Delete a contact |
Calendars — CalDAV (5 tools)
Tool | Description |
| List calendars |
| Create a calendar |
| Get a calendar |
| Update a calendar |
| Delete a calendar |
Calendar Events — CalDAV (5 tools)
Tool | Description |
| List calendar events |
| Create an event (iCalendar) |
| Get an event |
| Update an event |
| Delete an event |
Messages — IMAP (5 tools)
Tool | Description |
| List and search messages |
| Create/append a message |
| Get a message |
| Update flags/labels/folder |
| Delete a message |
Folders — IMAP (5 tools)
Tool | Description |
| List folders |
| Create a folder |
| Get a folder |
| Rename a folder |
| Delete a folder |
Sieve Scripts — alias auth (6 tools)
Tool | Description |
| List Sieve scripts |
| Create a Sieve script |
| Get a Sieve script |
| Update a Sieve script |
| Delete a Sieve script |
| Activate a Sieve script |
Usage Examples
List Your Domains
Ask Claude: "List my ForwardEmail domains"
Create an Email Alias
Ask Claude: "Create an alias called 'support' on example.com that forwards to admin@gmail.com"
Send an Email
Ask Claude: "Send an email from hello@example.com to user@gmail.com with subject 'Test' and body 'Hello!'"
Verify Domain Setup
Ask Claude: "Verify the DNS records for example.com"
API Coverage Notes
The ForwardEmail Contacts (CardDAV), Calendars/Events (CalDAV), Messages and Folders (IMAP), and alias Sieve scripts authenticate with alias credentials (alias email + generated password) rather than the account API key. These are now fully supported — see Alias Credentials for how to supply them.
Not currently wrapped:
Push tokens (
/v1/push-tokens) — registering a device push token requires a real device/browser to mint the token value, so it is out of scope for this server.Internal/billing endpoints (Stripe, PayPal, WebSocket, etc.).
Troubleshooting
"Authentication failed" error
Verify your API key is correct
Check that the key is properly set in
envsection of your MCP configEnsure there are no extra spaces or quotes around the key
"FORWARDEMAIL_API_KEY environment variable is required"
Make sure you've added the
envsection to your MCP configurationRestart Claude Desktop after changing the configuration
Tool not found
Restart Claude Desktop to reload MCP servers
Check Claude Desktop logs for startup errors
Development
# Clone the repository
git clone https://github.com/junxit/mcp-forwardemail.git
cd mcp-forwardemail
# Install in development mode
uv pip install -e ".[dev]"
# Run tests (--extra dev pulls pytest/respx)
uv run --extra dev pytest -v
# Run the server locally
FORWARDEMAIL_API_KEY="your_key" uv run forwardemail-mcpHow to Test
# Run unit tests
uv run --extra dev pytest -v
# Run single test file
uv run --extra dev pytest tests/test_endpoints.py -vHow to Uninstall
# If installed via pip/uv
pip uninstall forwardemail-mcp
# Remove from Claude Desktop config
# Edit ~/Library/Application Support/Claude/claude_desktop_config.json
# and remove the "forwardemail" entry from mcpServersCleanup Local Files
# Remove Python cache files
find . -type d -name "__pycache__" -exec rm -rf {} + 2>/dev/null
find . -type f -name "*.pyc" -delete
find . -type f -name "*.pyo" -delete
# Remove virtual environments
rm -rf .venv venv ENV .uv
# Remove build artifacts
rm -rf build dist *.egg-info .eggs
# Remove test/coverage artifacts
rm -rf .pytest_cache .coverage htmlcov .tox
# Remove the project directory (if installed from source)
cd .. && rm -rf mcp-forwardemailAssumptions
ForwardEmail API remains stable at
https://api.forwardemail.netAPI authentication continues to use HTTP Basic Auth
MCP SDK version 1.0+ maintains current interface
Users have valid ForwardEmail accounts with API access enabled
Contributing
Contributions are welcome! Please:
Fork the repository
Create a feature branch
Make your changes
Add tests if applicable
Submit a pull request
Links
ForwardEmail - The email service
ForwardEmail API Docs - Official API documentation
ForwardEmail GitHub - Official GitHub organization
MCP Documentation - Model Context Protocol docs
License
MIT License - see LICENSE file.
Disclaimer: This is an unofficial, community-maintained project. ForwardEmail is a trademark of Forward Email LLC. This project is not affiliated with, endorsed by, or supported by Forward Email LLC.
This server cannot be installed
Maintenance
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
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/junxit/mcp-forwardemail'
If you have feedback or need assistance with the MCP directory API, please join our Discord server