LibreOffice MCP服务器
MCP服务器通过uno操纵LibreOffice。
经过测试 OpenAI Codex (v0.63.0), Python 3.14.0,以及 LibreOffice 25.8.2.1.
LibreOffice
"C:\Program Files\LibreOffice\program\soffice" --headless --accept="socket,host=0.0.0.0,port=2002;urp;" --nologo --nodefault --norestore --nofirststartwizard主控程序
"C:\Program Files\LibreOffice\program\python" -m pip install -r requirements.txt
"C:\Program Files\LibreOffice\program\python" main.py --bind 0.0.0.0 --port 8765法典
codex mcp add libreoffice --url http://192.168.2.20:8765/克劳德
claude mcp add --transport http libreoffice http://192.168.2.20:8765/巧克力味
choco install python3 libreoffice-still恰当
apt install python3 python3-uno libreoffice