Google Drive
MCP server for Google Drive that searches and reads files, automatically exporting Google Workspace documents to text-friendly formats like Markdown and CSV.
Install Google Drive
- Published by
- Official (vendor)
- Transport
- Remote (HTTP)
- Authentication
- OAuth
Claude Desktop, Claude Code and Cursor
Add this to the mcpServers object in your client's
config file, then restart the client.
{
"mcpServers": {
"google-drive": {
"type": "http",
"url": "https://drivemcp.googleapis.com/mcp/v1"
}
}
}
VS Code uses a different key — show that config
Identical entry, filed under servers rather than
mcpServers. Put it in
.vscode/mcp.json for one workspace.
{
"servers": {
"google-drive": {
"type": "http",
"url": "https://drivemcp.googleapis.com/mcp/v1"
}
}
}
Before it will answer
Google's Workspace MCP servers are NOT paste-and-go — this is the step people miss. You supply your own OAuth 2.0 client, created in the Google Cloud console as a Web application, and the redirect URI is client-specific (Claude uses https://claude.ai/api/mcp/auth_callback; Antigravity uses https://antigravity.google/oauth-callback). You must also enable TWO services in the project, not one: the product API and its separate MCP service. Here that is drive.googleapis.com and drivemcp.googleapis.com. Scopes are drive.readonly and drive.file — note that drive.file limits the server to files the user opened or created with it, which is the narrower and usually correct choice. This replaces the old modelcontextprotocol reference Google Drive server, which has been archived.
Tools
search
Search for files in Google Drive by text query and return matching file names and MIME types.