AgentHubAgentHub

mcp-gsheets

MCP ServerMCP Registry官方收录

io.github.freema/mcp-gsheets · v1.8.1

MCP server for Google Sheets API — read, write, format, batch operations.

概览

mcp-gsheets 是一个MCP Server,收录自 官方 MCP Registry。支持 stdio 传输。本页提供 Cursor、Claude Code 等客户端的安装配置片段。

安装

选择你的平台查看安装方式

{
  "mcpServers": {
    "mcp-gsheets": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-gsheets"
      ],
      "env": {
        "GOOGLE_PROJECT_ID": "<GOOGLE_PROJECT_ID>"
      }
    }
  }
}

环境变量

GOOGLE_PROJECT_ID必填

Google Cloud project ID

GOOGLE_APPLICATION_CREDENTIALS可选

Path to service account key JSON file (auth method 1)

GOOGLE_SERVICE_ACCOUNT_KEY可选secret

Service account key as JSON string (auth method 2)

GOOGLE_PRIVATE_KEY可选secret

Service account private key in PEM format (auth method 3)

GOOGLE_CLIENT_EMAIL可选

Service account email (auth method 3)

相关资源

统一 Manifest

{
  "id": "io.github.freema/mcp-gsheets",
  "type": "mcp-server",
  "version": "1.8.1",
  "displayName": "mcp-gsheets",
  "description": "MCP server for Google Sheets API — read, write, format, batch operations.",
  "repository": {
    "url": "https://github.com/freema/mcp-gsheets",
    "source": "github"
  },
  "distribution": {
    "packages": [
      {
        "registryType": "npm",
        "identifier": "mcp-gsheets",
        "version": "1.8.1",
        "transport": "stdio",
        "environmentVariables": [
          {
            "name": "GOOGLE_PROJECT_ID",
            "description": "Google Cloud project ID",
            "isRequired": true
          },
          {
            "name": "GOOGLE_APPLICATION_CREDENTIALS",
            "description": "Path to service account key JSON file (auth method 1)"
          },
          {
            "name": "GOOGLE_SERVICE_ACCOUNT_KEY",
            "description": "Service account key as JSON string (auth method 2)",
            "isSecret": true
          },
          {
            "name": "GOOGLE_PRIVATE_KEY",
            "description": "Service account private key in PEM format (auth method 3)",
            "isSecret": true
          },
          {
            "name": "GOOGLE_CLIENT_EMAIL",
            "description": "Service account email (auth method 3)"
          }
        ]
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "io.github.freema/mcp-gsheets",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.freema%2Fmcp-gsheets/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}
mcp-gsheets — MCP Server 安装与配置 · AgentHub