drio
Open app

MCP Google Spreadsheet

Source

MCP Server for Google Spreadsheet

Catalog onlyCatalog onlySTDIO

Overview

MCP Google Spreadsheet is a tool that allows AI assistants to operate Google Spreadsheet and Google Drive files through the Model Context Protocol (MCP) server.

To use MCP Google Spreadsheet, install it via Go, set the required environment variables, and run the command to start the server. You will need to authenticate with Google APIs the first time you run it.

  • List, copy, and rename files in Google Drive. - List, copy, rename sheets, and update cell data in Google Spreadsheet. - Batch update cells for efficient data management.
  1. Automating data entry and management in Google Sheets.
  2. Integrating AI assistants like Claude or ChatGPT to interact with Google Drive and Sheets.
  3. Streamlining workflows by managing files and sheets programmatically.

Add to your AI client

Use these steps to connect MCP Google Spreadsheet 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-google-spreadsheet-kazz187": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-google-spreadsheet-kazz187"
      ]
    }
  }
}

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-google-spreadsheet-kazz187": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-google-spreadsheet-kazz187"
      ]
    }
  }
}

Claude Code

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

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-google-spreadsheet-kazz187": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-google-spreadsheet-kazz187"
      ]
    }
  }
}

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-google-spreadsheet-kazz187": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-google-spreadsheet-kazz187"
      ]
    }
  }
}

Windsurf

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

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-google-spreadsheet-kazz187": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-google-spreadsheet-kazz187"
      ]
    }
  }
}

Cline

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

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-google-spreadsheet-kazz187": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-google-spreadsheet-kazz187"
      ]
    }
  }
}

FAQ

What are the prerequisites for using MCP Google Spreadsheet?

You need Go 1.24 or higher and enabled Google Drive and Sheets APIs in a Google Cloud project.

Is there a security measure in place?

Yes, access is restricted to files within the specified folder ID, and directory traversal attacks are prevented.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":3393,"uuid":"1ace24ee-7d28-4879-b0ab-d9069ead6436","name":"mcp-google-spreadsheet","title":"MCP Google Spreadsheet","description":"MCP Server for Google Spreadsheet","avatar_url":"https://avatars.githubusercontent.com/u/761734?v=4","created_at":"2025-03-19T08:35:09.049Z","updated_at":"2025-03-19T09:13:03.874Z","status":"created","author_name":"kazz187","author_avatar_url":"https://avatars.githubusercontent.com/u/761734?v=4","tags":"[]","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/kazz187/mcp-google-spreadsheet","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"16\",\"license\":\"MIT license\",\"language\":\"Go\",\"is_official\":false,\"latest_commit_time\":\"2025-04-21 11:38:27\"}","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"}]]}]