Office MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OFFICE_MCP_ROOTS | No | One or more allowed filesystem roots for the server. On Windows, separate multiple roots with a semicolon; on macOS and Linux, separate with a colon. By default, the server may only access files below its working directory. | |
| OFFICE_MCP_SOFFICE | No | Path to a custom LibreOffice soffice executable for PDF conversion. |
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
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| office_capabilitiesA | List supported Office operations, path roots, converters, and known limitations. |
| office_inspect_fileC | Inspect an XLSX, DOCX, or PPTX file and return a semantic summary. |
| office_search_filesB | Find XLSX, DOCX, and PPTX files inside an allowed directory so an orchestrator can discover relevant Office documents. |
| office_convert_to_pdfB | Convert an XLSX, DOCX, or PPTX file to PDF using LibreOffice when available. |
| office_export_pdfA | Export XLSX, DOCX, or PPTX to a reviewable PDF using hidden native Microsoft Office on Windows, with optional LibreOffice fallback. This creates a separate file and does not open a visible window. |
| office_quality_checkA | Validate an XLSX, DOCX, or PPTX draft against prompt-specific requirements and Office package integrity. Returns the file hash, blocking issues, warnings, and exact units requiring visual or analytical review. Machine checks alone never certify quality. |
| office_compare_filesA | Compare two Office files of the same format semantically. Reports removed Word paragraphs, PowerPoint slide content changes, or Excel sheet and cell changes without modifying either file. |
| office_prepare_reviewB | Create hashed review evidence for a quality-checked draft: PowerPoint slide PNGs or a Word/Excel PDF, with a source hash and artifact manifest. PowerPoint renders use hidden windows. Inspect every slide or the complete PDF before attesting quality. |
| office_finalizeA | Publish a separate XLSX, DOCX, or PPTX only after recomputing machine checks and verifying a complete review of every slide/sheet/document and every prompt criterion against the unchanged file hash. Never overwrites an existing output. |
| office_get_review_imageA | Return one previously rendered PowerPoint slide as MCP image content, including slides omitted from the initial inline preview. Rejects stale or changed evidence. |
| excel_create_workbookC | Create a new XLSX workbook with one or more worksheets and tabular data. |
| excel_inspect_workbookB | Inspect workbook metadata, worksheets, dimensions, formulas, and sample rows. |
| excel_read_rangeB | Read cell values, text, formulas, and optional styles from an XLSX range. |
| excel_analyze_datasetB | Profile an XLSX dataset without changing it: column types, missing values, numeric summaries, duplicate rows, IQR outliers, top categories, and Pearson correlations. Descriptive analysis only; formulas need cached results or native recalculation. |
| excel_query_datasetB | Read-only Excel dataset query with typed filters, group-by summaries, aggregations, sorting, and bounded output. Use for focused analytical questions without changing the workbook. |
| excel_write_rangeC | Write a rectangular matrix of values to an existing XLSX worksheet. |
| excel_set_formulasC | Set formulas in specific XLSX cells and request recalculation when opened in Excel. |
| word_create_documentC | Create a DOCX from sections, headings, paragraphs, lists, tables, a Word-updateable TOC, and source-backed citation text with a bibliography. |
| word_inspect_documentB | Inspect DOCX metadata, paragraphs, paragraph styles, and tables. |
| word_append_paragraphC | Append a paragraph to an existing DOCX document while preserving its package. |
| word_replace_textB | Replace literal text in DOCX paragraphs, including text split across multiple runs. |
| powerpoint_create_presentationC | Create a PPTX presentation with positioned text, shapes, images, tables, charts, and notes. |
| powerpoint_create_designed_presentationB | Create a widescreen narrative deck from editorial compositions with readable typography and optional cropped imagery. Prefer this for new story decks; render and critique the result before delivery. |
| powerpoint_inspect_presentationB | Inspect PPTX slide size, text, notes, and object counts. |
| powerpoint_audit_presentationA | Read-only structural PPTX audit for off-slide objects, small explicit text, dense slides, pictures without alt text, and other review flags. This is heuristic; render and visually inspect the deck as well. |
| powerpoint_inspect_templateA | Inspect an existing PPTX through hidden desktop PowerPoint to list designs, custom layouts and placeholder indexes for template-based generation. Requires Windows PowerPoint and refuses a running user session by default. |
| powerpoint_create_from_templateA | Create a new PPTX from an existing deck's masters/layouts or duplicated slides, filling placeholders or named text shapes. Native PowerPoint runs with hidden presentation windows and leaves the source template unchanged. |
| powerpoint_replace_textC | Replace literal text in PPTX slides, including text split across multiple runs. |
| office_native_statusA | Detect installed and currently running native Microsoft Excel, Word, and PowerPoint applications on Windows. |
| office_list_open_filesA | List files currently open in running native Excel, Word, and PowerPoint applications. |
| excel_native_batchB | Execute an ordered batch through real Microsoft Excel. Supports active or closed workbooks; exact ranges; structural row, column, and sheet edits; native calculation; formatting; tables; charts; pivots; Goal Seek; filtering; validation; protection; print setup; PDF export; and save/save-as. |
| word_native_batchB | Execute an ordered batch through real Microsoft Word. Supports active or closed documents; exact character ranges; formatting; tables; styles; fields; bookmarks; links; notes; content controls; headers and footers; revision review; protection; PDF export; and save/save-as. |
| powerpoint_native_batchB | Execute an ordered batch through real Microsoft PowerPoint. Supports active or closed presentations; slide, shape, text, picture, line, table, media, alignment, grouping, and z-order editing; hyperlinks; named or advanced animation effects and compound behaviors; true Morph transitions; PDF/video export; and PNG rendering. Use list_shapes before targeting shapes. Prefix paired object names with !! for deterministic Morph matching. Native coordinates are points. |
| powerpoint_render_presentationA | Render a PPTX with real Microsoft PowerPoint and return slide PNGs as MCP images for visual inspection and iterative correction. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 34 tools
Many tools have overlapping purposes: office_inspect_file vs the format-specific inspect tools, office_convert_to_pdf vs office_export_pdf, native batch vs granular editors, and three PowerPoint creation paths. Descriptions help, but an agent must choose among multiple valid entry points for the same outcome, so boundaries are not clean.
Names follow a clear prefix convention (office_, excel_, word_, powerpoint_) and mostly use snake_case verb_noun forms. Minor deviations like office_capabilities, office_native_status, excel_native_batch, and office_finalize keep it from being perfectly uniform.
34 tools is heavy for an Office automation server, well above the 3-15 well-scoped range. Native batch tools already cover broad editing, making many granular tools redundant and inflating the surface.
Coverage spans creation, inspection, reading, writing, conversion, rendering, review, and finalization across XLSX/DOCX/PPTX. Minor gaps exist around file management (delete/rename/move) and some direct structural edits, but native batches largely fill those needs.