Skip to main content
Glama
storesace-cv

MCP Mail

by storesace-cv

MCP Mail · bwb.pt

Claude.ai 用のセルフホスト型 claude-mail-mcp コネクタ。以下の機能を備えています:

  • OAuth 2.1 + DCR + PKCE シム (Claude.ai カスタムコネクタ)

  • マルチアカウント IMAP/SMTP 管理のための Backoffice (https://mcp-mail.bwb.pt/admin)

  • Ubuntu 24.04 上の堅牢化された nginx + systemd

アーキテクチャ

Claude.ai ──HTTPS/OAuth──▶ nginx (mcp-mail.bwb.pt)
                              ├─ /health  → claude-mail-mcp :3220
                              └─ /*       → oauth-shim+admin :3221 ──Bearer──▶ :3220

Related MCP server: Gmail MCP Server

ローカル開発

cp deploy/env/shim.env.example .env
# adjust STATE_DIR to a local path, SESSION_SECRET, AUTH_TOKEN
npm install
npm run build
npm start

本番デプロイ

VPS 上で (root として)、このリポジトリのチェックアウトから:

bash deploy/install.sh

その後、https://mcp-mail.bwb.pt/admin を開き、ログインして、一時パスワードを変更し、メールボックスアカウントを追加してください。

Claude.ai → Settings → Connectors → Add custom → URL https://mcp-mail.bwb.pt/mcp

運用

docs/OPERATIONS.md と docs/ROADMAP.md を参照してください。

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Self-hosted MCP server for any IMAP/SMTP inbox. Multi-account in one config. Built for Claude Code.
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    An 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.
    181 npm
    1
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    MCP 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.
    6
    1
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    Local IMAP/SMTP MCP server that lets Claude read, search, draft, send, flag, and move mail across multiple IMAP mailboxes. Credentials stay on your machine.
    -