Gmail MCP Server
by verymbuemo
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | Port for the MCP server (Node.js). | 3000 |
| AUTH_ENABLED | No | Enable authentication. | true |
| OAUTH_SCOPES | No | OAuth scopes. | https://www.googleapis.com/auth/gmail.readonly https://www.googleapis.com/auth/gmail.compose https://www.googleapis.com/auth/gmail.modify |
| AUTH_STRATEGY | No | Authentication strategy. | oauth |
| OAUTH_TOKEN_URL | No | OAuth token endpoint. | https://oauth2.googleapis.com/token |
| RS_TOKENS_ENC_KEY | No | Encryption key for OAuth tokens (required for Cloudflare Worker deployment, 32-byte base64url). | |
| OAUTH_REDIRECT_URI | No | OAuth redirect URI for the client. | alice://oauth/callback |
| PROVIDER_CLIENT_ID | Yes | Google OAuth client ID (required). | |
| OAUTH_REVOCATION_URL | No | OAuth revocation endpoint. | https://oauth2.googleapis.com/revoke |
| PROVIDER_ACCOUNTS_URL | No | OAuth provider accounts URL. | https://accounts.google.com |
| PROVIDER_CLIENT_SECRET | Yes | Google OAuth client secret (required). | |
| OAUTH_AUTHORIZATION_URL | No | OAuth authorization endpoint. | https://accounts.google.com/o/oauth2/v2/auth |
| OAUTH_EXTRA_AUTH_PARAMS | No | Additional OAuth authorization parameters. | access_type=offline&prompt=consent |
| OAUTH_REDIRECT_ALLOWLIST | No | Comma-separated list of allowed redirect URIs. | alice://oauth/callback,http://127.0.0.1:3001/oauth/callback |
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 | |