google-docs-mcp-server
Verified Safeby mattaspira
Overview
The Google Docs MCP server enables large language models to interact with Google Docs for document creation, reading, updating, formatting, and structural manipulation.
Installation
npm run build && npx google-docs-mcp-serverSecurity Notes
The server uses Google's OAuth2 for authentication, storing tokens and reading client credentials from a local `credentials.json` file. Input validation is applied to document IDs, indices, text content, and numerical ranges, with search queries explicitly sanitized to prevent injection vulnerabilities. The implementation of `find_and_replace` leverages the Google Docs API's `replaceAllText` for secure mass operations. No direct `eval` or blatant dynamic code execution points were identified. The OAuth callback server runs locally, minimizing network exposure. The primary security consideration is ensuring `credentials.json` is protected and not committed to source control.
Similar Servers
google_workspace_mcp
Provides comprehensive natural language control over Google Workspace services (Gmail, Calendar, Drive, Docs, Sheets, Slides, Forms, Tasks, Chat, Custom Search) through MCP clients and AI assistants.
google-docs-mcp
Allows AI assistants to programmatically interact with Google Docs, Sheets, and Drive for document management, editing, formatting, and file organization.
mcp-gsheets
A Model Context Protocol (MCP) server for Google Sheets API integration, enabling reading, writing, and managing Google Sheets documents directly from MCP clients like Claude Code, Claude Desktop, or Cursor.
remembrances-mcp
Provides long-term memory, knowledge base, and semantic code indexing capabilities for AI agents.