
jwingnut/mcp-libre
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
LibreOffice MCP Extension - AI assistant integration for LibreOffice via Model Context Protocol
Обзор
A comprehensive Model Context Protocol (MCP) server that provides tools and resources for interacting with LibreOffice documents. This server enables AI assistants and other MCP clients to create, read, convert, and manipulate LibreOffice documents programmatically. - : Embedded MCP server directly in LibreOffice - : Live document manipulation with instant visual feedback - : 10x faster than external server (direct UNO API access) - : Reduced from 32 individual tools for better UX - : Full revision tracking awareness - : Work with all open LibreOffice documents - : External AI assistant access via localhost:8765 - : New Writer, Calc, Impress, and Draw documents - : Extract text with visible_content for Track Changes awareness - : Paragraph-level navigation, cursor positioning, document outline - : Insert, format, select, and replace text - : Find/replace with Track Changes awareness (skips tracked deletions) - : Add and retrieve document annotations - : Enable, disable, list,...
README
Показан фрагмент оригинального README. Открыть оригинал.
LibreOffice MCP Server
A comprehensive Model Context Protocol (MCP) server that provides tools and resources for interacting with LibreOffice documents. This server enables AI assistants and other MCP clients to create, read, convert, and manipulate LibreOffice documents programmatically.
🚀 Features
LibreOffice Extension (Plugin) - Recommended!
- Native Integration: Embedded MCP server directly in LibreOffice
- Real-time Editing: Live document manipulation with instant visual feedback
- Performance: 10x faster than external server (direct UNO API access)
- 9 Consolidated Tools: Reduced from 32 individual tools for better UX
- Track Changes Support: Full revision tracking awareness
- Multi-document: Work with all open LibreOffice documents
- HTTP API: External AI assistant access via localhost:8765
Document Operations
- Create Documents: New Writer, Calc, Impress, and Draw documents
- Read Content: Extract text with visible_content for Track Changes awareness
- Navigate: Paragraph-level navigation, cursor positioning, document outline
- Edit: Insert, format, select, and replace text
- Search: Find/replace with Track Changes awareness (skips tracked deletions)
- Comments: Add and retrieve document annotations
- Track Changes: Enable, disable, list, accept/reject revisions
🔧 9 Consolidated MCP Tools
The MCP interface provides 9 logical tool groups (consolidated from 32 individual tools):
| Tool | Actions | Description |
|---|---|---|
document |
create, info, list, content, status | Document management |
structure |
outline, paragraph, range, count | Document navigation |
cursor |
goto_paragraph, goto_position, position, context | Cursor control |
selection |
paragraph, range, delete, replace | Text selection |
search |
find, replace, replace_all | Search/replace (Track Changes aware) |
track_changes |
status, enable, disable, list, accept, reject, accept_all, reject_all | Revision tracking |
comments |
list, add | Comment management |
save |
save, export | Save/export documents |
text |
insert, format | Text insertion and formatting |
See docs/TOOL_REFERENCE.md for complete documentation.
📋 Requirements
- LibreOffice: 24.2+ (must be accessible via command line)
- Python: 3.12+
- UV Package Manager: For dependency management
🛠 Installation
LibreOffice Extension (Recommended)
# Clone the repository
git clone https://github.com/jwingnut/mcp-libre.git
cd mcp-libre
Установка
This server does not publish a one-line install command.
Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →