mcp-server-googledrive
v1.0.0
Published
MCP Server for Google Drive integration
Downloads
4
Readme
Google Drive MCP Server Wrapper
This package provides a Node.js wrapper for the Google Drive MCP (Model Context Protocol) server, making it compatible with Claude Desktop and other MCP clients.
Prerequisites
- Node.js (v14 or later)
- Java 17 or later
- Maven
Installation
You can run this package directly using npx:
npx mcp-server-googledriveOr install it globally:
npm install -g mcp-server-googledrive
mcp-server-googledriveConfiguration for Claude Desktop
Add the following configuration to your Claude Desktop configuration:
{
"mcpServers": {
"googleDrive": {
"command": "npx",
"args": [
"-y",
"mcp-server-googledrive"
],
"env": {}
}
}
}Available Tools
The Google Drive MCP server provides the following tools:
listGoogleDriveFiles- List files in Google Drive based on search criteria- Parameters:
tenantId: The tenant IDintegrationId: The integration IDdriveId: Drive ID to search inquery: Search queryfields: Fields to include in the responsepageSize: Number of results per pagepageToken: Token for pagination
- Parameters:
exportGoogleDriveFile- Export a Google Drive file in the specified format- Parameters:
tenantId: The tenant IDintegrationId: The integration IDfileId: The Google Drive file IDmimeType: The MIME type to export as
- Parameters:
Development
To build and test the MCP server locally:
Build the Java application:
cd .. mvn clean packageRun the Node.js wrapper:
cd mcp-server-wrapper node index.jsTest the MCP server:
curl http://localhost:8093/api/v1/info curl http://localhost:8093/api/v1/tools
Publishing
To publish this package to npm:
npm login
npm publish --access public