独立运营 · 不出售排名位置  · 我们怎么评估工具 →
Anclum 提交收录
R

rohans2/mcp-google-sheets

Read and edit Google Sheets

装之前:没有可直接复制的命令 · 许可证未标注 · 链接可访问

第一步:git clone https://github.com/yourusername/mcp-google-sheets.git

在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网

我们没有从该仓库取到可核对的安装命令,也没有公开的远端端点。这两样都没有时,我们不出配置——编一条出来比不给更糟。 各客户端的接法 →

来源明细
收录自 abordage/awesome-mcp 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-11-05 · 最近见到 2026-11-14 · 共见到 10 次 · 被 10 个来源列出
评分构成
综合分 1,003 · 10 个来源 · mcp
常见问题(答案都来自我们的记录)
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
我们收录于 2026-11-05;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。

# MCP-Google-Sheets

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

A TypeScript Model Context Protocol (MCP) server that lets AI agents securely interact with Google Sheets via well-typed “tools.” Built on Bun and the @modelcontextprotocol/sdk, it supports both OAuth2 and Service-Account flows.
## 🚀 Features
Authentication
Service-Account via base64-encoded CREDENTIALSCONFIG
OAuth2 using credentials.json + token.json for user-scoped access
Tools
create
Creates a new spreadsheet (and moves it into your Drive folder if configured).
listSheets
Lists all sheet tabs in a given spreadsheet.
renameSheet
Renames an existing sheet tab.
createSheet
Adds a new sheet tab to a spreadsheet.
spreadsheetInfo
Fetches metadata (title, sheet IDs, grid properties) for a spreadsheet.
listSpreadsheets
Lists all spreadsheets in your configured Drive folder (or My Drive).
shareSpreadsheet
Shares a spreadsheet with users (reader/commenter/writer) and sends notifications.
sheetData
Reads cell values from a sheet and range (or whole sheet).
updateCells
Writes a 2D array of values into an A1-style range.
batchUpdate
Applies multiple range updates in a single request.
addRows / addColumns
Inserts rows or columns at a specified index.
copySheet
Copies a sheet tab between spreadsheets (optionally renaming it).
## 📋 Prerequisites
Bun (v1.0+) installed and on your PATH
A Google Cloud project with:
Sheets API & Drive API enabled
An OAuth2 Client ID (download credentials.json) or a Service Account key (download serviceaccount.json)
(Optional) A Drive folder ID if you want new sheets moved out of My Drive
## ⚙️ Setup
1. Clone the repo
bash
git clone https://github.com/yourusername/mcp-google-sheets.git
cd mcp-google-sheets
2. Install dependencies
bash
bun install
3. Configure environment
Create a .env (or export) with:
bash
# Base64-encoded service-account key JSON (optional)
CREDENTIALSCONFIG=BASE-64 ENCODED SERVICEACCOUNT.JSON
# Or put your OAuth2 JSON files next to index.ts:
# credentials.json (OAuth client secret)
# token.json (generated after first OAuth run)
# The google email address that you'll use to access the spreadsheet
EMAILID="Enter the email address you’ll use to access the spreadsheet"
# (Optional) ID of the Drive folder to store new sheets
DRIVEFOLDERID=1a2B3c4D5e6F...
Tip: On Linux/macOS you can do
bash
export CREDENTIALSCONFIG=$(base64 serviceaccount.json | tr -d '\n')
## ▶️ Running the Server
bash
bun index.ts
On first OAuth2 run (if using credentials.json), you’ll see a URL. Visit it, grant access, then paste the code back into your terminal. A token.json will be generated automatically.
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/zh/s/rohans2-mcp-google-sheets/)
来源
awesome · https://github.com/rohans2/mcp-google-sheets
按领域浏览
MCP 服务
收录来源
10 个独立来源
收录于
今天

同类推荐

全部 6,229 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引