Provides tools for interacting with Google Drive, allowing for listing files and retrieving detailed metadata for specific files by their ID.
Click on "Install 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 MCP Serverlist the files in my Google Drive"
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 Server
This is a simple MCP server that integrates with Google Drive.
Prerequisites
Node.js: Version 18 or higher is recommended (the current environment is using 16, so you might need to upgrade for full compatibility).
Google Cloud Project:
Go to the Google Cloud Console.
Create a project.
Enable the Google Drive API.
Create a Service Account and download the JSON key file.
Authentication:
Set the environment variable
GOOGLE_APPLICATION_CREDENTIALSto the path of your JSON key file.Alternatively, share the folder/files you want to access with the service account's email address.
Configuration for Claude Desktop
Add the following to your Claude Desktop configuration file:
Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Tools Provided
list_files: List files in your Google Drive.get_file_info: Get metadata for a specific file by its ID.