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 |
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 | |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/verymbuemo/gmail-streamable-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server