Search / io.github.A1-x-Tech/mcp-google-gmail
Gmail MCP
L0· runs locallyMCP server for the Gmail API: search, read and send email, manage drafts, labels and the trash.
v1.0.0 · active · repository · website · descriptor JSON · versions
Search / io.github.A1-x-Tech/mcp-google-gmail
L0· runs locallyMCP server for the Gmail API: search, read and send email, manage drafts, labels and the trash.
v1.0.0 · active · repository · website · descriptor JSON · versions
{
"mcpServers": {
"mcp-google-gmail": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"GOOGLE_GMAIL_CLIENT_SECRET": "${GOOGLE_GMAIL_CLIENT_SECRET}",
"GOOGLE_GMAIL_REFRESH_TOKEN": "${GOOGLE_GMAIL_REFRESH_TOKEN}",
"GOOGLE_GMAIL_ACCESS_TOKEN": "${GOOGLE_GMAIL_ACCESS_TOKEN}",
"GOOGLE_GMAIL_API_BASE": "https://gmail.googleapis.com",
"GOOGLE_GMAIL_TIMEOUT_MS": "60000",
"GOOGLE_GMAIL_MAX_RETRIES": "3"
}
}
}
}claude mcp add mcp-google-gmail -e "GOOGLE_GMAIL_CLIENT_SECRET=${GOOGLE_GMAIL_CLIENT_SECRET}" -e "GOOGLE_GMAIL_REFRESH_TOKEN=${GOOGLE_GMAIL_REFRESH_TOKEN}" -e "GOOGLE_GMAIL_ACCESS_TOKEN=${GOOGLE_GMAIL_ACCESS_TOKEN}" -e "GOOGLE_GMAIL_API_BASE=https://gmail.googleapis.com" -e "GOOGLE_GMAIL_TIMEOUT_MS=60000" -e "GOOGLE_GMAIL_MAX_RETRIES=3" -- npx -y [email protected][mcp_servers.mcp-google-gmail]
command = "npx"
args = ["-y", "[email protected]"]
env = { "GOOGLE_GMAIL_CLIENT_SECRET" = "${GOOGLE_GMAIL_CLIENT_SECRET}", "GOOGLE_GMAIL_REFRESH_TOKEN" = "${GOOGLE_GMAIL_REFRESH_TOKEN}", "GOOGLE_GMAIL_ACCESS_TOKEN" = "${GOOGLE_GMAIL_ACCESS_TOKEN}", "GOOGLE_GMAIL_API_BASE" = "https://gmail.googleapis.com", "GOOGLE_GMAIL_TIMEOUT_MS" = "60000", "GOOGLE_GMAIL_MAX_RETRIES" = "3" }
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"mcp-google-gmail": {
"type": "local",
"command": [
"npx",
"-y",
"[email protected]"
],
"enabled": true,
"environment": {
"GOOGLE_GMAIL_CLIENT_SECRET": "{env:GOOGLE_GMAIL_CLIENT_SECRET}",
"GOOGLE_GMAIL_REFRESH_TOKEN": "{env:GOOGLE_GMAIL_REFRESH_TOKEN}",
"GOOGLE_GMAIL_ACCESS_TOKEN": "{env:GOOGLE_GMAIL_ACCESS_TOKEN}",
"GOOGLE_GMAIL_API_BASE": "https://gmail.googleapis.com",
"GOOGLE_GMAIL_TIMEOUT_MS": "60000",
"GOOGLE_GMAIL_MAX_RETRIES": "3"
}
}
}
}{
"mcpServers": {
"mcp-google-gmail": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"GOOGLE_GMAIL_CLIENT_SECRET": "${GOOGLE_GMAIL_CLIENT_SECRET}",
"GOOGLE_GMAIL_REFRESH_TOKEN": "${GOOGLE_GMAIL_REFRESH_TOKEN}",
"GOOGLE_GMAIL_ACCESS_TOKEN": "${GOOGLE_GMAIL_ACCESS_TOKEN}",
"GOOGLE_GMAIL_API_BASE": "https://gmail.googleapis.com",
"GOOGLE_GMAIL_TIMEOUT_MS": "60000",
"GOOGLE_GMAIL_MAX_RETRIES": "3"
}
}
},
"deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=mcp-google-gmail&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIm1jcC1nb29nbGUtZ21haWxAMS4wLjAiXSwiZW52Ijp7IkdPT0dMRV9HTUFJTF9DTElFTlRfU0VDUkVUIjoiJHtHT09HTEVfR01BSUxfQ0xJRU5UX1NFQ1JFVH0iLCJHT09HTEVfR01BSUxfUkVGUkVTSF9UT0tFTiI6IiR7R09PR0xFX0dNQUlMX1JFRlJFU0hfVE9LRU59IiwiR09PR0xFX0dNQUlMX0FDQ0VTU19UT0tFTiI6IiR7R09PR0xFX0dNQUlMX0FDQ0VTU19UT0tFTn0iLCJHT09HTEVfR01BSUxfQVBJX0JBU0UiOiJodHRwczovL2dtYWlsLmdvb2dsZWFwaXMuY29tIiwiR09PR0xFX0dNQUlMX1RJTUVPVVRfTVMiOiI2MDAwMCIsIkdPT0dMRV9HTUFJTF9NQVhfUkVUUklFUyI6IjMifX0%3D"
}{
"servers": {
"mcp-google-gmail": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"GOOGLE_GMAIL_CLIENT_SECRET": "${GOOGLE_GMAIL_CLIENT_SECRET}",
"GOOGLE_GMAIL_REFRESH_TOKEN": "${GOOGLE_GMAIL_REFRESH_TOKEN}",
"GOOGLE_GMAIL_ACCESS_TOKEN": "${GOOGLE_GMAIL_ACCESS_TOKEN}",
"GOOGLE_GMAIL_API_BASE": "https://gmail.googleapis.com",
"GOOGLE_GMAIL_TIMEOUT_MS": "60000",
"GOOGLE_GMAIL_MAX_RETRIES": "3"
}
}
}
}{
"mcpServers": {
"mcp-google-gmail": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"GOOGLE_GMAIL_CLIENT_SECRET": "${GOOGLE_GMAIL_CLIENT_SECRET}",
"GOOGLE_GMAIL_REFRESH_TOKEN": "${GOOGLE_GMAIL_REFRESH_TOKEN}",
"GOOGLE_GMAIL_ACCESS_TOKEN": "${GOOGLE_GMAIL_ACCESS_TOKEN}",
"GOOGLE_GMAIL_API_BASE": "https://gmail.googleapis.com",
"GOOGLE_GMAIL_TIMEOUT_MS": "60000",
"GOOGLE_GMAIL_MAX_RETRIES": "3"
}
}
}
}extensions:
"mcp-google-gmail":
enabled: true
name: "mcp-google-gmail"
type: stdio
cmd: "npx"
args:
- "-y"
- "[email protected]"
envs:
"GOOGLE_GMAIL_CLIENT_SECRET": "${GOOGLE_GMAIL_CLIENT_SECRET}"
"GOOGLE_GMAIL_REFRESH_TOKEN": "${GOOGLE_GMAIL_REFRESH_TOKEN}"
"GOOGLE_GMAIL_ACCESS_TOKEN": "${GOOGLE_GMAIL_ACCESS_TOKEN}"
"GOOGLE_GMAIL_API_BASE": "https://gmail.googleapis.com"
"GOOGLE_GMAIL_TIMEOUT_MS": "60000"
"GOOGLE_GMAIL_MAX_RETRIES": "3"
timeout: 300
Placeholders to fill from your own secret store: ${GOOGLE_GMAIL_CLIENT_SECRET}, ${GOOGLE_GMAIL_REFRESH_TOKEN}, ${GOOGLE_GMAIL_ACCESS_TOKEN}. The registry never accepts secret values.
This is a local package: the command runs on your machine.
Not scored: fewer than three checks apply, usually because no remote answered a credential-free probe or the server is a local package.
protocol.modern, protocol.stateless, protocol.transport, protocol.list_ttlno remote answered a protocol handshake (not probed yet, unreachable, or local-only)auth.prm, auth.as_metadata, auth.cimdno remote uses OAuthauth.secret_in_urlno templated URLtools.descriptions, tools.description_length, tools.schemas, tools.annotations, tools.directory_hints, tools.token_cost, tools.api_dumptool list unknown (behind auth, not probed, or empty)stability.changes, stability.rug_pulltool list unknowndeps.known_vulnsno known advisory in 99 resolved packagesdeps.mcp_sdk_version@modelcontextprotocol/sdk 1.30.1 has 1 known advisory (GHSA-6qxp-vccf-f47h); update @modelcontextprotocol/sdk to 1.31.0 or laterdeps.resolvable[email protected] resolved: 99 packagesNo tool definition changes recorded. A server's first observation is its baseline; later probes record what changes.
Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed. How it is computed.
+repository +namespace-matches-repo +website ~liveness-unmeasured +updated-26d-ago
Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed. How it is computed.
[email protected] npm98 dependencies, resolved · MCP SDK @modelcontextprotocol/sdk 1.30.1 · advisories checked 2026-10-19
| advisory | severity | package | fixed in |
|---|---|---|---|
| GHSA-6qxp-vccf-f47hMCP TypeScript SDK: OAuth client could send credentials to an authorization server chosen by the MCP server | high | @modelcontextprotocol/[email protected]MCP SDK, direct | fixed in 1.31.0 |
Dependency graphs from deps.dev; advisories from OSV.dev, including the GitHub Advisory Database and the PyPI Advisory Database; all CC BY 4.0. The graph is what a clean install of this version resolves today; nothing was installed or run. How it is checked.
| package | registry | version | runtime | secrets |
|---|---|---|---|---|
mcp-google-gmail | npm | 1.0.0 | – | GOOGLE_GMAIL_CLIENT_SECRET, GOOGLE_GMAIL_REFRESH_TOKEN, GOOGLE_GMAIL_ACCESS_TOKEN |
No tools observed. Local packages are never executed by the registry.
Schemas: list_tools.
And 17 more from this publisher.
{
"name": "io.github.A1-x-Tech/mcp-google-gmail",
"title": "Gmail MCP",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"version": "1.0.0",
"packages": [
{
"version": "1.0.0",
"transport": {
"type": "stdio"
},
"identifier": "mcp-google-gmail",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"environmentVariables": [
{
"name": "GOOGLE_GMAIL_CLIENT_ID",
"description": "Google OAuth2 client id (refresh-token flow)."
},
{
"name": "GOOGLE_GMAIL_CLIENT_SECRET",
"isSecret": true,
"description": "Google OAuth2 client secret (refresh-token flow). Treat it as a secret."
},
{
"name": "GOOGLE_GMAIL_REFRESH_TOKEN",
"isSecret": true,
"description": "Google OAuth2 refresh token, exchanged for access tokens automatically. Treat it as a secret."
},
{
"name": "GOOGLE_GMAIL_ACCESS_TOKEN",
"isSecret": true,
"description": "Static OAuth2 access token (~1h lifetime) — alternative to the refresh-token trio, mostly for testing."
},
{
"name": "GOOGLE_GMAIL_OAUTH_PORT",
"description": "Fixed port for the loopback listener of the in-chat login (127.0.0.1 + PKCE). Set it when the client runs over SSH port forwarding; otherwise a free port is picked per login."
},
{
"name": "GOOGLE_GMAIL_API_BASE",
"default": "https://gmail.googleapis.com",
"description": "API root override."
},
{
"name": "GOOGLE_GMAIL_TIMEOUT_MS",
"default": "60000",
"description": "Per-request timeout in milliseconds."
},
{
"name": "GOOGLE_GMAIL_MAX_RETRIES",
"default": "3",
"description": "Retries on transient errors (429 always; 5xx/network for reads)."
}
]
}
],
"repository": {
"url": "https://github.com/A1-x-Tech/mcp-google-gmail",
"source": "github"
},
"websiteUrl": "https://github.com/A1-x-Tech/mcp-google-gmail#readme",
"description": "MCP server for the Gmail API: search, read and send email, manage drafts, labels and the trash."
}