Google Drive MCP
Provides secure access to Google Drive files and folders, allowing interaction with Drive content through the Model Context Protocol.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Google Drive MCPlist the files in my 'Project Docs' folder"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Google Drive MCP
This project connects Claude Desktop to your Google Drive via the Model Context Protocol (MCP), allowing Claude to access and interact with your Drive files and folders securely.
Setup and Usage
Follow these steps in order to get the app running:
Get Google OAuth Credentials
Go to the Google Cloud Console Credentials page to create a project and enable the Google Drive API.
Create OAuth 2.0 Client IDs credentials with application type Desktop app.
Note your Client ID, Client Secret, and set your Redirect URI to
http://localhost:3000.
Create a
.envFileIn the root of your project, create a
.envfile and add the following variables:
CLIENT_ID=your-client-id-here
CLIENT_SECRET=your-client-secret-here
REDIRECT_URI=http://localhost:3000Install Dependencies
npm installGenerate Google API Token
npm run tokenGeneratorThis will open a browser to authenticate with Google and save a token.json file in your project root.
Build the project
npm run buildInstall Claude Desktop (if not already installed)
Download and install Claude Desktop from https://claude.ai/download.
Configure Claude Desktop MCP Servers
In a text editor open the Claude Desktop config file at:
macOS/Linux:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
Add the following MCP server configuration, adjusting the path to your build output and environment variables accordingly:
{
"mcpServers": {
"googleDrive": {
"command": "node",
"args": ["path/to/your/build/index.js"],
"env": {
"CLIENT_ID": "your-actual-client-id",
"CLIENT_SECRET": "your-actual-client-secret",
"REDIRECT_URI": "http://localhost:3000"
}
}
}
}Save the file
Restart Claude Desktop
This server cannot be deployed
Maintenance
Related MCP Connectors
Give Claude only the Google Drive files you choose. Every action logged.
Multiple Google accounts (Gmail, Calendar, Drive, Contacts, Tasks) in one Claude connector.
- platform7nOAuthtech.p7n
Connect Claude to your Platform7n workspaces — chat, links, and tasks. One-click OAuth.
Personal CRM for Claude. Contacts live as plain-text files in your own Google Drive.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceConnects Claude to Google Docs, allowing users to list, read, create, update, search, and delete documents in their Google Drive through natural language interactions.885 npm1MIT
- FlicenseNot gradedqualityNot gradedmaintenanceConnects AI assistants like Claude to Google Drive, enabling them to browse, read, search, create, and edit files and folders using Google's official API with secure authentication.-
- AlicenseNot gradedqualityDmaintenanceConnects Claude Desktop to Google Docs and Google Drive, enabling comprehensive document reading, writing, formatting, structuring, and complete Drive file management including shared drives support through OAuth 2.0 authentication.6 npm3MIT
- FlicenseBqualityDmaintenanceConnects Claude Desktop to Google Drive to access and analyze IELTS study materials without downloading, supporting PDFs, DOCX, and Google Docs.101-