mcp-gmail
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| NODE_ENV | No | Environment mode (e.g. 'development' for dev scripts) | |
| GMAIL_SCOPES | No | Space-separated OAuth scopes requested for the access token | https://www.googleapis.com/auth/gmail.modify https://www.googleapis.com/auth/userinfo.email |
| GMAIL_AUTH_PORT | No | Port the auth server listens on. Must match the port in GMAIL_REDIRECT_URI | 3334 |
| GMAIL_CLIENT_ID | Yes | Google Cloud OAuth 2.0 Client ID (e.g. xxxxx.apps.googleusercontent.com) | |
| GMAIL_REDIRECT_URI | No | OAuth redirect URI. Must match the value registered in Google Cloud Console | http://localhost:3334/auth/callback |
| GMAIL_CLIENT_SECRET | Yes | OAuth 2.0 Client Secret from the same credential |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| aboutA | Returns information about this MCP Gmail server |
| authenticateB | Start the OAuth flow to authorize this server against your Gmail account |
| check-auth-statusA | Check the current authentication status with the Gmail API |
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
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/knowledgeislands/mcp-gmail'
If you have feedback or need assistance with the MCP directory API, please join our Discord server