Skip to main content
Glama
MCP Google Suite

MCP Google Suite

by adexltd

MCP Google Workspace Server

CI codecov PyPI version License: MIT Code style: black

A Model Context Protocol (MCP) server enabling AI agents to interact with Google Workspace (Drive, Docs, and Sheets) services.

🌟 Features

  • Google Drive: Search files, create folders

  • Google Docs: Create, read, update documents

  • Google Sheets: Create spreadsheets, read/write cell values

  • Multiple transport modes: stdio (default), SSE, WebSocket

  • MCP-compatible client support (Cursor, etc.)

Related MCP server: MCP Google Workspace Server

📋 Installation

uvx mcp-google-suite

Using pip

pip install mcp-google-suite

Development setup

# Clone and install
git clone git@github.com: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 .

🔧 Configuration

Configure for MCP Clients

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 Setup

  1. Visit Google Cloud Console

  2. Enable Drive, Docs, and Sheets APIs

  3. Create OAuth 2.0 credentials

  4. Save as ~/.google/oauth.keys.json

  5. Run mcp-google auth to authenticate

Available Tools

Drive Operations

  • drive_search_files: Search files in Google Drive

    • query (string, required): Search query

    • page_size (integer, optional): Number of results to return

  • drive_create_folder: Create a new folder

    • name (string, required): Folder name

    • parent_id (string, optional): Parent folder ID

Docs Operations

  • docs_create: Create a new document

    • title (string, required): Document title

    • content (string, optional): Initial content

  • docs_get_content: Get document content

    • document_id (string, required): Document ID

  • docs_update_content: Update document content

    • document_id (string, required): Document ID

    • content (string, required): New content

Sheets Operations

  • sheets_create: Create a new spreadsheet

    • title (string, required): Spreadsheet title

    • sheets (array, optional): Sheet names

  • sheets_get_values: Get cell values

    • spreadsheet_id (string, required): Spreadsheet ID

    • range (string, required): A1 notation range

  • sheets_update_values: Update cell values

    • spreadsheet_id (string, required): Spreadsheet ID

    • range (string, required): A1 notation range

    • values (array, required): 2D array of values

🛠️ Development

# Install dev dependencies
uv pip install -e ".[dev]"

# Setup pre-commit hooks
pre-commit install

# Run tests
pytest

# Format code
black . && ruff check --fix .

🔍 Debugging

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

📚 Resources

🤝 Contributing

Please read CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests.

🔒 Security

See SECURITY.md for reporting vulnerabilities and best practices.

📄 License

MIT License - See LICENSE file for details.

Available Tools

8 tools
docs_createC

Create a new Google Doc

Inputs: title (required), content.

docs_get_contentC

Get the contents of a Google Doc

Inputs: document_id (required).

docs_update_contentC

Update the content of a Google Doc

Inputs: document_id (required), content (required).

drive_create_folderC

Create a new folder in Google Drive

Inputs: name (required), parent_id.

drive_search_filesC

Search for files in Google Drive

Inputs: query (required), page_size.

sheets_createC

Create a new Google Sheet

Inputs: title (required), sheets.

sheets_get_valuesC

Get values from a Google Sheet range

Inputs: spreadsheet_id (required), range (required).

sheets_update_valuesC

Update values in a Google Sheet range

Inputs: spreadsheet_id (required), range (required), values (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 8 tools

    Disambiguation5/5

    Every tool has a clearly distinct purpose with no ambiguity. The tools are organized by service (Docs, Drive, Sheets) and specific actions (create, get, update, search), making it easy for an agent to select the correct tool without confusion.

    Naming Consistency5/5

    Tool names follow a consistent verb_noun pattern with service prefixes (e.g., docs_create, drive_search_files). All tools use snake_case uniformly, and the naming convention is predictable and readable throughout the set.

    Tool Count5/5

    With 8 tools, the count is well-scoped for the Google Suite domain. Each tool earns its place by covering essential operations across multiple services (Docs, Drive, Sheets), avoiding both bloat and thin coverage.

    Completeness4/5

    The tool set provides good CRUD/lifecycle coverage for Docs and Sheets (create, get, update) and basic Drive operations (create folder, search). Minor gaps exist, such as missing delete operations or more advanced features like sharing permissions, but agents can work around these for core workflows.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers