google-drive-mcp
by piotr-agier·★ 151·Score 49
A comprehensive MCP server for managing Google Drive files, Docs, Sheets, Slides, and Calendar with OAuth authentication.
Overview
The Google Drive MCP server provides robust integration with Google's ecosystem, allowing users to manage files, documents, spreadsheets, presentations, and calendar events through a standardized MCP interface. It supports both individual Google Drives and Shared Drives with comprehensive file operations including creation, editing, moving, copying, and deletion. The implementation uses TypeScript and includes advanced features like surgical text editing in Google Docs, spreadsheet manipulation, and Google Meet integration for calendar events.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this MCP server if you need to integrate with Google Workspace services and want to manage files, documents, and calendars through MCP.
When NOT to choose this
Don't choose this if you need access to non-Google cloud storage services or prefer a self-hosted solution without OAuth dependencies.
Tools this server exposes
12 tools extracted from the READMEcreate_google_docCreates a new Google Document with specified content.
create_google_sheetCreates a new Google Spreadsheet with specified columns and data.
create_google_presentationCreates a new Google Slides presentation with specified slides.
list_filesLists files and folders in Google Drive with optional filtering.
search_filesSearches for files in Google Drive based on query criteria.
update_google_docUpdates content in an existing Google Document.
update_google_sheetUpdates cells or ranges in an existing Google Spreadsheet.
create_calendar_eventCreates a new calendar event in Google Calendar.
list_calendar_eventsLists calendar events from Google Calendar.
update_calendar_eventUpdates an existing calendar event in Google Calendar.
delete_fileDeletes a file or folder from Google Drive.
move_fileMoves a file or folder to a different location in Google Drive.
Comparable tools
Installation
Installation
Option 1: Use with npx (Recommended)
# Run the server (authentication happens automatically on first run)
npx @piotr-agier/google-drive-mcp
# Optional: Run authentication manually if needed
npx @piotr-agier/google-drive-mcp authOption 2: Local Installation
- Clone and install:
``bash git clone https://github.com/piotr-agier/google-drive-mcp.git cd google-drive-mcp npm install ``
- Set up credentials:
```bash # Copy the example file cp gcp-oauth.keys.example.json gcp-oauth.keys.json
# Edit gcp-oauth.keys.json with your OAuth client ID ```
- Authenticate (optional):
``bash npm run auth ``
Claude Desktop Configuration
{
"mcpServers": {
"google-drive": {
"command": "npx",
"args": ["@piotr-agier/google-drive-mcp"]
}
}
}FAQ
- What Google services does this MCP server integrate with?
- It integrates with Google Drive, Docs, Sheets, Slides, and Calendar, providing file management and content creation capabilities for each.
- How is authentication handled?
- The server uses OAuth 2.0 with automatic token refresh. It requires creating a Google Cloud Project with the necessary APIs and setting up OAuth credentials for a desktop application.
Compare google-drive-mcp with
Last updated · Auto-generated from public README + GitHub signals.