
An AI receptionist platform with an MCP server for accessing business calls, contacts and appointments from AI assistants.

A Model Context Protocol server that gives LLMs access to Gmail through exposed message threads and email management tools, authenticated via OAuth 2.0 with Google's Gmail API.
MCP Gmail Server is cataloged as an MCP server attributed to jeremyjordan. A Model Context Protocol server that gives LLMs access to Gmail through exposed message threads and email management tools, authenticated via OAuth 2.0 with Google's Gmail API. It is categorized under communication social. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MCP Gmail Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It uses the `gmail.modify` scope, which grants permission to read, compose, and send emails from a Gmail account.
Yes, the `MCP_GMAIL_MAX_RESULTS` environment variable sets the default maximum results for search queries, defaulting to 10.
README.md · e3601d1185c1 · 采集于 2026-11-13 10:12:35 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
A Model Context Protocol (MCP) server that provides Gmail access for LLMs, powered by the MCP Python SDK.
Install project dependencies (uv automatically creates and manages a virtual environment)
uv sync
There's unfortunately a lot of steps required to use the Gmail API. I've attempted to capture all of the required steps (as of March 28, 2025) but things may change.
Create a Google Cloud Project
Enable the Gmail API
Configure OAuth Consent Screen
Create OAuth Credentials
credentials.json in your project root directoryAdd scopes
.../auth/gmail.modify which grants permission to "Read, compose, and send emails from your Gmail account"Verify that you've set up your OAuth configuration correctly by running a simple test script.
uv run python scripts/test_gmail_setup.py
You should be able to see usage metrics at https://console.cloud.google.com/apis/api/gmail.googleapis.com/metrics
Development mode:
uv run mcp dev mcp_gmail/server.py
This will spin up an MCP Inspector application that you can use to interact with the MCP server.
Or install for use with Claude Desktop:
uv run mcp install \
--with-editable .
--name gmail \
--env-var MCP_GMAIL_CREDENTIALS_PATH=$(pwd)/credentials.json \
--env-var MCP_GMAIL_TOKEN_PATH=$(pwd)/token.json \
mcp_gmail/server.py
[!NOTE] If you encounter an error like
Error: spawn uv ENOENTwhen spinning up Claude Desktop and initializing the MCP server, you may need to update yourclaude_desktop_config.jsonto provide the absolute path touv. Go to Claude Desktop -> Settings -> Developer -> Edit Config.{ "mcpServers": { "gmail": { "command": "~/.local/bin/uv", } } }
Run linting and formatting:
# Format code
uv run ruff format .
# Lint code with auto-fixes where possible
uv run ruff check --fix .
# Run tests
uv run pytest tests/
This project uses pre-commit hooks to ensure code quality. The hooks automatically run before each commit to verify code formatting and linting standards.
Install the pre-commit hooks:
pre-commit install
Run pre-commit manually on all files:
pre-commit run --all-files
Once running, you can connect to the MCP server using any MCP client or via Claude Desktop.
gmail://messages/{message_id} - Access email messagesgmail://threads/{thread_id} - Access email threadscompose_email - Create a new email draftsend_email - Send an emailsearch_emails - Search for emails with specific filters (from, to, subject, dates, etc.)query_emails - Search for emails using raw Gmail query syntaxget_emails - Retrieve multiple email messages by their IDslist_available_labels - Get all available Gmail labelsmark_message_read - Mark a message as readadd_label_to_message - Add a label to a messageremove_label_from_message - Remove a label from a messageYou can configure the server using environment variables:
MCP_GMAIL_CREDENTIALS_PATH: Path to the OAuth credentials JSON file (default: "credentials.json")MCP_GMAIL_TOKEN_PATH: Path to store the OAuth token (default: "token.json")MCP_GMAIL_MAX_RESULTS: Default maximum results for search queries (default: 10)MIT
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP Gmail Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-gmail)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

An AI receptionist platform with an MCP server for accessing business calls, contacts and appointments from AI assistants.
Pidgeon provides an MCP server and an email inbox API that gives AI agents their own addresses for sending, awaiting, and replying to email.

A Telegram CLI with background sync that can run an optional MCP server for a personal account using MTProto, not the bot API.