mcp-gdrive
Local setup for Google Drive MCP server
How to use
The mcp-gdrive server provides a local setup for utilizing Google Drive through the Model Context Protocol (MCP). This server allows developers to seamlessly interact with Google Drive, enabling capabilities such as file uploads, downloads, and modifications directly from their applications. By implementing this MCP server, you can streamline file management and enhance collaboration within your development projects.
Once connected to the mcp-gdrive server, you can interact with Google Drive by executing commands that leverage the MCP's capabilities. You can perform operations such as retrieving file lists, uploading new files, and modifying existing documents. While specific tools are not documented, utilizing standard MCP commands will allow you to manage files efficiently within your Google Drive environment. Explore the available commands in the repository to optimize your interactions.
How to install
Prerequisites
- Ensure you have Node.js installed on your machine. You can download it from nodejs.org.
- Python may be required for specific functionalities, so ensure you have it installed as well.
Option A: Quick start with npx
If you prefer a quick setup, you can use npx to launch the server without installing it globally:
npx -y mcp-gdrive
Option B: Global install alternative
For a global installation, use the following command:
npm install -g mcp-gdrive
After installation, you can start the server using:
mcp-gdrive start
Additional notes
When configuring the mcp-gdrive server, ensure that you have the correct OAuth credentials set up in your environment variables to authenticate with Google Drive. Common issues may arise from incorrect permissions, so be sure to check that your Google API settings allow the necessary access for file operations. Additionally, familiarize yourself with the MCP documentation for troubleshooting and advanced configurations.