Google Drive MCP Server — Hosted Storage Integration
MCP Server language Hosted language PublicList, search, upload, share, and organize files in Google Drive — AI-native document and storage management.
Use with AI AssistantsMCP
Connect Claude, Cursor, or any MCP-compatible client — then call tools directly
① Add This MCP Server
Paste into your AI client config — then all its tools are available instantly.
{
"mcpServers": {
"google-drive": {
"url": "https://mcp.aerostack.dev/s/aerostack/mcp-google-drive",
"headers": {
"Authorization": "Bearer YOUR_AEROSTACK_TOKEN"
}
}
}
}Replace YOUR_AEROSTACK_TOKEN with your API token from the dashboard.
② Call a Tool
Ask your AI assistant to call a specific tool, or send raw JSON-RPC:
Natural Language Prompt
“Use the list_files tool to list files in google drive, optionally filtered by folder or mime type”
Using a Workspace?
Add this MCP to your Workspace — your team shares one token, secrets are stored securely, and every AI agent in the workspace can call it without per-user setup.
description Overview
mcp-google-drive — Google Drive MCP Server
List, search, organize, share, and export files in Google Drive from your AI agents.
Google Drive is where teams store documents, spreadsheets, presentations, and more. This MCP server gives your AI agents the ability to search files, organize them into folders, share with specific people, and export Google Docs as PDFs — making it possible to automate file management workflows that would otherwise require manual drag-and-drop.
Live endpoint: https://mcp.aerostack.dev/s/aerostack/mcp-google-drive
What You Can Do
- Search across all Drive files by name or content to find documents relevant to a task or query
- Organize files automatically by moving them into the right folders based on type, date, or metadata
- Share files with teammates or make them public as part of a publishing or handoff workflow
- Export Google Docs, Sheets, or Slides as PDFs for distribution without losing formatting
Available Tools
| Tool | Description |
|---|---|
list_files |
List files in Google Drive, optionally filtered by folder or MIME type |
get_file_metadata |
Get metadata for a specific file (name, size, owner, modified date) |
search_files |
Search for files by name or full text content |
create_folder |
Create a new folder |
move_file |
Move a file to a different folder |
copy_file |
Copy a file |
delete_file |
Delete a file or folder |
share_file |
Share a file with a user or make it publicly accessible |
export_file_as_pdf |
Export a Google Docs/Sheets/Slides file as a PDF (base64 encoded) |
list_shared_drives |
List all shared drives (Team Drives) |
Configuration
| Variable | Required | Description | How to Get |
|---|---|---|---|
GOOGLE_ACCESS_TOKEN |
Yes | Google OAuth2 access token with Drive scope | Google Cloud Console → APIs & Services → Credentials → OAuth 2.0 → generate token with https://www.googleapis.com/auth/drive scope. Use OAuth Playground at developers.google.com/oauthplayground for quick testing. |
Quick Start
Add to Aerostack Workspace
- Go to aerostack.dev → Your Project → MCPs
- Search for "Google Drive" and click Add to Workspace
- Add your
GOOGLE_ACCESS_TOKENunder Project → Secrets
Once added, every AI agent in your workspace can call Google Drive tools automatically — no per-user setup needed.
Example Prompts
"Find all documents in my Drive that mention the Q4 budget and list them with their last modified date"
"Move all files in the Drafts folder to the Published folder and share them with the team@company.com group"
"Export the Product Roadmap Google Doc as a PDF"
Direct API Call
curl -X POST https://mcp.aerostack.dev/s/aerostack/mcp-google-drive \
-H 'Content-Type: application/json' \
-H 'X-Mcp-Secret-GOOGLE-ACCESS-TOKEN: your-oauth-token' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_files","arguments":{}}}'
License
MIT
terminal Tools (10)
Available tools on this MCP server. Each tool can be called directly from any AI agent.
list_files #1 List files in Google Drive, optionally filtered by folder or MIME type
get_file_metadata #2 Get metadata for a specific file in Google Drive
search_files #3 Search for files by name or full text content in Google Drive
create_folder #4 Create a new folder in Google Drive
move_file #5 Move a file to a different folder in Google Drive
copy_file #6 Copy a file in Google Drive
delete_file #7 Delete a file or folder from Google Drive (moves to trash)
share_file #8 Share a file with a user or make it public
export_file_as_pdf #9 Export a Google Docs/Sheets/Slides file as a PDF (base64 encoded)
list_shared_drives #10 List all shared drives (Team Drives) accessible to the user
Details
language Live Endpoint
https://mcp.aerostack.dev/s/aerostack/mcp-google-drive
Sub-50ms globally · Zero cold start
Publisher
Pre-built functions for the most common MCP tool patterns. Clone, extend, and deploy.
More in Storage
Browse Storage MCPs →Box Content Management
by @aerostack
Files, folders, search, metadata, sharing, comments, collaborations via Box's official MCP
Dropbox
by @aerostack
List, upload, download, search, move, and manage files and folders in Dropbox — AI-native cloud storage for any agent.
Pipedrive
by @aerostack
Manage deals, contacts, and sales pipelines in Pipedrive — give AI agents full access to your CRM.
Bitbucket
by @aerostack
Manage Bitbucket repositories, branches, pull requests, commits, and pipelines with natural language.
Frequently asked questions
What is the Google Drive MCP server and what can it do? +
The Google Drive MCP server is hosted on Aerostack and exposes these tools to your AI agent: `list_files`, `get_file_metadata`, `search_files`, `create_folder`, `move_file`. You get one hosted URL — no self-hosting — that works from Claude, Cursor, ChatGPT, Gemini, VS Code, or any MCP-compatible client, and you can share it with your team or combine it with other MCP servers in a workspace.
Is the Google Drive MCP server hosted, or do I have to run it myself? +
It's hosted on Aerostack's edge infrastructure — you don't deploy or maintain anything. Add it to a workspace and you get one authenticated URL, with secrets encrypted, that any AI agent or editor can connect to. Use it solo or share the same URL across your whole team.
Which AI agents and editors can use the Google Drive MCP server? +
Any MCP client: Claude and Claude Code, Cursor, ChatGPT, Gemini, Windsurf, Cline, VS Code, and custom agents. Because it's one hosted URL, the same Google Drive MCP server works everywhere — and you can compose it with other MCP servers, skills, and functions behind a single workspace URL.
How do I install the Google Drive MCP server in Claude Desktop? +
Add the following to your Claude Desktop config (`claude_desktop_config.json`): ```json { "mcpServers": { "@aerostack/mcp-google-drive": { "command": "npx", "args": ["-y", "@aerostack/@aerostack/mcp-google-drive"] } } } ``` Then restart Claude Desktop and the tools will appear automatically.
How do I use the Google Drive MCP server in Cursor? +
In Cursor, open **Settings → MCP** and add: ```json { "name": "@aerostack/mcp-google-drive", "command": "npx", "args": ["-y", "@aerostack/@aerostack/mcp-google-drive"] } ``` Save and reload Cursor. The MCP tools will be available in Agent mode.
Does Google Drive MCP require authentication? +
Yes. Google Drive requires authentication. Check the MCP's documentation for the required credentials.