Access and manage files, folders and shared content stored in Google Drive. Upload, download, organize and search documents while working with permissions and collaborative file storage.
The official MCP SDK for TypeScript lets Node and edge services call MCP servers directly, with an API key for headless auth.
This guide connects Google Drive to TypeScript through MewCP, so TypeScript can use Google Drive's 9 tools, like list_files, get_file_metadata and download_file, without your Google Drive credentials ever reaching the app.
Google Drive signs in through managed OAuth. MewCP stores the token encrypted, refreshes it before it expires and injects it only at call time. Your agent never holds it, so it can never leak it.
More apps
Work with pages, databases, blocks and collaborative knowledge stored in Notion. Create, update and organize content while building workflows around structured information and documentation.
LlamaParse MCP lets AI agents extract structured, machine-readable data from complex documents using LlamaParse, supporting document parsing, OCR, tables, images, and agentic document workflows.
Connect Craft to AI assistants and developer tools to search, manage, and work with documents, daily notes, and tasks. Create, update, and delete documents, manage collections, filter content by tags and dates, and use your Craft workspace as a live knowledge source for AI-powered workflows and automation
Mintlify Admin MCP lets AI agents create and edit documentation, restructure navigation, modify site configuration and SEO settings, manage branches, and open pull requests directly in Mintlify.
Other clients
Google Drive works the same way in every client below. Pick yours for its own guide.
Free to start.
Scope access to the exact Google Drive tools and accounts you allow, work and personal side by side. Anything outside that scope is refused at call time, even when the model asks for it.
Each call is logged: what ran, on which account, and whether it worked. Failures come back structured, so the agent knows whether to retry instead of guessing.
Every app sits behind one secure MCP URL, and there is no server for you to deploy or keep running. Add an integration in the dashboard and it is live on the next call, with no config to change and no new credentials to wire up. Tools load only when a task needs them, so your agent stays fast and focused however many apps you connect.
SDK clients sign in with an API key. Create one in your dashboard and replace API_KEY in the code below.
SDK clients run without a browser, so they sign in with your API key. Needs Node 18+ as an ES module (for example npx tsx script.ts).
List files in Google Drive. Supports filtering by folder, name, and type.
Get metadata for a specific file by ID
Download a file from Google Drive to local disk
Upload a file to Google Drive
Create a new folder in Google Drive
Delete a file or folder from Google Drive
Search for files in Google Drive using advanced queries
Share a file with a user or make it publicly accessible
Get the content of a text file from Google Drive