MCP Mail
Uses nginx as a reverse proxy for the MCP server (not a target integration).
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., "@MCP Mailcheck my latest 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.
MCP Mail · bwb.pt
Self-hosted claude-mail-mcp connector for Claude.ai, with:
OAuth 2.1 + DCR + PKCE shim (Claude.ai Custom Connector)
Backoffice at
https://mcp-mail.bwb.pt/adminfor multi-account IMAP/SMTP managementHardened nginx + systemd on Ubuntu 24.04
Architecture
Claude.ai ──HTTPS/OAuth──▶ nginx (mcp-mail.bwb.pt)
├─ /health → claude-mail-mcp :3220
└─ /* → oauth-shim+admin :3221 ──Bearer──▶ :3220Related MCP server: Gmail MCP Server
Local development
cp deploy/env/shim.env.example .env
# adjust STATE_DIR to a local path, SESSION_SECRET, AUTH_TOKEN
npm install
npm run build
npm startProduction deploy
On the VPS (as root), from this repo checkout:
bash deploy/install.shThen open https://mcp-mail.bwb.pt/admin, login, change the temporary password, add mailbox accounts.
Claude.ai → Settings → Connectors → Add custom → URL https://mcp-mail.bwb.pt/mcp.
Ops
See docs/OPERATIONS.md and docs/ROADMAP.md.
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.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceSelf-hosted MCP server for any IMAP/SMTP inbox. Multi-account in one config. Built for Claude Code.
- AlicenseNot gradedqualityDmaintenanceAn MCP server that provides Claude with access to your Gmail, featuring a full OAuth 2.1 authorization server with dynamic client registration and tools to list, read, search, send, reply, draft, archive, trash, manage labels, and download attachments.2311MIT
- AlicenseAqualityCmaintenanceMCP server that connects Claude to Microsoft 365 mail for inbox triage, search, classification, and idempotent rule provisioning via Microsoft Graph, with device-code auth and read-only default.61MIT
- FlicenseNot gradedqualityCmaintenanceLocal IMAP/SMTP MCP server that lets Claude read, search, draft, send, flag, and move mail across multiple IMAP mailboxes. Credentials stay on your machine.
Related MCP Connectors
Self-hosted federated MCP gateway: one OAuth 2.1 MCP server in front of N apps, user-level scopes.
Self-hosted MCP gateway: turn any API, database or MCP server into AI connectors — no code.
MCP server for Argo RPG Platform — connects AI assistants to campaign data via OAuth2
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/storesace-cv/bwb-claude-mail-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server