@this-npm-test-org/connection-google-drive-mcp
v0.1.3
Published
MCP server for Google Drive. Read files, search by name or content, list folders, and access Google Docs/Sheets/Slides. OAuth2.
Downloads
444
Readme
Google Drive
MCP server for reading and searching Google Drive files. List folders, read document content, search by name or full-text content, and access Google Docs, Sheets, and Slides. OAuth2 authentication with configurable scopes.
Useful for finding and reading company documents, pulling content from shared drives, searching meeting notes, accessing templates, and any workflow that needs to reference files stored in Google Drive.
Install
amodal install mcp google-driveTools exposed
- search_files — Search Drive files by name, content, or MIME type. Supports Google Drive query syntax for advanced filters (folder, owner, modified date, shared status). Returns file ID, name, MIME type, modified date, and owner.
- read_file — Read the content of a file by ID. Google Docs are exported as plain text. Google Sheets are exported as CSV. PDFs and other binary formats return extracted text when possible.
- list_folder — List files and subfolders in a Drive folder by ID. Returns name, type, size, and last modified date. Use
rootfor the top-level folder. - get_file_metadata — Get detailed metadata for a file: name, MIME type, size, created date, modified date, owner, sharing permissions, and parent folder.
- download_file — Download a file to the local filesystem. Useful for binary files that need further processing (images, PDFs, spreadsheets).
Configuration
env:
GOOGLE_CLIENT_ID: "xxxxxxxxxxxx.apps.googleusercontent.com"
GOOGLE_CLIENT_SECRET: "GOCSPX-xxxxxxxxxxxxxxxxxxxxxxxx"
GOOGLE_REDIRECT_URI: "http://localhost:3000/callback"GOOGLE_CLIENT_ID— Google Cloud OAuth client ID. Required.GOOGLE_CLIENT_SECRET— Google Cloud OAuth client secret. Required.GOOGLE_REDIRECT_URI— OAuth callback URL. Defaults tohttp://localhost:3000/callback.
Scopes: https://www.googleapis.com/auth/drive.readonly. Token auto-refreshes.
Example usage
- "Find the Q4 planning document in the Strategy folder"
- "Search for all meeting notes from this month that mention the product launch"
- "Read the contents of our employee handbook"
- "List everything in the shared Engineering folder"
