Gmail MCP Server
by scarnyc
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | HTTP server port (for http/sse transport). | 3000 |
| LOG_LEVEL | No | Logging level (DEBUG, INFO, WARNING, ERROR). | INFO |
| READ_ONLY | No | Read-only mode — only the gmail.readonly scope is requested and write tools are not registered. | false |
| TRANSPORT | No | Transport mode: stdio, http, sse, or streamable-http. | stdio |
| OAUTH_PORT | No | OAuth callback port (fallback: 3001, 3002). | 3000 |
| RATE_LIMIT_MAX | No | Max requests per minute per user. | 100 |
| HITL_TIMEOUT_MS | No | Human-in-the-loop approval expiration in milliseconds (5 min default). | 300000 |
| GOOGLE_CLIENT_ID | Yes | OAuth 2.0 Client ID from Google Cloud Console. | |
| TOKEN_STORAGE_PATH | No | Custom token storage location. | ~/.gmail-mcp/tokens/ |
| GOOGLE_CLIENT_SECRET | Yes | OAuth 2.0 Client Secret. | |
| TOKEN_ENCRYPTION_KEY | Yes | 64-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
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityInactive
ResponsivenessNo recent community issues