mcp-gdrive
MCP server for Google Drive integration
How to use
The mcp-gdrive server is designed to facilitate seamless integration between your applications and Google Drive through the Model Context Protocol (MCP). By leveraging this server, you can easily manage files, share documents, and perform various operations in Google Drive, streamlining workflows for developers who require efficient file handling capabilities within their applications.
Once connected to the mcp-gdrive server, you can interact with Google Drive by sending specific commands to manage files and folders. You can create, read, update, and delete files directly from your application by structuring your queries according to the MCP standard. This server supports operations such as file uploads, downloads, and sharing, making it ideal for applications that require dynamic file management in the cloud.
How to install
To install the mcp-gdrive server, make sure you have Node.js installed on your machine. You can quickly get started with the following options:
Option A: Quick start with npx
If you want to quickly run the server without a full installation, use the following command:
npx -y danfeder/mcp-gdrive-server
Option B: Global install alternative
For a global installation, you can clone the repository and install the required dependencies:
git clone https://github.com/danfeder/mcp-gdrive-server.git
cd mcp-gdrive-server
npm install
After installation, you can start the server using:
npm start
Additional notes
When configuring the mcp-gdrive server, ensure you set up the necessary environment variables for Google Drive API authentication, such as GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET. A common gotcha is forgetting to enable the Google Drive API in your Google Cloud project, which can lead to authentication errors. Double-check your OAuth 2.0 credentials to avoid issues during integration.