Skip to main content
Glama
Gmail MCP Server

Gmail MCP Server

by scarnyc

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoHTTP server port (for http/sse transport).3000
LOG_LEVELNoLogging level (DEBUG, INFO, WARNING, ERROR).INFO
READ_ONLYNoRead-only mode — only the gmail.readonly scope is requested and write tools are not registered.false
TRANSPORTNoTransport mode: stdio, http, sse, or streamable-http.stdio
OAUTH_PORTNoOAuth callback port (fallback: 3001, 3002).3000
RATE_LIMIT_MAXNoMax requests per minute per user.100
HITL_TIMEOUT_MSNoHuman-in-the-loop approval expiration in milliseconds (5 min default).300000
GOOGLE_CLIENT_IDYesOAuth 2.0 Client ID from Google Cloud Console.
TOKEN_STORAGE_PATHNoCustom token storage location.~/.gmail-mcp/tokens/
GOOGLE_CLIENT_SECRETYesOAuth 2.0 Client Secret.
TOKEN_ENCRYPTION_KEYYes64-character hex string (256-bit AES key) used to encrypt OAuth tokens at rest.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources