| Crates.io | google-docs-mcp-server |
| lib.rs | google-docs-mcp-server |
| version | 0.1.1 |
| created_at | 2026-01-04 12:28:02.547379+00 |
| updated_at | 2026-01-04 21:34:03.319211+00 |
| description | MCP server for Google Docs API integration with service account authentication |
| homepage | |
| repository | |
| max_upload_size | |
| id | 2021834 |
| size | 110,980 |
A Rust-based Model Context Protocol (MCP) server for Google Docs API integration using Service Account authentication.
For the service account to access documents:
client_email)cargo build --release
Set the path to your service account JSON key file:
export GOOGLE_SERVICE_ACCOUNT_KEY=/path/to/service-account.json
./target/release/google-docs-mcp-server
Add to your Claude Code MCP settings:
{
"mcpServers": {
"google-docs": {
"command": "/path/to/google-docs-mcp-server",
"env": {
"GOOGLE_SERVICE_ACCOUNT_KEY": "/path/to/service-account.json"
}
}
}
}
Retrieve a Google Document by ID.
Parameters:
document_id (required): The document IDresponse_format (optional): "markdown" (default) or "json"Update a Google Document with various operations.
Parameters:
document_id (required): The document IDrequests (required): Array of update operationsresponse_format (optional): "markdown" (default) or "json"Update Operations:
{
"insert_text": {
"text": "Hello World",
"index": 1
}
}
{
"delete_content_range": {
"start_index": 1,
"end_index": 10
}
}
{
"replace_all_text": {
"find_text": "old text",
"replace_text": "new text",
"match_case": true
}
}
MIT