Skip to main content
Vespper DOCX MCP lets agents read and edit .docx files as HTML. This approach results in faster, cheaper and more accurate edits.

The three primitives

Read document

Return a range of pages as HTML.

Search document

Regex-match blocks without loading the whole document.

Edit document

Apply old → new edits as Word tracked changes.
They operate on a short-lived document session: search or read to find an anchor, then edit the session’s current document.

MCP server

The document is not a tool argument. Upload it once when you open a session, then let the Vespper SDK auto-patch supported MCP clients so each call carries the session metadata and the latest DOCX is retained automatically. The model sees clean schemas and never spends context on DOCX bytes. The Quickstart includes recommended auto-patching and manual wiring for every framework and native integration. See Document sessions for the underlying protocol.

For coding agents

  • Quickstart - framework (OpenAI Agents SDK, Mastra, Vercel AI SDK) and native loops
  • API reference - endpoint, _meta transport, parameters, and return shapes
  • llms.txt - machine-readable index