minimal-gdocs
Create and update Google Docs from markdown with native formatting, including headings, bold, italic, lists, links, and code blocks.
List recent Google Docs with optional search, and specify a Drive folder ID for document creation.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@minimal-gdocsCreate a new Google Doc with meeting notes"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
minimal-gdocs
A minimal MCP server for creating and updating Google Docs from markdown. Built for Claude Code.
Features
Create Google Docs from markdown with native formatting
Update existing docs (replace or append)
List recent docs with optional search
Full markdown support:
Headings (H1-H6)
Bold, italic, and nested formatting
Bullet and numbered lists
Links
Horizontal rules
Code blocks (monospace)
Related MCP server: notes-mcp
Design Philosophy
minimal-gdocs intentionally stays minimal:
4 core tools covering the essential document lifecycle
Zero configuration beyond OAuth credentials
No batch operations or complex workflows
~274 tokens of context overhead (vs ~3,000 for full-featured alternatives)
If you need advanced features (comments, sheets, drive management, sharing), consider google-docs-mcp instead.
Installation
git clone https://github.com/rowbradley/minimal-gdocs.git
cd minimal-gdocs
npm install
npm run buildOr via npm:
npx minimal-gdocsGoogle Cloud Setup
You need Google OAuth credentials. Choose one of these methods:
Option A: Google Cloud Console (Web)
Go to Google Cloud Console
Create a new project (or select existing)
Enable the Google Docs API:
Go to "APIs & Services" → "Library"
Search "Google Docs API" → Enable
Create OAuth credentials:
Go to "APIs & Services" → "Credentials"
Click "Create Credentials" → "OAuth client ID"
Application type: Desktop app
Download the JSON file
Rename it to
credentials.jsonand place in project root
Option B: gcloud CLI
# Install gcloud if needed: https://cloud.google.com/sdk/docs/install
# Login and set project
gcloud auth login
gcloud projects create minimal-gdocs-project --name="Minimal GDocs"
gcloud config set project minimal-gdocs-project
# Enable Docs API
gcloud services enable docs.googleapis.com
# Create OAuth credentials
gcloud auth application-default login --scopes=https://www.googleapis.com/auth/documents,https://www.googleapis.com/auth/drive.file
# For MCP server, you still need OAuth client credentials:
# Go to console.cloud.google.com → APIs & Services → Credentials
# Create "OAuth client ID" → Desktop app → Download JSONClaude Code Configuration
Add to your Claude Code settings.json:
{
"mcpServers": {
"gdocs": {
"command": "node",
"args": ["/path/to/minimal-gdocs/dist/index.js"]
}
}
}Or if installed globally via npm:
{
"mcpServers": {
"gdocs": {
"command": "npx",
"args": ["minimal-gdocs"]
}
}
}First Run
On first use, the server will:
Open your browser for Google OAuth consent
Ask you to authorize access to Google Docs
Save the token locally (in
token.json)
Subsequent runs use the saved token automatically.
Usage
Once configured, Claude Code can use these tools:
create_google_doc
Create a Google Doc from markdown:
- title: Document title
- content: Markdown content
- folderId: (optional) Google Drive folder IDupdate_google_doc
Update an existing doc:
- docId: The Google Doc ID
- content: New markdown content
- mode: "replace" or "append"list_recent_docs
List your recent Google Docs:
- limit: (optional) Max docs to return
- query: (optional) Search filterget_doc_url
Get URLs for a doc:
- docId: The Google Doc ID
Returns: edit URL, view URL, PDF export URLExample
In Claude Code:
"Publish this to Google Docs"
# My Document
Here's some **bold** and *italic* text.
- Bullet one
- Bullet two
1. Numbered item
2. Another itemCreates a properly formatted Google Doc with native styling.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rowbradley/minimal-gdocs'
If you have feedback or need assistance with the MCP directory API, please join our Discord server