# Google Drive MCP Server

> **Google Drive MCP Server** is a hosted, multitenant Model Context Protocol (MCP) server run by **MewCP** (https://mewcp.com), giving AI agents managed access to Google Drive.
>
> MewCP takes care of all MCP infrastructure for you — credential storage, OAuth flows,
> token refresh, and production-grade auto-scaling — so your AI agents can connect to
> third-party services and run freely without you managing any MCP server yourself.
>
> Server page:  https://mewcp.com/mcp/google-drive
> MewCP docs:   https://docs.mewcp.com
> All servers:  https://mewcp.com/servers (JSON: https://mewcp.com/api/servers)
> About MewCP:  https://mewcp.com/llms.txt

---

## About

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.

---

## Details

- Server ID: `google-drive`
- Version: 1.0.0
- Tools: 9
- Authentication: OAuth, managed by MewCP
- Calls served: 6
- Transport: http

---

## Access

The gateway URL below serves your **entire MewCP toolset**, not this server on its
own. Pasting a config snippet is not enough — Google Drive has to be in the toolset
first. In order:

1. Add Google Drive to your toolset at https://mewcp.com/mcp/google-drive
2. Connect your Google Drive account (OAuth); MewCP stores the credential and attaches it to each call
3. Add the gateway URL to your client (see Connect below). It signs in with OAuth
   the first time it connects, so there is no key to copy.

Once connected, an agent does **not** see this server's tools as top-level tools.
It sees four meta-tools and reaches everything through them:

- `search(query)` — find tools by keyword across the toolset
- `get_schema(tools)` — full description and arguments for the tools you picked
- `list_accounts(provider)` — only when one app has several connected accounts
- `call_tool(server_maskedId, tool_name, args)` — execute

So the list below is what `search` can return for this server, not a set of
callable tool names on their own.

---

## Tools (9)

Descriptions are truncated to 160 characters; call `get_schema`
for the full text and the argument schema. Where a tool is annotated, its type
is shown — treat `destructive` as irreversible.

- `list_files` _(write)_ — List files in Google Drive. Supports filtering by folder, name, and type.
- `get_file_metadata` _(write)_ — Get metadata for a specific file by ID
- `download_file` _(write)_ — Download a file from Google Drive to local disk
- `upload_file` _(write)_ — Upload a file to Google Drive
- `create_folder` _(write)_ — Create a new folder in Google Drive
- `delete_file` _(write)_ — Delete a file or folder from Google Drive
- `search_files` _(write)_ — Search for files in Google Drive using advanced queries
- `share_file` _(write)_ — Share a file with a user or make it publicly accessible
- `get_file_content` _(write)_ — Get the content of a text file from Google Drive

---

## Connect

- URL: https://gateway.mewcp.com/personal/mcp
- Transport: Streamable HTTP (remote). Nothing to install.
- Sign-in: OAuth. On first connect the client opens a browser window to sign in
  to MewCP and approve access. No API key.
- Headless clients (SDKs, servers without a browser) send an API key instead:
  `Authorization: Bearer <API_KEY>`, key from https://mewcp.com/dashboard/api-keys

Agents setting themselves up: follow https://mewcp.com/SKILL.md

Step-by-step guide per client:

- Claude Desktop: https://mewcp.com/mcp/google-drive/connect/claude
- ChatGPT: https://mewcp.com/mcp/google-drive/connect/chatgpt
- VS Code: https://mewcp.com/mcp/google-drive/connect/vscode
- Cursor: https://mewcp.com/mcp/google-drive/connect/cursor
- Codex: https://mewcp.com/mcp/google-drive/connect/codex
- Claude Code: https://mewcp.com/mcp/google-drive/connect/claude-code
- OpenCode: https://mewcp.com/mcp/google-drive/connect/opencode
- OpenClaw: https://mewcp.com/mcp/google-drive/connect/openclaw
- Antigravity: https://mewcp.com/mcp/google-drive/connect/antigravity
- Hermes: https://mewcp.com/mcp/google-drive/connect/hermes
- DeepSeek Harness: https://mewcp.com/mcp/google-drive/connect/dsh
- Python: https://mewcp.com/mcp/google-drive/connect/python
- TypeScript: https://mewcp.com/mcp/google-drive/connect/typescript