Skip to main content
Glama
dylancaponi

Google Drive MCP Server

by dylancaponi

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GDRIVE_OAUTH_PATHYesPath to your GCP OAuth client keys JSON file. Defaults to gcp-oauth.keys.json relative to the package.gcp-oauth.keys.json
GDRIVE_DOWNLOAD_DIRNoDirectory where the download and export_pdf tools save files. Defaults to System temp dir + /gdrive-downloads.
GDRIVE_ENABLE_SHEETSNoSet to 'true' to enable the sheets_read tool and request the spreadsheets.readonly OAuth scope. Requires enabling the Google Sheets API in your GCP project and re-running auth.false
GDRIVE_ENABLE_UPLOADNoSet to 'true' to enable the upload tool. Upgrades the OAuth scope from drive.readonly to drive (full read/write). Requires re-running auth.false
GDRIVE_CREDENTIALS_PATHYesPath to where the saved OAuth credentials (tokens) are stored.~/.gdrive-server-credentials.json
GDRIVE_ENABLE_RESOURCESNoSet to 'true' to enable MCP resource handlers (gdrive:/// URIs). Disabled by default because some MCP clients call resources/list on startup, which triggers drive.files.list() and can hang.false

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/dylancaponi/gdrive-mcp-server'

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