Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoServer port3000
DB_URLNoSQLite database path./data/gmail-mcp.db
BASE_URLYesPublic URL of the server
JWT_SECRETYesSecret for signing MCP-level JWTs
ALLOWED_ORIGINSNoComma-separated CORS origins
GOOGLE_CLIENT_IDYesGoogle OAuth client ID
OAUTH_REDIRECT_URIYesOAuth callback URL (e.g., http://localhost:3000/oauth/callback)
GOOGLE_CLIENT_SECRETYesGoogle OAuth client secret
TOKEN_ENCRYPTION_KEYYes32-byte key for encrypting stored tokens

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

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