Skip to main content
Glama

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 fileMCP_CONFIG_DIR/gcp-oauth.keys.json
TELEMETRY_ENABLEDNoEnable telemetrytrue
GMAIL_CREDENTIALS_PATHNoPath to the user credentials fileMCP_CONFIG_DIR/credentials.json

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

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

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