> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vespper.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> Let your AI agent edit Word documents in less than 5 minutes.

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

> [card] [Read document](https://docs.vespper.com/primitives/read-document.md)
>
> Return a range of pages as HTML.

> [card] [Search document](https://docs.vespper.com/primitives/search-document.md)
>
> Regex-match blocks without loading the whole document.

> [card] [Edit document](https://docs.vespper.com/primitives/edit-document.md)
>
> 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

| | |
| - | - |
| **Endpoint** | `https://mcp.vespper.com/mcp` |
| **Transport** | Streamable HTTP |
| **Auth** | `Authorization: Bearer sk_live_...` |
| **Tools** | `read_document`, `search_document`, `edit_document` |

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](https://docs.vespper.com/quickstart.md) includes recommended auto-patching and manual wiring
for every framework and native integration. See
[Document sessions](https://docs.vespper.com/primitives/overview.md#document-sessions) for the underlying
protocol.

## For coding agents

* [Quickstart](https://docs.vespper.com/quickstart.md) - framework (OpenAI Agents SDK, Mastra, Vercel AI SDK) and native loops
* [API reference](https://docs.vespper.com/primitives/overview.md) - endpoint, `_meta` transport, parameters, and return shapes
* [llms.txt](https://docs.vespper.com/llms.txt) - machine-readable index


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.