Skip to main content
Glama
MCP Collabora Holix

MCP Collabora Holix

by javded-itres

MCP Collabora Holix

An MCP server that reads and edits the office files in one folder: Word, Excel, PowerPoint, and LibreOffice.

It talks to the agent over stdio. The agent calls tools. The tools change the real .docx, .xlsx, .pptx, .odt, .ods, and .odp on disk. Nothing is uploaded to a third-party converter.

This is an MCP server for Collabora Online. Collabora renders and edits the document in the browser. This server changes that same file on disk, and Holix Studio reloads the open Collabora tab after a successful edit.

Русский · Tool reference · Справочник

What it does

Point the server at a directory. Ask the agent to find a document, read it, change the wording, restyle a phrase, add a picture, build a sheet formula, or add a slide. The file on disk is the result.

Holix Studio connects this server by itself when office editing is turned on, and an open Collabora tab reloads after a successful edit. Claude, OpenClaw, Hermes, Codex, and Holix use the same server with the snippets below.

Related MCP server: office-tools

What you can ask for

Documents

DOCX, XLSX, PPTX, ODT, ODS, ODP in the workspace folder

Text

List files, read text, replace a phrase, append a paragraph to DOCX or ODT

Create

New empty DOCX, XLSX, PPTX, ODT, ODS, or ODP with an optional title or sheet name

Appearance

Font, size, bold, italic, underline, color, and paragraph shading. Named styles such as Heading 1 on DOCX and ODT

Media

PNG, JPEG, GIF, WebP, BMP, and TIFF in all six types. MP4, WebM, and MOV play on PPTX and ODP slides and in an ODT frame. A DOCX stores the video and a link

Presentations

List, add, retitle, write notes, and delete PPTX and ODP slides

Sheets

Add sheets, set cells, formulas, hyperlinks, and Excel defined names. ODS formulas accept Excel-style references such as =Other!A1

Charts

Bar, line, and pie charts on XLSX and PPTX

Tables

Read, add, and edit a cell in DOCX, PPTX, ODT, and ODP. Add a grid to XLSX or ODS

Paths are relative to the workspace, for example reports/plan.docx and media/cover.png. The server refuses a path that leaves that directory.

Honest limits

  • Paragraph shading applies only when the paragraph's whole text is the phrase you name.

  • Named styles are DOCX and ODT. Charts are XLSX and PPTX. Defined names are XLSX.

  • A DOCX does not play video. The file is stored and linked.

  • There are no slide animations, transitions, or master slides.

  • office_read_tool returns text. Use office_sheet_tool with read for numbers and formulas.

  • Appending a paragraph is DOCX and ODT.

  • In Holix Studio, a reload replaces unsaved keystrokes in that Collabora tab with the saved file.

The full contracts are in the tool reference.

Install

Python 3.12 or newer.

pip install "git+https://github.com/javded-itres/mcp-collabora-holix.git"
mcp-collabora-holix --help 2>/dev/null || true
python -m holix_office

python -m holix_office waits on stdin for an MCP client. That is expected. Set the workspace before the client starts the process:

export HOLIX_OFFICE_WORKSPACE="$HOME/Documents"

Use an absolute path. A new chat is required after you add or change the server, so the client starts a fresh process.

Connect

Holix Studio

No snippet. When office editing is enabled, Studio writes the holix_office server into the Holix profile, assigns it to the main agent, and installs the office_documents skill. The workspace is the profile workspace, not whatever directory the chat happens to use.

Open a new chat after office editing is turned on. The running MCP process does not reload tools by itself.

Holix

In the profile config.yaml:

mcp_servers:
  holix_office:
    transport: stdio
    command: mcp-collabora-holix
    args: []
    env:
      HOLIX_OFFICE_WORKSPACE: /absolute/path/to/documents

Start a new session. Studio users should leave this block alone: Studio owns the holix_office entry it created and will refresh it.

Claude

Claude Desktop, macOS: ~/Library/Application Support/Claude/claude_desktop_config.json. Windows: %APPDATA%\Claude\claude_desktop_config.json.

{
  "mcpServers": {
    "mcp-collabora-holix": {
      "command": "mcp-collabora-holix",
      "args": [],
      "env": {
        "HOLIX_OFFICE_WORKSPACE": "/absolute/path/to/documents"
      }
    }
  }
}

Quit Claude Desktop and open it again.

Claude Code, from the project directory:

claude mcp add --transport stdio --env HOLIX_OFFICE_WORKSPACE=/absolute/path/to/documents mcp-collabora-holix -- mcp-collabora-holix

If mcp-collabora-holix is not on PATH, use the full path printed by command -v mcp-collabora-holix, or python with args ["-m", "holix_office"].

OpenClaw

openclaw mcp add mcp-collabora-holix \
  --command mcp-collabora-holix \
  --env HOLIX_OFFICE_WORKSPACE=/absolute/path/to/documents
openclaw mcp doctor mcp-collabora-holix --probe

The same server in OpenClaw config:

mcp:
  servers:
    mcp-collabora-holix:
      command: mcp-collabora-holix
      transport: stdio
      enabled: true
      env:
        HOLIX_OFFICE_WORKSPACE: /absolute/path/to/documents

Hermes

~/.hermes/config.yaml:

mcp_servers:
  mcp-collabora-holix:
    command: mcp-collabora-holix
    args: []
    env:
      HOLIX_OFFICE_WORKSPACE: /absolute/path/to/documents

Then hermes chat. The tools show up as mcp__mcp-collabora-holix__office_list_tool and the other office_* tools.

Codex

~/.codex/config.toml, or .codex/config.toml in a trusted project:

[mcp_servers.mcp-collabora-holix]
command = "mcp-collabora-holix"
args = []

[mcp_servers.mcp-collabora-holix.env]
HOLIX_OFFICE_WORKSPACE = "/absolute/path/to/documents"

Or:

codex mcp add mcp-collabora-holix --env HOLIX_OFFICE_WORKSPACE=/absolute/path/to/documents -- mcp-collabora-holix

In the Codex TUI, /mcp lists the server.

Workspace

Variable

Meaning

HOLIX_OFFICE_WORKSPACE

Absolute path of the folder the tools may touch

HOLIX_STUDIO_WORKSPACE_ROOT

Set by Holix Studio. Used when the public variable is absent

HOLIX_PROFILE

Studio profile name, used only to refresh an open editor

If neither path variable is set, the process working directory is the workspace.

License

MIT. Copyright 2026 Pavel Lukyanov and ITRES contributors.

Available Tools

11 tools
office_append_toolB

Append a paragraph to a docx or odt file and reload it in the editor.

Inputs: path (required), text (required). Returns: result

office_chart_toolB

Add a bar, line, or pie chart to an xlsx sheet or a pptx slide.

For xlsx, data_range is the values including the series title, for example B1:B4, and categories_range is the labels, for example A2:A4. anchor is the cell where the chart sits, for example E2. For pptx, categories and values are comma-separated lists of the same length, such as Jan,Feb and 10,12.

Inputs: path (required), sheet, slide, title, +7 more. Returns: result

office_create_toolA

Create an empty new office document in the workspace.

path is a workspace-relative name ending in docx, xlsx, pptx, odt, ods, or odp; the file must not exist yet. title adds a first heading (docx, odt), a title slide (pptx, odp), and is ignored for spreadsheets. sheet_name renames the first sheet of xlsx or ods (max 31 chars). After creation, edit the file with the other office_* tools.

Inputs: path (required), title, sheet_name. Returns: result

office_format_toolA

Format existing text and reload the file in the editor.

Works for docx, xlsx, pptx, odt, ods, and odp. path is workspace-relative. text is the exact phrase. font is a family such as Calibri. size is points, such as 14. color and fill are RRGGBB. style is a named paragraph style such as Heading 1, and is available for docx and odt. Omit a property to leave it unchanged. Bold, italic, color, font, and size apply to each match. fill shades a paragraph only when that paragraph's whole text is the phrase. Do not unzip the file or rewrite its XML.

Inputs: path (required), text (required), bold, fill, +6 more. Returns: result

office_list_toolB

List docx, xlsx, pptx, odt, ods, and odp files in the profile workspace.

Inputs: no named parameters. Returns: result

office_media_toolA

Insert a workspace image or video into an office document.

path and media are workspace-relative. Images go into docx, xlsx, pptx, odt, ods, and odp. Video plays on pptx and odp slides and in an odt frame. A docx stores the video and a link. slide is 1-based for presentations and the sheet number for xlsx. width_cm and height_cm set the frame size.

Inputs: path (required), media (required), slide, width_cm, +1 more. Returns: result

office_read_toolC

Read plain text from a workspace office document.

path: workspace-relative path, for example reports/plan.docx.

Inputs: path (required), max_chars. Returns: result

office_replace_toolB

Replace text in a workspace office document and reload it in the editor.

Contiguous text keeps its formatting. Text split across runs is rewritten as one run in that paragraph. path is workspace-relative.

Inputs: new (required), old (required), path (required). Returns: result

office_sheet_toolB

Edit an xlsx or ods workbook: sheets, cells, formulas, and links.

action is list, add, read, set, formula, link, or name. sheet is the sheet name. cell looks like A1. formula is Excel-like, including a link to another sheet such as =Other!A1. link is a hyperlink, for example https://example.com or #'Other'!A1. name creates an xlsx defined name; range_ref looks like Sheet1!$A$1:$B$10. list and read return values and formulas.

Inputs: path (required), action (required), cell, link, +4 more. Returns: result

office_slide_toolA

Edit a pptx or odp presentation and reload it in the editor.

action is list, add, set, notes, or delete. slide is 1-based. layout for a new pptx slide is title, title_body, section, two, title_only, or blank. Set title and body on add or set. notes replaces the speaker notes on pptx and adds a notes box on odp. Use office_format_tool for fonts on slide text, office_media_tool for pictures and video, office_table_tool and office_chart_tool for tables and charts.

Inputs: path (required), action (required), body, notes, +3 more. Returns: result

office_table_toolA

Read or write a table in docx, xlsx, pptx, odt, ods, or odp.

action is read, add, or set. rows_json is a JSON list of rows, for example [["Name","Qty"],["A","1"]]. table is 1-based. row and col are 0-based when setting one cell. On xlsx, add writes the grid at A1 and creates an Excel table. On ods, add writes the grid onto the first sheet. slide is 1-based for pptx and odp.

Inputs: path (required), action (required), col, row, +5 more. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 11 tools

    Disambiguation4/5

    Each tool targets a distinct resource or action: file listing/reading, text replace/append/format, media insertion, and format-specific editors (slide, sheet, table, chart). The slide tool explicitly delegates to format/media/table/chart tools, preventing overlap. Minor potential confusion between office_replace_tool and office_format_tool, but descriptions clarify their boundaries.

    Naming Consistency4/5

    All tools share the predictable office_<name>_tool wrapper, making them easy to scan and use. However, the middle token mixes verbs (list, read, replace, append, format, create) with nouns (media, slide, sheet, chart, table), so it's not a strict verb_noun pattern. Mostly consistent with minor deviations.

    Tool Count5/5

    11 tools is well-scoped for an office document suite, covering discovery, editing, and format-specific operations without redundancy. Each tool earns its place in the surface.

    Completeness4/5

    Coverage includes create, list, read, text replace/append/format, media, and per-format editing (slides, sheets, tables, charts). Missing a file delete or rename/move operation; delete is only partly covered for slides, so minor gaps remain.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Enables AI agents to read and edit Word (.docx) and PDF documents with byte-level fidelity, using minimal in-package rewrites for DOCX and text-layer detection with page rendering for PDF, including OCR-free handling of scanned files via image output.
      7
      MIT