Gmail
Gmail integration with OAuth authentication, message search, batch operations, and Sheets export
stdio v1.0.10
Connection Configuration
Add this to your AI agent's MCP config file to connect.
Run in your terminal:
claude mcp add io.github.mcp-z--mcp-gmail -- npx
Server Details
Transport
stdio
Authentication
NoneVersion
v1.0.10
Server Name
io.github.mcp-z/mcp-gmail
Last Updated
Jan 10, 2026
Get Started
How to install and connect this MCP server.
Required Configuration
Environment variables you must provide when running this server.
| Variable | Required |
|---|---|
GOOGLE_CLIENT_ID | Yes |
GOOGLE_CLIENT_SECRET secret | Optional |
GOOGLE_SERVICE_ACCOUNT_KEY_FILE | Optional |
AUTH_MODE | Optional |
HEADLESS | Optional |
REDIRECT_URI | Optional |
RESOURCE_STORE_URI | Optional |
PORT | Optional |
BASE_URL | Optional |
LOG_LEVEL | Optional |
DCR_MODE | Optional |
DCR_VERIFY_URL | Optional |
DCR_STORE_URI | Optional |