Skip to main content
Glama
rohinigowdaiah1111

Gmail + Google Docs MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoPort the HTTP transport binds to (only when MCP_TRANSPORT=http)8080
LOG_LEVELNoStructured JSON log verbosity: trace|debug|info|warn|error|fatalinfo
MCP_TRANSPORTNoTransport type: stdio or httpstdio
MCP_AUTH_TOKENNoShared secret remote clients must send as Bearer token (required if MCP_TRANSPORT=http)
MCP_SERVER_NAMENoName this server reports over MCPgoogle-workspace-mcp-server
GOOGLE_CLIENT_IDYesOAuth client ID from Google Cloud Console
ENABLE_HTML_EMAILNoIf false, gmail_create_draft/gmail_send_email reject isHtml: truetrue
ENABLE_DOCS_APPENDNoIf false, the docs_append_text tool is not registeredtrue
GOOGLE_REDIRECT_URINoRedirect URI used for the one-time authorize flowhttp://localhost:3000/oauth2callback
GOOGLE_CLIENT_SECRETYesOAuth client secret from Google Cloud Console
MAX_ATTACHMENT_BYTESNoMax size per email attachment in bytes20971520
MAX_CONFLICT_RETRIESNoRetry attempts for docs_append_text when a concurrent edit is detected3
TOKEN_ENCRYPTION_KEYNoBase64, 32-byte key to encrypt token storage (auto-generated if unset)
RATE_LIMIT_PER_MINUTENoMax calls allowed per tool per rolling 60s window60
ALLOWED_GOOGLE_ACCOUNTSNoComma-separated email allowlist (not yet enforced)
GOOGLE_TOKEN_STORAGE_PATHNoWhere the access/refresh token is stored./tokens.json
GOOGLE_APPLICATION_CREDENTIALSNoPath to a service-account key file (reserved for future use)

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/rohinigowdaiah1111/MCP-server'

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