Back to Home
a-bonus icon

google-docs-mcp

Verified Safe

by a-bonus

Overview

Provides a comprehensive Model Context Protocol (MCP) server that enables AI assistants to programmatically interact with Google Docs (reading, writing, formatting, structuring) and manage Google Drive files (discovery, folder management, file operations, document creation).

Installation

Run Command
node ./dist/server.js

Environment Variables

  • SERVICE_ACCOUNT_PATH

Security Notes

The server requests broad Google API scopes ('https://www.googleapis.com/auth/documents' and 'https://www.googleapis.com/auth/drive') for full read/write access to all Google Docs and Drive files, which is high privilege but necessary for full functionality. The 'insertLocalImage' tool explicitly makes uploaded images publicly readable on Google Drive, a significant privacy consideration, though it is documented. Service account authentication relies on an environment variable (`SERVICE_ACCOUNT_PATH`) pointing to a sensitive key file, which if compromised, could expose credentials. Input validation using Zod schemas for tool parameters helps prevent common injection vectors. No direct 'eval' or obvious command injection vulnerabilities were found in the provided code.

Similar Servers

Stats

Interest Score61
Security Score7
Cost ClassMedium
Avg Tokens1000
Stars157
Forks37
Last Update2025-12-01

Tags

Google DocsGoogle DriveMCPDocument AutomationAI Integration