MCP Server LogoMCP Server
MCPsカテゴリディレクトリ投稿する
投稿する
MCPsカテゴリディレクトリ投稿する
投稿する

MCPサーバー

MCPサーバーのリスト、Awesome MCPサーバーとClaude MCP統合を含む。AIの能力を強化するためのMCPサーバーを検索して発見します。

お問い合わせ

[email protected]

MCPサーバーについて

プライバシーポリシー利用規約

リソース

モデルコンテキストプロトコルMCPスターターガイドClaude MCPサーバー

コミュニティ

GitHub

© 2025 mcpserver.cc © 2025 MCPサーバー. 全著作権所有.

プライバシーポリシー利用規約
  1. Home
  2. /Categories
  3. /Automation & Scripting
  4. /Gmail Mcp
Gmail Mcp

Gmail Mcp

作成者 vinayak-mehta•3 days ago
サイトを訪問する

Automation & Scripting

Gmail MCP

Allow Claude to search and retrieve emails from your Gmail account.

Setup

1. Get Google API Credentials

  1. Visit the Google Cloud Console
  2. Create a new project or select an existing one
  3. Enable the Gmail API for your project
    • Navigate to “APIs & Services” > “Library”
    • Search for “Gmail API” and enable it
  4. Create OAuth credentials:
    • Go to “APIs & Services” > “Credentials”
    • Click “Create Credentials” > “OAuth client ID”
    • Select “Desktop application” as the application type
    • Name your client and click “Create”
  5. Download the credentials JSON file
  6. Save it as credentials.json in your project directory

2. Authorize the Application

Run the authorization command to generate your token:

uv run gmail-mcp auth --creds-path credentials.json --token-path token.json

This will open a browser window where you’ll need to log in to your Google account and grant the necessary permissions. After authorization, a token.json file will be created in your project directory.

Configuring with Claude

Add the Gmail MCP server to your Claude configuration file:

{
  "mcpServers": {
    "gmail": {
      "args": [
        "--from",
        "git+https://github.com/vinayak-mehta/gmail-mcp",
        "gmail-mcp"
      ],
      "command": "/Users/username/.local/bin/uvx",
      "env": {
        "GMAIL_CREDS_PATH": "/Users/username/path/to/gmail-mcp/credentials.json",
        "GMAIL_TOKEN_PATH": "/Users/username/path/to/gmail-mcp/token.json"
      }
    }
  }
}

Make sure to:

  • Replace /Users/username/path/to/gmail-mcp with your actual project path
  • Adjust the command path to your installed uvx executable
  • Provide correct paths to your credentials.json and token.json files

Claude will now have access to the following tools:

1. Search Emails

Search for emails in your Gmail account.

Example prompt: “Search for all emails from [email protected]”

2. Get Email Content

Retrieve the full content of a specific email.

Example prompt: “Show me the full content of the email with the subject ‘Meeting Tomorrow’”

3. List Messages

List recent messages from your Gmail inbox.

Example prompt: “List my 5 most recent emails”

Environment Variables

You can configure the paths to your credentials and token files using environment variables:

  • GMAIL_CREDS_PATH: Path to your credentials.json file
  • GMAIL_TOKEN_PATH: Path to your token.json file

Create a .env file in the project root with these variables for easy configuration.

前提条件

  • •サーバーのドメインに精通している
  • •関連技術の基本的な理解
  • •Automation & Scriptingの知識

おすすめのサーバー

Nmap Mcp Server

Nmap Mcp Server

A Model Context Protocol (MCP) server that enables AI assistants to perform network scanning operations using NMAP

Twitch Mcp Server

Twitch Mcp Server

A Model Context Protocol (MCP) server that provides tools for interacting with the Twitch API using the Helix API.

Mcp Server Diff Python

Mcp Server Diff Python

もっと見る → →

詳細

作成日

June 17, 2025

最終更新日

June 17, 2025

カテゴリー

Automation & Scripting

作成者

vinayak-mehta

シェアする

もっと見る

Mcp Guide

Mcp Guide

A beginner-friendly guide server that helps users understand MCP concepts, provides interactive examples, and demonstrates best practices for building MCP integrations. Features tools for exploring MCP capabilities, resources for learning core concepts, and prompts for guided tutorials.

Mcp Communicator Telegram

Mcp Communicator Telegram

An MCP server that enables communication with users through Telegram. This server provides a tool to ask questions to users and receive their responses via a Telegram bot.

Mcp Server Ragdocs

Mcp Server Ragdocs

An MCP server that provides tools for retrieving and processing documentation through vector search, both locally or hosted. Enabling AI assistants to augment their responses with relevant documentation context.

Server Wp Mcp

Server Wp Mcp