drio
Open app

Google Drive server

Source

Model Context Protocol (MCP) Server for reading from Google Drive and editing Google Sheets

Catalog onlyCatalog onlySTDIO

Overview

MCP GDrive is a server application that integrates with Google Drive, allowing users to read, search, and edit Google Sheets directly through the Model Context Protocol (MCP).

To use MCP GDrive, set up a Google Cloud project, enable the Google Drive API, configure OAuth consent, and authenticate your application. You can then use various tools provided to interact with files and spreadsheets.

  • Search files in Google Drive with flexible queries. - Read contents of files stored in Google Drive. - Access and read data from Google Sheets with customizable range options. - Update specific cell values in Google Sheets.
  1. Automating data retrieval and updates in Google Sheets.
  2. Extracting and processing file contents stored in Google Drive.
  3. Building applications that require dynamic interaction with Google Drive and Sheets.

Add to your AI client

Use these steps to connect Google Drive server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mcp-gdrive-isaacphi": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-gdrive-isaacphi"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mcp-gdrive-isaacphi": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-gdrive-isaacphi"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-gdrive-isaacphi": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-gdrive-isaacphi"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp-gdrive-isaacphi": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-gdrive-isaacphi"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-gdrive-isaacphi": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-gdrive-isaacphi"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-gdrive-isaacphi": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-gdrive-isaacphi"
      ]
    }
  }
}

FAQ

What do I need to start using MCP GDrive?

You'll need to create a Google Cloud project and enable the necessary APIs.

Is there a limit on the number of files I can access?

There may be limitations based on Google Drive's API usage policies, but the server facilitates efficient searching and accessing of files.

Can I use this server for other types of Google Workspace files?

Yes, the server supports various file types with automatic conversion for Google Docs, Sheets, and Presentations.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":407,"uuid":"fa13c6f4-2693-4f2e-bef4-4b2d75039458","name":"mcp-gdrive","title":"Google Drive server","description":"Model Context Protocol (MCP) Server for reading from Google Drive and editing Google Sheets","avatar_url":"https://avatars.githubusercontent.com/u/3385849?v=4","created_at":"2024-12-15T06:46:33.411Z","updated_at":"2024-12-16T06:52:36.377Z","status":"created","author_name":"isaacphi","author_avatar_url":"https://avatars.githubusercontent.com/u/3385849?v=4","tags":"[]","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/isaacphi/mcp-gdrive","target":"_self","content":"$29","summary":"$2a","img_url":"https://camo.githubusercontent.com/4cf9a125ae7c899590d4266194ff6fcbcb50b5ea1a997070b515207fe1a4c029/68747470733a2f2f692e696d6775722e636f6d2f546279563659712e706e67","type":null,"metadata":"{\"star\":\"86\",\"license\":\"MIT license\",\"language\":\"TypeScript\",\"is_official\":false,\"latest_commit_time\":\"2025-05-07 10:03:09\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]