Google Workspace
STDIOMCP server for Google Workspace integration with Drive, Docs, and Sheets.
MCP server for Google Workspace integration with Drive, Docs, and Sheets.
A Model Context Protocol (MCP) server enabling AI agents to interact with Google Workspace (Drive, Docs, and Sheets) services.
uvx mcp-google-suite
pip install mcp-google-suite
# Clone and install git clone [email protected]:adexltd/mcp-google-suite.git && cd mcp-google-suite uv venv && source .venv/bin/activate # or .venv\Scripts\activate on Windows uv pip install -e .
Add to your client settings (e.g. Cursor, Claude):
Using uvx (recommended):
{ "mcpServers": { "mcp-google-suite": { "command": "uvx", "args": ["mcp-google-suite"], "env": { "GOOGLE_APPLICATION_CREDENTIALS": "~/.google/server-creds.json", "GOOGLE_OAUTH_CREDENTIALS": "~/.google/oauth.keys.json" } } } }
Using pip installation:
{ "mcpServers": { "mcp-google-suite": { "command": "python", "args": ["-m", "mcp_google_suite"], "env": { "GOOGLE_APPLICATION_CREDENTIALS": "~/.google/server-creds.json", "GOOGLE_OAUTH_CREDENTIALS": "~/.google/oauth.keys.json" } } } }
~/.google/oauth.keys.jsonmcp-google auth to authenticatedrive_search_files: Search files in Google Drive
query (string, required): Search querypage_size (integer, optional): Number of results to returndrive_create_folder: Create a new folder
name (string, required): Folder nameparent_id (string, optional): Parent folder IDdocs_create: Create a new document
title (string, required): Document titlecontent (string, optional): Initial contentdocs_get_content: Get document content
document_id (string, required): Document IDdocs_update_content: Update document content
document_id (string, required): Document IDcontent (string, required): New contentsheets_create: Create a new spreadsheet
title (string, required): Spreadsheet titlesheets (array, optional): Sheet namessheets_get_values: Get cell values
spreadsheet_id (string, required): Spreadsheet IDrange (string, required): A1 notation rangesheets_update_values: Update cell values
spreadsheet_id (string, required): Spreadsheet IDrange (string, required): A1 notation rangevalues (array, required): 2D array of values# Install dev dependencies uv pip install -e ".[dev]" # Setup pre-commit hooks pre-commit install # Run tests pytest # Format code black . && ruff check --fix .
Use the MCP Inspector for interactive testing:
# Using uvx npx @modelcontextprotocol/inspector uvx mcp-google # For development cd path/to/mcp-google-suite npx @modelcontextprotocol/inspector uv run mcp-google
Please read CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests.
See SECURITY.md for reporting vulnerabilities and best practices.
MIT License - See LICENSE file for details.