Google Drive MCP
Access and manage your Google Drive files and folders.
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:3000
- Install Dependencies
npm install
- Generate Google API Token
npm run tokenGenerator
This will open a browser to authenticate with Google and save a token.json file in your project root.
- Build the project
npm run build
-
Install 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
相关服务器
CData IBM Cloud Object Storage
A read-only MCP server for IBM Cloud Object Storage, powered by CData. Requires a separate CData JDBC Driver license.
Koneksi MCP Server (Go)
Provides AI assistants with access to Koneksi Storage for secure file storage and backup operations.
AWS S3 MCP Server
An MCP server for managing files and buckets on AWS S3. Requires AWS credentials for authentication.
Cloudinary MCP Server
Upload images and videos to Cloudinary from compatible MCP clients.
Tencent Cloud COS MCP
Quickly integrate with Tencent Cloud Storage (COS) and Data Processing (CI) capabilities powered
Pinata
Interact with Public and Private IPFS through Pinata's API. Requires a Pinata account and API key.
DropBin
Remote SSE MCP server for hosting HTML webpages and sharing content through temporary URLs without authentication
The Drive AI
Interact with The Drive AI files directly from AI assistants like ChatGPT or Claude using the Model Context Protocol (MCP).
OSS MCP Server
A local server for uploading files to Alibaba Cloud Object Storage Service (OSS).
MCP Backup Server
A server for backing up and restoring data for AI agents and code editing tools.