Deterministic Google Docs API compiler. Your agent stops silently corrupting documents.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
Deterministic compiler for Google Docs API operations.
You cannot safely modify a Google Doc by constructing batchUpdate requests yourself. The API uses UTF-16 code units with cascading index shifts β insert 10 characters at position 50, and every subsequent index in your batch is now wrong. A single miscalculation silently corrupts the document with no error message.
Arezzo compiles semantic intent into a correct request sequence. Tell it what you want to do; it handles the index arithmetic.
Arezzo exposes three tools via the Model Context Protocol:
Address modes:
{"heading": "Section Name"} β by heading text{"named_range": "range_name"} β by named range{"bookmark": "bookmark_id"} β by bookmark ID{"start": true} β document start{"end": true} β document end{"index": 42} β absolute UTF-16 indexOperation types:
insert_text, delete_content, replace_all_text, replace_section,
update_text_style, update_paragraph_style, insert_bullet_list,
insert_table, insert_table_row, insert_table_column,
delete_table_row, delete_table_column, insert_image,
create_header, create_footer, create_footnote,
create_named_range, replace_named_range_content, insert_page_break
Always read before editing. After inserting structural elements (tables, headers, footers), read again to get the new element indices before adding content inside them.
arezzo init walks through Google OAuth setup and writes platform config files for your MCP client.
Prerequisites: A Google Cloud project with the Google Docs API enabled and an OAuth 2.0 client ID (Desktop application type).
The wizard:
credentials.json to ~/.config/arezzo/For Claude Desktop, arezzo init prints the config block to add manually.
After arezzo init, config files are written to your project directory:
Claude Code / Cursor (.mcp.json):
VS Code (.vscode/mcp.json):
Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
The Google Docs batchUpdate API operates on UTF-16 code units with absolute index positions. Every character insertion or deletion shifts all subsequent indices. In a batch with multiple mutations, each request's indices must account for the effect of every prior request in the same batch.
Getting this right requires:
len() β surrogate pairs count differently)Arezzo handles this deterministically. The same input always produces the same output. No reasoning, no guessing, no "usually works."
The engine is a pure function: compile_operations(doc, operations) β requests. Deterministic. No side effects. No API calls.
The MCP server (arezzo.server) wraps the engine with Google Docs API I/O and behavioral guidance fields (next_step, present_to_user, document_reality).
MIT β Convergent Methods, LLC
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/arezzo)<a href="https://allmcps.com/mcp/arezzo"><img src="https://allmcps.com/api/badge/arezzo?style=directory" alt="Arezzo on AllMCPs" /></a>