MCPSERV.CLUB
distrihub

Google Workspace MCP Server

MCP Server

MCP server for Google Drive and Sheets integration

Stale(50)
1stars
0views
Updated Mar 21, 2025

About

A Rust‑based MCP server that provides programmable access to Google Drive and Google Sheets, enabling file listing, spreadsheet read/write, creation, and clearing via standardized MCP tools.

Capabilities

Resources
Access data sources
Tools
Execute functions
Prompts
Pre-built templates
Sampling
AI model interactions

Overview

The Mcp Google Workspace server is a Rust‑based Model Context Protocol (MCP) service that gives AI assistants direct, programmatic access to Google Drive and Google Sheets. By exposing each operation as a first‑class MCP tool, the server lets agents query, modify, and create files or spreadsheets without writing custom API wrappers. This is especially valuable for developers building composable AI workflows that need to read from or write to a cloud document store as part of their reasoning loop.

The server solves the common pain point of integrating Google Workspace into conversational agents: authentication, rate limits, and request formatting are handled internally. Developers only need to supply an OAuth 2.0 access token (or refresh it via the provided command) and then invoke simple tool calls such as , , or . Each tool is fully typed and documented, so the AI can automatically discover available capabilities through the MCP resource discovery endpoint. This eliminates manual API key handling and reduces boilerplate code in agent definitions.

Key capabilities include:

  • Drive Operations – List files with optional MIME type filtering, custom search queries, pagination control, and ordering. This lets agents locate documents or media files on demand.
  • Sheets Operations – Read and write ranges with dimension control (rows or columns), create new spreadsheets with multiple sheets, and clear values. Agents can perform spreadsheet calculations, log data, or update dashboards on the fly.
  • OAuth Refresh – A dedicated command refreshes tokens, simplifying long‑running workflows that need to maintain access without user intervention.

Real‑world use cases abound: a data‑analysis agent can pull the latest CSV files from Drive, ingest them into Sheets for reporting; a content‑generation bot can create new sheets to log draft outputs; an automation workflow can clear stale data before re‑populating a dashboard. Because the server communicates over stdio, it integrates seamlessly with frameworks like Distri or any MCP‑compatible orchestrator, enabling modular composition of tools across multiple services.

The standout advantage is its lightweight Rust implementation coupled with full MCP compliance. This gives developers a fast, secure, and easy‑to‑deploy component that plugs directly into existing agent pipelines. The server abstracts away the intricacies of Google’s REST APIs, letting developers focus on higher‑level logic while still retaining fine‑grained control over file and sheet operations.