Skip to main content
Glama
quinnjr

@quinnjr/google-drive-mcp

by quinnjr

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoThe hostname or IP address to bind the server to.127.0.0.1
PORTNoThe port number to listen on.3000
MCP_PATHNoThe URL path for the MCP endpoint./mcp
LOG_LEVELNoLog level: debug, info, warn, error, silent.info
MCP_STATEFULNo1 issues an Mcp-Session-Id per client and supports SSE GET stream and DELETE termination. 0 serves each POST from a fresh server instance.1
GOOGLE_SCOPESNoComma-separated list of Google Drive scopes. Default scopes are drive and drive.appdata.
MCP_AUTH_TOKENNoRequired bearer token for authentication. Compared in constant time. The server warns loudly when unset.
DRIVE_READ_ONLYNo1 registers only the read-only tools; nothing that writes is even advertised.0
GOOGLE_CLIENT_IDNoOAuth2 client ID.
MCP_MAX_SESSIONSNoCap on concurrent sessions; further initialize calls get a 503.256
MCP_ALLOWED_HOSTSNoComma-separated Host allowlist. Set this whenever the server is not bound to loopback.
MCP_ALLOWED_ORIGINSNoComma-separated Origin allowlist for browser clients. Once set, a request with no Origin header is rejected too. Leave empty for CLI clients.
GOOGLE_CLIENT_SECRETNoOAuth2 client secret.
GOOGLE_REFRESH_TOKENNoOAuth2 refresh token.
MCP_MAX_REQUEST_BYTESNoLargest accepted JSON body. Auth is checked before the body is read.4194304
DRIVE_MAX_INLINE_BYTESNoCap on bytes returned inline from downloads, exports and resource reads.8388608
DRIVE_ALLOW_LOCAL_FILESNoGates media.localPath uploads and destinationPath downloads. While off, destinationPath is absent from the tool schemas entirely.0
MCP_SESSION_TTL_SECONDSNoIdle time after which a session is evicted and its server torn down.1800
GOOGLE_TOKEN_PASSTHROUGHNoSet to 1 to enable per-request token mode. Each client sends X-Google-Access-Token header; falls back to server's own credentials when absent.
GOOGLE_IMPERSONATE_SUBJECTNoEmail of a Workspace user to impersonate via domain-wide delegation.
GOOGLE_SERVICE_ACCOUNT_KEY_FILENoPath to a service account key file.
GOOGLE_SERVICE_ACCOUNT_KEY_JSONNoJSON string containing service account key.

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

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/quinnjr/google-drive-mcp'

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