google-docs
Interact with Google Docs - create documents, search by title, read content, and edit text. Use when user asks to: create a Google Doc, find a document, read doc content, add text to a doc, or replace text in a document. Lightweight alternative to full Google Workspace MCP server with standalone OAu
By sanjay3290 · 523 installs
npx skills add sanjay3290/ai-skills --skill google-docs
Source repository · Upstream listing
Google Docs
Lightweight Google Docs integration with standalone OAuth authentication. No MCP server required.
⚠️ Requires Google Workspace account. Personal Gmail accounts are not supported.
First Time Setup
Authenticate with Google (opens browser):
Check authentication status:
Logout when needed:
Commands
All operations via scripts/docs.py . Auto authenticates on first use if not logged in.
Document ID Format
Google Docs uses document IDs like 1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms . You can:
Use the full URL (the ID will be extracted automatically)
Use just the document ID
Get document IDs from the find command results
Token Management
Tokens stored securely using the system keyring:
macOS : Keychain
Windows : Windows Credential Locker
Linux : Secret Service API (GNOME Keyring, KDE Wallet, etc.)
Service name: google docs skill oauth
Access tokens are automatically refreshed when expired using Google's cloud function.