MCP Google Suite
Servidor de Google Workspace de MCP
Un servidor de Protocolo de contexto de modelo (MCP) que permite que los agentes de IA interactúen con los servicios de Google Workspace (Drive, Docs y Sheets).
🌟 Características
Google Drive: buscar archivos, crear carpetas
Google Docs: crear, leer y actualizar documentos
Hojas de cálculo de Google: crear hojas de cálculo, leer y escribir valores de celdas
Múltiples modos de transporte: stdio (predeterminado), SSE, WebSocket
Soporte de cliente compatible con MCP (Cursor, etc.)
Related MCP server: MCP Google Workspace Server
📋 Instalación
Uso de uv (recomendado)
uvx mcp-google-suiteUsando pip
pip install mcp-google-suiteConfiguración de desarrollo
# 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 .🔧 Configuración
Configurar para clientes MCP
Agregue a la configuración de su cliente (por ejemplo, Cursor, Claude):
Usando uvx (recomendado):
{
"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"
}
}
}
}Usando la instalación de pip:
{
"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"
}
}
}
}Configuración de Google OAuth
Visita la consola de Google Cloud
Habilitar las API de Drive, Docs y Sheets
Crear credenciales OAuth 2.0
Guardar como
~/.google/oauth.keys.jsonEjecute
mcp-google authpara autenticarse
Herramientas disponibles
Operaciones de conducción
drive_search_files: Buscar archivos en Google Drivequery(cadena, obligatoria): Consulta de búsquedapage_size(entero, opcional): Número de resultados a devolver
drive_create_folder: Crea una nueva carpetaname(cadena, obligatorio): nombre de la carpetaparent_id(cadena, opcional): ID de la carpeta principal
Operaciones de documentos
docs_create: Crea un nuevo documentotitle(cadena, obligatorio): Título del documentocontent(cadena, opcional): contenido inicial
docs_get_content: Obtener el contenido del documentodocument_id(cadena, obligatoria): ID del documento
docs_update_content: Actualizar el contenido del documentodocument_id(cadena, obligatoria): ID del documentocontent(cadena, obligatorio): Nuevo contenido
Operaciones con hojas de cálculo
sheets_create: Crea una nueva hoja de cálculotitle(cadena, obligatorio): título de la hoja de cálculosheets(matriz, opcional): nombres de hojas
sheets_get_values: Obtener valores de celdaspreadsheet_id(cadena, obligatoria): ID de la hoja de cálculorange(cadena, obligatorio): rango de notación A1
sheets_update_values: Actualizar valores de celdaspreadsheet_id(cadena, obligatoria): ID de la hoja de cálculorange(cadena, obligatorio): rango de notación A1values(matriz, obligatorio): matriz 2D de valores
🛠️ Desarrollo
# Install dev dependencies
uv pip install -e ".[dev]"
# Setup pre-commit hooks
pre-commit install
# Run tests
pytest
# Format code
black . && ruff check --fix .🔍 Depuración
Utilice el Inspector MCP para realizar pruebas interactivas:
# Using uvx
npx @modelcontextprotocol/inspector uvx mcp-google
# For development
cd path/to/mcp-google-suite
npx @modelcontextprotocol/inspector uv run mcp-google📚 Recursos
🤝 Contribuyendo
Lea CONTRIBUTING.md para obtener detalles sobre nuestro código de conducta y el proceso para enviar solicitudes de extracción.
🔒 Seguridad
Consulte SECURITY.md para informar vulnerabilidades y mejores prácticas.
📄 Licencia
Licencia MIT: consulte el archivo LICENCIA para obtener más detalles.
Available Tools
8 toolsdocs_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
Scored across 8 tools
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.
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.
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.
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
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
A Model Context Protocol server for Wix AI tools
MCP server connecting AI agents to 100+ apps (Gmail, Slack, Notion, GitHub) via one-click OAuth.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that integrates with Google Drive and Google Sheets, enabling users to create, read, update, and manage spreadsheets through natural language commands.18,876 PyPI1,020MIT
- AlicenseAqualityDmaintenanceA Model Context Protocol server that enables AI agents to interact with Google Workspace services including Drive, Docs, and Sheets through natural language commands.8MIT
- AlicenseCqualityDmaintenanceA Model Context Protocol server that provides an interface for AI models to interact with Google Docs, enabling reading, creating, updating, and searching Google Documents.4MIT
- AlicenseNot gradedqualityBmaintenanceA full-featured Model Context Protocol server that gives AI assistants real-time access to Google Workspace services including Drive, Gmail, Calendar, Sheets, Docs, and Apps Script.12MIT