Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By mahdyariefv0.1.0In 1 marketplace
MCP server for managing Word, Excel, and PowerPoint documents (docx, xlsx, pptx) — 47 tools for read, write, edit, format, and export via LibreOffice.
Connected while the plugin is enabled; Claude calls their tools.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
MCP server for managing Word, Excel, and PowerPoint documents via stdio JSON-RPC.
office-mcp is a Model Context Protocol
server written in Python that lets an MCP-compatible agent (Claude
Desktop, MCP Inspector, a custom agent) read, write, edit, format,
and export modern Microsoft Office files (.docx, .xlsx,
.pptx) over the standard stdio JSON-RPC transport.
The server is stateless: every tools/call opens the file,
performs the operation, saves, and returns. There is no in-memory
cache, no background thread, and no database.
docx → html is pure-Python (via mammoth); everything else
uses LibreOffice headless.PYTHONUTF8=1 / PYTHONIOENCODING=utf-8 so non-ASCII content
survives every tool call..venv/ already targets 3.12.*.pdf and .xlsx / .pptx → .html
export. The classic install paths are auto-detected; on Windows
the installer places soffice.exe at
C:\Program Files\LibreOffice\program\soffice.exe. The
headless mode used by office-mcp does not require a display
or a running LibreOffice instance.pyproject.toml and
pre-installed in .venv/: mcp[cli]>=1.27,<2, python-docx,
openpyxl, python-pptx, xlsxwriter, mammoth, defusedxml,
pydantic. The optional Pillow is used for sample
image generation only.init.sh is idempotent: it sets the right environment variables,
adds LibreOffice to PATH, activates the venv, and verifies every
required Python package. Run it once from the project root
in a Bash-compatible shell (Git Bash, WSL, or bash on
macOS / Linux):
bash init.sh
What it does:
export PYTHONUTF8=1 and export PYTHONIOENCODING=utf-8 so
Unicode survives every subprocess boundary.PATH (no
effect if it is already there)..venv/ (Scripts/activate on Windows,
bin/activate elsewhere). If .venv/ is missing it
bootstraps a fresh one.soffice --version (or a warning if LibreOffice is
missing — export tools will then raise
ERR_LIBREOFFICE_MISSING at call time, not at server start).If you do not want to source init.sh, set the same variables
manually before launching the server:
export PYTHONUTF8=1
export PYTHONIOENCODING=utf-8
export PATH="/c/Program Files/LibreOffice/program:$PATH" # Windows Git Bash
.venv/Scripts/python.exe server.py
# from the project root
.venv/Scripts/python.exe -m pip install -e .
The .[dev] extra pulls in pytest, pytest-asyncio, and
pyflakes.
# 1. Activate venv + set encoding + add LibreOffice to PATH
bash init.sh
# 2. Launch the server (talks JSON-RPC on stdio)
python server.py
The server prints nothing on success — it owns stdin/stdout for
the JSON-RPC stream. All diagnostic output goes to stderr. To
see the negotiated session, run the server under the MCP
Inspector:
.venv/Scripts/python.exe -m mcp.cli inspector server.py
To verify the server from a clean shell without an agent, use the manual smoke test:
# Spawns the server over stdio, runs `initialize` + `tools/list`,
# prints the registered tool count, and exits.
.venv/Scripts/python.exe smoke_server.py
Expected last line: OK initialize -> tools/list (47 tools).
Add the following to your claude_desktop_config.json. On
Windows the file lives at
%APPDATA%\Claude\claude_desktop_config.json; on macOS at
~/Library/Application Support/Claude/claude_desktop_config.json.
{
"mcpServers": {
"office-mcp": {
"command": "python",
"args": ["E:/PROJECT FILE/Dengan Hati/PROJECT IDEA/office-mcp/server.py"],
"env": {
"PYTHONUTF8": "1",
"PYTHONIOENCODING": "utf-8",
"OFFICE_MCP_DEFAULT_FOLDER": "E:/Documents"
}
}
}
}
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub mahdyarief/openclaude-plugins --plugin office-mcpPlugins from other owners that cover similar ground