lo-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
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": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| check_connectionA | Check whether the lo-mcp LibreOffice extension is reachable. Call this first. If not connected, LibreOffice needs to be running with the lo-mcp extension's server started (lo-mcp menu > Start Server). |
| create_documentA | Create a new, blank Writer document. Returns a doc_id for later calls. |
| open_documentC | Open an existing document from disk. Returns a doc_id. |
| list_documentsA | List documents currently open via lo-mcp, with their doc_id and modified state. |
| get_textC | Read the full text content of a Writer document. |
| insert_textA | Append text at the end of a Writer document. break_before controls what precedes the text: "none" (default, keeps typing in the current paragraph), "line" (soft line break, same paragraph), "paragraph" (starts a new paragraph), or "page" (starts a new paragraph on a new page). bold/italic/underline apply direct character formatting to just the text being inserted. style is a paragraph style name (e.g. "Heading 1", "Title") applied to the paragraph the text lands in; char_style is a character style name (e.g. "Emphasis", "Strong Emphasis") applied to just the inserted run. Use list_styles to see what's actually available in a given document rather than guessing names. |
| set_paragraph_styleA | Apply a paragraph style (e.g. "Heading 1", "Title") to an existing paragraph. Defaults to the last paragraph if paragraph_index is omitted. Index is 0-based (negative indices count from the end, Python-style) and counts paragraphs only — tables don't count. |
| get_paragraph_styleA | Read a paragraph's style name and break type. Defaults to the last paragraph. paragraph_index is 0-based; negative indices count from the end, Python-style. |
| list_stylesA | List style names available in a document for a given style family. family is one of "ParagraphStyles" (default), "CharacterStyles", "PageStyles", "FrameStyles", "NumberingStyles". Use this before calling insert_text(style=...)/char_style=.../set_paragraph_style to find valid names instead of guessing — built-in style sets vary slightly by LibreOffice version and locale, and documents can also define custom styles. |
| insert_tableA | Insert a table at the end of the document. Supports up to 26 columns. data, if given, is a 2D list of row values written into cells (values beyond the table's rows/cols are ignored). header=True bolds row 1. |
| get_table_cellB | Read a table cell's text (e.g. cell="A1"). Uses the first table if table_name is omitted. |
| find_and_replaceC | Replace all occurrences of |
| save_documentB | Save a document in place (if it already has a location) or to a new path. |
| export_documentC | Export a document to Supported formats: odt, pdf, docx, doc, rtf, txt, html. |
| close_documentA | Close a document. Refuses if there are unsaved changes unless force=True. |
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 15 tools
Each tool has a clearly distinct purpose, from connection checking to document lifecycle operations, content insertion, reading, and style management. No two tools could be easily confused.
All tool names follow a consistent verb_noun pattern with underscores and lowercase, e.g., create_document, get_text, set_paragraph_style, find_and_replace. No mixing of conventions.
15 tools cover document creation, opening, saving, closing, exporting, content insertion (text, table), reading (text, styles, table cells), search/replace, style listing, and document listing. This is well-scoped for a Writer manipulation server.
The tool set covers basic document operations and insertion, but lacks deletion capabilities (no tool to remove text, tables, or paragraphs) and modification of existing content (e.g., changing formatting after insertion, updating table cells). These gaps are notable for a full document editing workflow.