Install
$ agentstack add mcp-distrihub-mcp-google-workspace ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Google Drive & Sheets MCP Server
A Model Context Protocol (MCP) server built in Rust for interacting with Google Drive and Google Sheets. This tool provides MCP-compatible interfaces for Google Workspace services, allowing it to be used as part of larger agent workflows and compositions.
Features
Google Drive Operations
- List files in Google Drive with filtering options:
- Filter by MIME type
- Custom search queries
- Configurable page size
- Custom ordering
Google Sheets Operations
- Read data from Google Sheets with options:
- Specify range
- Choose major dimension (ROWS or COLUMNS)
- Write data to Google Sheets
- Create new spreadsheets with:
- Custom title
- Multiple sheets
- Clear values from ranges in spreadsheets
MCP Integration
This server implements the Model Context Protocol (MCP), making it compatible with agent frameworks like Distri. Each service exposes its capabilities as MCP tools:
Drive Tools
list_files: List and filter Drive files with customizable parameters- Available capabilities exposed via
resources/listendpoint
Sheets Tools
read_values: Read spreadsheet data with dimension controlwrite_values: Write data to spreadsheetscreate_spreadsheet: Create new spreadsheetsclear_values: Clear ranges in spreadsheets- Available capabilities exposed via
resources/listendpoint
Prerequisites
- Rust (latest stable version)
- Google Cloud Project with Drive and Sheets APIs enabled
- OAuth 2.0 credentials configured for your Google Cloud Project
Installation
Install the mcp-google binary directly from GitHub using Cargo:
cargo install --git https://github.com/distrihub/mcp-google-workspace.git
This will install the mcp-google command to your system.
Configuration
Before using the server, you need to:
- Set up a Google Cloud Project
- Enable Google Drive and Google Sheets APIss
- Create OAuth 2.0 credentials
- Set up your environment variables:
ACCESS_TOKEN: Your Google OAuth access tokenGOOGLE_CLIENT_ID: Your OAuth client IDGOOGLE_CLIENT_SECRET: Your OAuth client secretGOOGLE_REFRESH_TOKEN: Your OAuth refresh token
Usage
As MCP Server
The servers can be started independently and will communicate using the MCP protocol over stdio:
Start the Drive MCP server:
mcp-google drive --access-token
Start the Sheets MCP server:
mcp-google sheets --access-token
Using with Distri
This server can be used as part of a Distri agent configuration:
agents:
google_workspace:
drive:
type: mcp
command: ["mcp-google", "drive", "--access-token", "${ACCESS_TOKEN}"]
sheets:
type: mcp
command: ["mcp-google", "sheets", "--access-token", "${ACCESS_TOKEN}"]
Token Management
Refresh your OAuth token:
mcp-google refresh \
--client-id \
--client-secret \
--refresh-token
License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Note
This is an MCP-compatible server that interacts with Google services. Make sure you have appropriate permissions and credentials before using the tool.
Source & license
This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: distrihub
- Source: distrihub/mcp-google-workspace
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.