PM

patrup/mcp-libre

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

116 stars 36 forks Качество 57 Тренд 15MIT

patrup/mcp-libre — это кандидат на MCP-сервер, импортированный из https://github.com/patrup/mcp-libre.

Обзор

patrup/mcp-libre — это кандидат на MCP-сервер, импортированный из https://github.com/patrup/mcp-libre.

Обзор (машинный перевод)

Комплексный сервер Model Context Protocol (MCP), предоставляющий инструменты и ресурсы для взаимодействия с документами LibreOffice. Этот сервер позволяет ассистентам ИИ и другим клиентам MCP создавать, читать, конвертировать и программно обрабатывать документы LibreOffice.

📂 Структура хранилища

Этот репозиторий организован в логические каталоги:

  • src/ - Реализация ядра сервера MCP
  • tests/ - тестовый набор и скрипты проверки
  • examples/ - Демо-скрипты и примеры использования
  • config/ - Шаблоны конфигурации для интеграций
  • scripts/ - Утилитные скрипты для настройки и управления
  • docs/ - Исчерпывающая документация

Для подробной информации см. docs/REPOSITORY_STRUCTURE.md.

🚀 Особенности

Расширение LibreOffice (плагин) — НОВОЕ! 🎉

  • Нативная интеграция: встроенный MCP-сервер непосредственно в LibreOffice
  • Редактирование в реальном времени: Обработка документов в реальном времени с мгновенной визуальной обратной связью
  • Производительность: в 10 раз выше, чем внешний сервер (прямой доступ к API UNO)
  • Мультидокумент: Работа со всеми открытыми документами LibreOffice
  • Автозапуск: Автоматически доступен при запуске LibreOffice

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

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.

📂 Repository Structure

This repository is organized into logical directories:

  • src/ - Core MCP server implementation
  • tests/ - Test suite and validation scripts
  • examples/ - Demo scripts and usage examples
  • config/ - Configuration templates for integrations
  • scripts/ - Utility scripts for setup and management
  • docs/ - Comprehensive documentation

For detailed information, see docs/REPOSITORY_STRUCTURE.md.

🚀 Features

LibreOffice Extension (Plugin) - NEW! 🎉

  • 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)
  • Multi-document: Work with all open LibreOffice documents
  • Auto-start: Automatically available when LibreOffice starts
  • HTTP API: External AI assistant access via localhost:8765

Document Operations

  • Create Documents: New Writer, Calc, Impress, and Draw documents
  • Read Content: Extract text from any LibreOffice document
  • Convert Formats: Convert between 50+ formats (PDF, DOCX, HTML, etc.)
  • Edit Documents: Insert, append, or replace text in Writer documents
  • Document Info: Get detailed metadata about documents

Spreadsheet Operations

  • Read Spreadsheets: Extract data from Calc spreadsheets and Excel files
  • Structured Data: Get data as 2D arrays with row/column information

Advanced Tools

  • Document Search: Find documents containing specific text
  • Batch Convert: Convert multiple documents simultaneously
  • Merge Documents: Combine multiple documents into one
  • Document Analysis: Get detailed statistics (word count, sentences, etc.)

Live Viewing & Real-time Editing

  • GUI Integration: Open documents in LibreOffice for live viewing
  • Real-time Updates: See changes as AI assistants modify documents
  • Change Monitoring: Watch documents for modifications in real-time
  • Interactive Sessions: Create live editing sessions with automatic refresh

MCP Resources

  • Document Discovery: List all LibreOffice documents (documents://)
  • Content Access: Access specific document content (document://{path})

📋 Requirements

Открыть полный README на GitHub

Установка

npx @srbhptl39/mcp-superassistant-proxy@latest --config ~/Documents/mcp/mcp.config.json
Новичок в MCP? Начните с руководства на mcpskill.org →