MCP.so
登录

Google Drive & Sheets MCP Server

@distrihub

基本信息

分类

文件与存储

许可证

MIT license

传输方式

stdio

作者

distrihub

关于 Google Drive & Sheets MCP Server

A Model Context Protocol (MCP) server built in Rust for interacting with Google Drive and Google Sheets.

#mcp-google-workspace#google-drive#google-sheets

Google Drive & Sheets MCP Server 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

Google Drive & Sheets MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Google Drive & Sheets MCP Server?

A Rust-based server that implements the Model Context Protocol (MCP) for interacting with Google Drive and Google Sheets. It exposes file and spreadsheet operations as MCP tools, designed for use in agent workflows and compositions like Distri.

How to use Google Drive & Sheets MCP Server?

Install via cargo install --git https://github.com/distrihub/mcp-google-workspace.git, then configure OAuth credentials via environment variables. Start the Drive or Sheets servers with mcp-google drive --access-token <token> or mcp-google sheets --access-token <token>. Optionally, define them in a Distri agent YAML configuration.

Key features of Google Drive & Sheets MCP Server

  • List Google Drive files with MIME type, query, and ordering filters
  • Read spreadsheet data with range and dimension control
  • Write data to Google Sheets
  • Create new spreadsheets with custom titles and multiple sheets
  • Clear values from ranges in spreadsheets
  • Built-in token refresh command for OAuth authentication

Use cases of Google Drive & Sheets MCP Server

  • Automate file search and retrieval in Google Drive via an MCP agent
  • Read and write spreadsheet data as part of a multi‑step agent workflow
  • Programmatically create new spreadsheets with predefined sheets
  • Integrate Google Workspace operations into custom MCP‑compatible tools

常见问题

1

What prerequisites are required?

You need Rust (latest stable), a Google Cloud Project with Drive and Sheets APIs enabled, and OAuth 2.0 credentials configured.

2

How do I install the server?

Run `cargo install --git https://github.com/distrihub/mcp-google-workspace.git` to install the `mcp-google` binary.

3

How do I start the Drive or Sheets server?

Run `mcp-google drive --access-token <your-access-token>` or `mcp-google sheets --access-token <your-access-token>` from the command line.

4

What MCP tools are available?

Drive: `list_files`. Sheets: `read_values`, `write_values`, `create_spreadsheet`, `clear_values`. Capabilities are also exposed via the `resources/list` endpoint.

5

How do I refresh my OAuth token?

Use the `mcp-google refresh` command with `--client-id`, `--client-secret`, and `--refresh-token` flags.

评论

文件与存储 分类下的更多 MCP 服务器