
jwingnut/mcp-libre
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
LibreOffice MCP拡張 - モデルコンテキストプロトコルによるLibreOfficeのAIアシスタント統合
概要
LibreOffice文書とやり取りするためのツールとリソースを提供する包括的なモデルコンテキストプロトコル(MCP)サーバー。 このサーバーは、AIアシスタントや他のMCPクライアントが、プログラム的にLibreOffice文書を作成、読み、変換、および操作できるようにします。 - : LibreOfficeで直接MCPサーバーを組み込む - : 即時のビジュアルフィードバックでライブドキュメント操作 - : 外部サーバーよりも10倍速く(UNO APIアクセスを指示) - : より優れたUXのための32個々のツールから削減 - : 完全なリビジョントラッキング意識 - : すべてのオープンLibreOffice文書で作業 - : ローカルホストを介して外部AIアシスタントアクセス:8765 - : 新しい Writer、 Calc、インプレッション、およびドキュメントの描画 - : Track Changes の display content でテキストを抽出する - : パラグラフレベルのナビゲーション、カーソル位置、ドキュメントのアウトライン - : インサート、フォーマット、選択、およびテキストの置換 - : Track Changes の意識の検索/置換 - : ドキュメントアノテーションの追加と取得 - : 有効、無効、リスト、...
概要(AI 翻訳)
LibreOffice文書とやり取りするためのツールとリソースを提供する包括的なモデルコンテキストプロトコル(MCP)サーバー。 このサーバーは、AIアシスタントや他のMCPクライアントが、プログラム的にLibreOffice文書を作成、読み、変換、および操作できるようにします。
OST の特徴
##LibreOfficeエクステンション(プラグイン) - おすすめ!
- 否定的な統合: LibreOfficeで直接MCPサーバーを組み込む
- リアルタイムの編集:即時の視覚フィードバックの生きている文書操作 -Performance:外部サーバーより10x速く(UNO APIアクセスを指示して下さい)
- 9 連結ツール: より優れたUXのための32個の個々のツールから削減
- トラック変更サポート:完全リビジョントラッキングの意識 -マルチドキュメント: すべてのオープンLibreOffice文書を扱う
- ** HTTP API**: ローカルホストによる外部AIアシスタントアクセス:8765
ドキュメントオペレーション
-ドキュメントの作成:新しい作家、カルク、印象、文書の描画
- コンテンツを読む: Track Change の意識を高めるために display content でテキストを抽出する -Navigate:パラグラフレベルのナビゲーション、カーソル位置、ドキュメントのアウトライン -Edit: テキストの入力、形式、選択、置換
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
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 のガイドから始めましょう →