Skip to main content
Glama
Google Workspace MCP Server

Google Workspace MCP Server

by ChinmayNakwa

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ALLOWED_FILE_DIRSNoBroadens the local file read sandbox. Sensitive paths such as .env*, ~/.ssh/, and ~/.aws/ remain blocked.
MCP_ENABLE_OAUTH21NoSet to true to enable OAuth 2.1 PKCE mode. Requires HTTP transport.
WORKSPACE_MCP_PORTNoPort for the HTTP transport, for example 8000.
GOOGLE_OAUTH_CLIENT_IDNoGoogle OAuth client ID from Google Cloud Console.
WORKSPACE_EXTERNAL_URLNoExternal URL for reverse proxy deployments.
GOOGLE_CLIENT_SECRET_PATHNoPath to a client_secret.json file containing the Google OAuth client ID and secret. Environment variables take precedence.
GOOGLE_OAUTH_REDIRECT_URINoOAuth redirect URI, for example http://localhost:${WORKSPACE_MCP_PORT}/oauth2callback.
GOOGLE_OAUTH_CLIENT_SECRETNoGoogle OAuth client secret from Google Cloud Console.
OAUTHLIB_INSECURE_TRANSPORTNoSet to allow insecure HTTP transport for local OAuth development.
WORKSPACE_MCP_ALLOWED_HOSTSNoComma-separated list of hostnames without ports for DNS-rebinding protection. When set, requests whose Host is not loopback, listed, or the host of WORKSPACE_EXTERNAL_URL or an allowed origin get 403. Unset accepts any Host.
WORKSPACE_MCP_MAX_FILE_BYTESNoMemory ceiling for file bytes.
WORKSPACE_MCP_FILES_GCS_BUCKETNoGoogle Cloud Storage bucket name for staging attachments in horizontally scaled or stateless HTTP deployments. Requires the gcs extra.
WORKSPACE_MCP_FILES_GCS_PREFIXNoPrefix for GCS-staged attachment objects.attachments
WORKSPACE_MCP_GOOGLE_API_WORKERSNoNumber of workers for Google API requests.
WORKSPACE_MCP_DISABLE_LOCAL_FILESNoDisable local file access for hosted servers without access to the caller's disk. Tools offer return_upload_url instead.
WORKSPACE_MCP_MAX_OFFICE_XML_BYTESNoMemory ceiling for Office XML bytes.
WORKSPACE_MCP_SESSION_IDLE_TIMEOUTNoSession idle timeout.
WORKSPACE_MCP_TOKEN_VALIDATION_WORKERSNoNumber of workers for external OAuth token validation.
WORKSPACE_MCP_ALLOW_NULL_ORIGIN_CONSENTNoEscape hatch for the nginx Origin: null consent workaround.
WORKSPACE_MCP_READINESS_TIMEOUT_SECONDSNoReadiness probe timeout in seconds.
WORKSPACE_MCP_GOOGLE_API_TIMEOUT_SECONDSNoTimeout in seconds for Google API requests.
WORKSPACE_MCP_STATELESS_INLINE_MAX_BYTESNoMemory ceiling for inline bytes in stateless mode.
WORKSPACE_MCP_TOKEN_VALIDATION_CACHE_TTLNoCache TTL for external OAuth token validation.
WORKSPACE_MCP_OAUTH_PROXY_REQUIRE_CONSENTNoOAuth proxy consent screen behavior. Use always to prompt every time, or remember to show the consent screen once per browser for each MCP client. Any other value fails startup.always

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

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