Minimal Gdocs
БесплатноНе проверенA minimal MCP server for creating and updating Google Docs from markdown.
Описание
A minimal MCP server for creating and updating Google Docs from markdown.
README
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)
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 build
Or via npm:
npx minimal-gdocs
Google 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 JSON
Claude 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 ID
update_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 filter
get_doc_url
Get URLs for a doc:
- docId: The Google Doc ID
Returns: edit URL, view URL, PDF export URL
Example
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 item
Creates a properly formatted Google Doc with native styling.
License
MIT
Установка Minimal Gdocs
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/rowbradley/minimal-gdocsFAQ
Minimal Gdocs MCP бесплатный?
Да, Minimal Gdocs MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Minimal Gdocs?
Нет, Minimal Gdocs работает без API-ключей и переменных окружения.
Minimal Gdocs — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Minimal Gdocs в Claude Desktop, Claude Code или Cursor?
Открой Minimal Gdocs на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Notion
Read and write pages in your workspace
автор: NotionLinear
Issues, cycles, triage — from Claude
автор: LinearGoogle Drive
Search and read your Drive files
автор: Googlemindsdb/mindsdb
Connect and unify data across various platforms and databases with [MindsDB as a single MCP server](https://docs.mindsdb.com/mcp/overview).
автор: mindsdbCompare Minimal Gdocs with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории productivity
