What Gmail OAuth scopes are required?
The server uses `https://www.googleapis.com/auth/gmail.modify` which allows reading, sending, and modifying emails.
@MCP-Mirror
基本情報
Mirror of
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"jasonsum_gmail-mcp-server": {
"command": "npx",
"args": [
"@modelcontextprotocol/inspector",
"uv",
"run",
"[absolute-path-to-git-repo]/src/gmail/server.py",
"--creds-file-path",
"[absolute-path-to-credentials-file]",
"--token-path",
"[absolute-path-to-access-tokens-file]"
]
}
}
}Sends email to email address recipient
Moves email to trash
Marks email as read
Retrieves unread emails
Retrieves given email content
Open email in browser
This MCP server integrates with Gmail to enable sending, removing, reading, drafting, and responding to emails. The MCP client prompts the user before conducting such activities.
First, set up a Google Cloud project, enable the Gmail API, configure an OAuth consent screen with test user, add OAuth scope https://www.googleapis.com/auth/gmail/modify, and create an OAuth Client ID for a Desktop App. Download the JSON credentials file and note its absolute path. Then configure an MCP client (e.g., Claude Desktop) using uv with parameters --creds-file-path and --token-path. On startup, a browser-based authentication flow saves token credentials to the specified token path.
The server uses `https://www.googleapis.com/auth/gmail.modify` which allows reading, sending, and modifying emails.
On server start, a browser-based OAuth flow launches. Token credentials are saved to the file specified by `--token-path` and reused on subsequent runs.
A Google Cloud project with the Gmail API enabled, a Desktop App OAuth client, and `uv` for running the server. No Python dependencies beyond those bundled with the server are mentioned.
Credentials are stored in the file path given to `--creds-file-path`. Access and refresh tokens are stored in the file path given to `--token-path`. Both are local file paths on the user’s machine.
The server is run via `uv run gmail --creds-file-path <path> --token-path <path>`. It communicates over stdio (standard MCP transport).

Give your agent an inbox. Its own address on email, Slack and Telegram. A product of Novu

Connect an AI assistant to one Vocenya business account: list calls, leads, bookings and chats, add leads, queue compliant AI callbacks and update Do Not Call.https://github.com/gadyamedia/vocenya-mcp
Business email on your own domain for AI agents. Read, search and send mail, manage mailboxes and aliases, and set up DNS automatically, with unlimited mailboxes on one flat plan.

Give your AI agent a phone. JooVoice makes real calls for you in 80+ languages, with local accents, across 67 countries, like booking a table, moving an appointment or chasing a refund, and sends back what happened. Call
Telehealth support for Claude, Codex and Cursor. Investigate stuck orders and billing issues, review case evidence, connect your tools and prepare next steps with Summer.
コメント