Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PYTHONPATH | No | Path to the mcp-libre project directory | |
| LIBREOFFICE_PATH | No | Optional path to the LibreOffice executable (default is /usr/bin/libreoffice) | /usr/bin/libreoffice |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| create_document | Create a new LibreOffice document |
| read_document_text | Extract text content from a LibreOffice document |
| convert_document | Convert a document to a different format |
| get_document_info | Get detailed information about a LibreOffice document |
| read_spreadsheet_data | Read data from a LibreOffice Calc spreadsheet |
| insert_text_at_position | Insert text into a LibreOffice Writer document |
| search_documents | Search for documents containing specific text |
| batch_convert_documents | Convert multiple documents in a directory to a different format |
| merge_text_documents | Merge multiple text documents into a single document |
| get_document_statistics | Get detailed statistics about a document |
| open_document_in_libreoffice | Open a document in LibreOffice GUI for live viewing |
| refresh_document_in_libreoffice | Send a refresh signal to LibreOffice to reload a document |
| watch_document_changes | Watch a document for changes and provide live updates |
| create_live_editing_session | Create a live editing session with automatic refresh capabilities |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| list_documents | List all LibreOffice documents in common locations |