Skip to main content
Glama

Gmail MCP Server

by cskiro

Gmail MCP サーバー

Gmail と Claude Desktop を統合するモデル コンテキスト プロトコル (MCP) サーバー。これにより、Claude は適切なコンテキスト管理とプライバシー制御を維持しながら、メールの内容にアクセスして理解できるようになります。

特徴

  • OAuth2認証によるGmail API統合
  • 安全なトークン管理と保管
  • プライバシー重視のデータ処理
  • クロードのコンテキストウィンドウ管理
  • 包括的なログ記録とエラー処理
  • 簡単に導入できるDockerサポート

前提条件

  • Node.js >= 18.0.0
  • npmまたはyarn
  • Gmail API が有効になっている Google Cloud プロジェクト
  • クロードAPIキー

設定

  1. リポジトリをクローンします。
git clone https://github.com/yourusername/gmail-mcp-server.git cd gmail-mcp-server
  1. 依存関係をインストールします:
npm install
  1. 次の変数を含む.envファイルをルート ディレクトリに作成します。
GOOGLE_CLIENT_ID=your_google_client_id GOOGLE_CLIENT_SECRET=your_google_client_secret GOOGLE_REDIRECT_URI=http://localhost:3000/auth/google/callback CLAUDE_API_KEY=your_claude_api_key PORT=3000
  1. 開発サーバーを起動します。
npm run dev

発達

  • npm run dev : ホットリロードで開発サーバーを起動する
  • npm test : テストを実行する
  • npm run lint : ESLint を実行する

プロジェクト構造

gmail-mcp-server/ ├── src/ │ ├── server.js # Main server entry point │ ├── auth.js # Authentication handling │ ├── gmail.js # Gmail API integration │ ├── claude.js # Claude API integration │ ├── logger.js # Logging configuration │ └── utils/ # Utility functions ├── tests/ # Test files ├── .env # Environment variables ├── .gitignore # Git ignore rules ├── package.json # Project dependencies └── README.md # Project documentation

貢献

  1. リポジトリをフォークする
  2. 機能ブランチを作成します( git checkout -b feature/amazing-feature
  3. 変更をコミットします ( git commit -m 'Add some amazing feature' )
  4. ブランチにプッシュする ( git push origin feature/amazing-feature )
  5. プルリクエストを開く

ライセンス

このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細については LICENSE ファイルを参照してください。

-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

適切なコンテキスト管理とプライバシー制御を維持しながら、Claude Desktop が Gmail コンテンツに安全にアクセスして処理できるようにする統合サーバー。

  1. 特徴
    1. 前提条件
      1. 設定
        1. 発達
          1. プロジェクト構造
            1. 貢献
              1. ライセンス

                Related MCP Servers

                • A
                  security
                  A
                  license
                  A
                  quality
                  Model Context Protocol server for Gmail integration. This allows Claude Desktop (or any MCP client) to interact with your Gmail account through Google Apps Script.
                  Last updated -
                  3
                  7
                  8
                  JavaScript
                  MIT License
                  • Apple
                • -
                  security
                  A
                  license
                  -
                  quality
                  Server for Gmail integration in Claude Desktop with auto authentication support. This server enables AI assistants to manage Gmail through natural language interactions.
                  Last updated -
                  3,632
                  414
                  JavaScript
                  MIT License
                  • Linux
                  • Apple
                • -
                  security
                  A
                  license
                  -
                  quality
                  A server that allows Claude to search and retrieve emails from your Gmail account, supporting functions like searching emails, retrieving full content of specific emails, and listing recent messages.
                  Last updated -
                  2
                  Python
                  Apache 2.0
                • -
                  security
                  F
                  license
                  -
                  quality
                  An integration server that provides Claude Desktop access to Gmail, enabling users to view recent emails and search their Gmail inbox using natural language commands.
                  Last updated -
                  6
                  Python

                View all related MCP servers

                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/cskiro/gmail-mcp-server'

                If you have feedback or need assistance with the MCP directory API, please join our Discord server