.docx files (read, edit, comment, redline, save) through the same Document API the browser editor uses.
Pick your path
What AI can control
AI workflows can use SuperDoc to:- Read document text, Markdown, HTML, and structure
- Search for clauses, paragraphs, comments, and tracked changes
- Insert, replace, and delete content
- Apply formatting
- Add and resolve comments
- Accept or reject tracked changes
- Save the result as a real
.docx
I want my coding agent to edit DOCX files
Use the MCP server. Fastest path for Claude Code, Cursor, Windsurf, and other MCP clients..docx file, inspect it, and make an edit.
MCP setup guide →
I want AI features inside my product
Use the SDK tool definitions. They work with OpenAI, Anthropic, Vercel AI SDK, and generic tool-calling loops.I want AI output in a visible editor
Render the document in the browser editor for selection and visual feedback. Generate content with your model, then insert or replace it through the Document API.Data boundary
SuperDoc runs on your infrastructure. The editor, SDK, CLI, and MCP server do not send documents to SuperDoc Cloud. If you connect an AI provider, your app or agent decides what document content to send. For sensitive documents, send the smallest useful excerpt instead of the full file.Common patterns
What SuperDoc does not do
- It does not include an LLM.
- It does not automatically upload documents to an AI provider.
- It does not require a hosted SuperDoc service.
- It does not ask the model to rewrite raw DOCX XML.
Where to next
- AI Overview: the full AI section
- AI > MCP: Model Context Protocol setup
- AI > Agents > LLM tools: typed tool catalogs and integration patterns
- Document API: the operations all AI integrations share

