Back to Home
mattaspira icon

google-docs-mcp-server

Verified Safe

by 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

Run Command
npm run build && npx google-docs-mcp-server

Security 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

Stats

Interest Score30
Security Score8
Cost ClassMedium
Avg Tokens5000
Stars1
Forks0
Last Update2026-01-19

Tags

Google DocsLLM IntegrationDocument AutomationMCPProductivity