Arezzo
@ConvergentMethods
About Arezzo
Compile semantic document edits into correct Google Docs batchUpdate requests. UTF-16 arithmetic, cascading index shifts, OT-compatible ordering. MIT licensed.
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"arezzo": {
"command": "uvx",
"args": [
"arezzo"
]
}
}
}Tools
No tools detected
Fetch the live tool list by running this server in a temporary sandbox using the button above.
Overview
What is Arezzo?
Arezzo is an MCP server that compiles semantic editing operations into correct Google Docs API batchUpdate request sequences — deterministically. It solves the problem of manual UTF-16 offset calculation for AI agents editing documents, handling complex Unicode like emoji and CJK characters.
How to use Arezzo?
Install with pip install arezzo, then run arezzo init to walk through Google OAuth setup and write platform config files. Use the three MCP tools: read_document, edit_document, and validate_operations.
Key features of Arezzo
- Deterministic compilation of semantic edits to API requests.
- UTF-16 index arithmetic with proper surrogate pair handling.
- Address resolution by heading, named range, or bookmark.
- Two-phase compilation for OT-compatible sequencing.
- 23 operation types including text, formatting, tables, and images.
- Zero configuration beyond Google OAuth setup.
Use cases of Arezzo
- AI agents editing Google Docs without manual offset calculation.
- Inserting and formatting text at headings, named ranges, or bookmarks.
- Previewing exact API calls before execution with
validate_operations. - Editing documents containing emoji, CJK supplementary characters, and other non-BMP Unicode.
FAQ from Arezzo
What problem does Arezzo solve?
AI agents editing Google Docs via the batchUpdate API must calculate UTF-16 code unit offsets for every mutation. A single miscalculation silently corrupts the document. Arezzo compiles semantic operations into correct request sequences deterministically, eliminating offset errors.
What tools does Arezzo provide?
Three MCP tools: read_document (structural map of the document), edit_document (compile and execute up to 23 operation types), and validate_operations (dry-run compilation to inspect exact API calls before execution).
How do I set up Arezzo?
Install with pip install arezzo and then run arezzo init to walk through Google OAuth setup. No other configuration is required beyond OAuth.
Does Arezzo handle emoji and non-BMP characters?
Yes. Arezzo performs proper UTF-16 surrogate pair handling for emoji, CJK supplementary characters, and all non-BMP Unicode.
What is the compilation process?
Arezzo uses two-phase compilation: content mutations (insert, delete, replace) are processed in reverse index order first, then format mutations are applied. This produces OT-compatible request sequencing.
Frequently asked questions
What problem does Arezzo solve?
AI agents editing Google Docs via the `batchUpdate` API must calculate UTF-16 code unit offsets for every mutation. A single miscalculation silently corrupts the document. Arezzo compiles semantic operations into correct request sequences deterministically, eliminating offset errors.
What tools does Arezzo provide?
Three MCP tools: `read_document` (structural map of the document), `edit_document` (compile and execute up to 23 operation types), and `validate_operations` (dry-run compilation to inspect exact API calls before execution).
How do I set up Arezzo?
Install with `pip install arezzo` and then run `arezzo init` to walk through Google OAuth setup. No other configuration is required beyond OAuth.
Does Arezzo handle emoji and non-BMP characters?
Yes. Arezzo performs proper UTF-16 surrogate pair handling for emoji, CJK supplementary characters, and all non-BMP Unicode.
What is the compilation process?
Arezzo uses two-phase compilation: content mutations (insert, delete, replace) are processed in reverse index order first, then format mutations are applied. This produces OT-compatible request sequencing.
Basic information
More Memory & Knowledge MCP servers
Groundwork
Rarefied-EarthGroundwork: company memory for your AI tools. Docs public. Source closed. Public proof needs no account.
MemoryMesh
CheMiguel23A knowledge graph server that uses the Model Context Protocol (MCP) to provide structured memory persistence for AI models.
Ultimate Google Docs & Drive MCP Server
a-bonusThe Ultimate Google Docs, Sheets, Drive, Gmail, & Google Calendar MCP Server. This MCP (primarily for use in Claude Desktop) gains full access to your google suite and lets claude do its thing.
Basic Memory
basicmachines-coAI conversations that actually remember. Never re-explain your project to your AI again. Join our Discord: https://discord.gg/tyvKNccgqN
Context7 MCP - Up-to-date Docs For Any Cursor Prompt
upstashContext7 Platform -- Up-to-date code documentation for LLMs and AI code editors
Comments