io.github.Anselmoo/mcp-ooxml-ledger
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OOXML_LEDGER_ROOTS | No | An os.pathsep-separated list of allowed root directories. Every path any tool receives is resolved inside it and refused outside. Defaults to the server's working directory. | |
| OOXML_LEDGER_READ_ONLY | No | Set to '1' to enable read-only mode, leaving only server_info, digest, verify, and list_receipts. Defaults to disabled. | false |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| server_infoA | Versions, allowed roots, and what this build can and cannot do. |
| digestA | Compute a document's canonical digest — stable across a no-op Office save, and the key a receipt is stored under. Needs no session. |
| verifyA | Check a document against its receipt. Reports three distinct outcomes: verified, unknown (no receipt matches this digest) and failed (a receipt matched but a tier failed). Needs no session — the same check runs in CI via |
| open_documentA | Start an editing session: unpack the document to disk, record its baseline digest and part manifest, and sweep expired sessions. Reopening the same unchanged document resumes its live session instead of forking a second one. |
| close_documentA | End a session and delete its working directory WITHOUT sealing a receipt. Refuses when the journal holds recorded operations unless |
| describe_structureA | Report a session document's structure: which parts the digest covers, which it excludes, and the format's own units — paragraphs for docx, sheets for xlsx, slides (in <p:sldIdLst> order, never filesystem order) for pptx. Describes the session's working copy as opened; |
| find_textA | Case-insensitive substring search over every text-bearing part the digest covers, returning the best address this build can give for each hit: paragraph id or index and hash for docx, slide id for pptx, sheet and cell for xlsx. Results come from the session's working copy as opened; |
| list_receiptsA | List every receipt in the store beside a document, flagging the one whose result digest matches the document as it stands now, and naming every file that was skipped and why. |
| export_receiptA | Write this document's receipt out as one self-contained sidecar file — the thing you attach to a submission, commit to git, or register alongside a DOI. |
| commit_documentA | End a session by sealing its journal into a receipt, but only if the recorded operations account for every change to the document. If they do not, the commit is REFUSED. |
| preview_editsA | Report what a batch of edits WOULD do, writing nothing. Runs the same engine against a throwaway copy of the document as it stands on disk right now — including every edit already applied in this session — so a green preview and the apply that follows it cannot disagree. |
| apply_editsA | Apply a batch of edits to the document and record each one in the session's journal. ALL-OR-NOTHING: the document is written only if every edit applied, so a failed batch leaves the file byte-identical and journals nothing. |
| delete_paragraphA | Delete one whole paragraph and record it in the session's journal. Address it by |
| insert_paragraphA | Insert a new paragraph carrying |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |