Skip to main content
Glama
sebastianall1977

Gmail MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoPort for Streamable HTTP transport method3000
CLIENT_IDNoGoogle API client ID (found in GMAIL_OAUTH_PATH). Required for remote server connection.
CLIENT_SECRETNoGoogle API client secret (found in GMAIL_OAUTH_PATH). Required for remote server connection.
REFRESH_TOKENNoOAuth refresh token (found in GMAIL_CREDENTIALS_PATH). Required for remote server connection.
MCP_CONFIG_DIRNoDirectory for storing configuration files~/.gmail-mcp
AUTH_SERVER_PORTNoPort for the temporary OAuth authentication server3000
GMAIL_OAUTH_PATHNoPath to the Google API Client file. Default: MCP_CONFIG_DIR/gcp-oauth.keys.json
TELEMETRY_ENABLEDNoEnable telemetrytrue
GMAIL_CREDENTIALS_PATHNoPath to the user credentials file. Default: MCP_CONFIG_DIR/credentials.json

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

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/sebastianall1977/gmail-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server