
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@mindstone-engineering/mcp-server-office
Advanced tools
Microsoft Office (Word, Excel, PowerPoint) MCP server for Model Context Protocol hosts. Bundles the stdio MCP server, the Office add-in sidecar, and the add-in task pane assets.
Microsoft Office MCP server — read and edit Word documents, Excel workbooks, and PowerPoint presentations from a Model Context Protocol host.
This package bundles three pieces that version together:
dist/index.js) — exposes ~50 Office tools over MCPdist/sidecar/cli.js) — a local HTTPS server that bridges the MCP process and the Office task pane over WebSocketdist/addin/, manifest.xml) — the task pane HTML/JS sideloaded into Word, Excel, and PowerPointDesktop-only: Office Add-in sideload and office-addin-dev-certs HTTPS cert generation only work on desktop operating systems (macOS, Windows). There is no cloud mode.
cd <path-to-repo>/connectors/office
npm install
npm run build
npx -y @mindstone-engineering/mcp-server-office
node dist/index.js
MCP_OFFICE_SIDECAR_STATE.dist/sidecar/cli.js.office-addin-dev-certs), binds to port 52100 (with a small fallback
window), writes manifest.word.xml / manifest.excel.xml /
manifest.powerpoint.xml into each Office app's WEF folder, and writes
a state file containing its port + auth token.Read by the stdio MCP server (dist/index.js):
MCP_OFFICE_SIDECAR_STATE — required. Absolute path to the sidecar state
file (JSON). The MCP server reads port and token from this file to talk
to the sidecar; the sidecar writes it on startup. The state file's parent
directory doubles as the sidecar's state directory (certs, per-app
manifests).MCP_OFFICE_SIDECAR_DISABLE — optional kill-switch. When set (1), the
MCP server refuses to talk to or spawn the sidecar.Read by the sidecar (dist/sidecar/cli.js) — normally set by the MCP server
when it lazy-spawns the sidecar, but documented here for hosts that manage the
sidecar lifecycle directly:
MCP_OFFICE_SIDECAR_STATE_DIR — required by the sidecar. Directory for
the state file, HTTPS certificates, and generated per-app manifests
(manifest.word.xml, manifest.excel.xml, manifest.powerpoint.xml). The
MCP server derives this from the parent directory of
MCP_OFFICE_SIDECAR_STATE and passes it through automatically.MCP_OFFICE_ADDIN_DIR — optional. Absolute path to the built add-in static
files (the directory containing taskpane.html, taskpane.js, and
assets/). The MCP server sets this to the package's dist/addin/
directory; hosts serving a custom add-in bundle can override it.The Office connector is designed to be managed by a host application (like
Mindstone Rebel) that owns the sidecar lifecycle. Running it directly from
Claude Desktop is possible but the host must provide a writable
MCP_OFFICE_SIDECAR_STATE path.
{
"mcpServers": {
"Office": {
"command": "npx",
"args": ["-y", "@mindstone-engineering/mcp-server-office"],
"env": {
"MCP_OFFICE_SIDECAR_STATE": "/absolute/path/to/sidecar-state.json"
}
}
}
}
"RebelOffice": {
"name": "RebelOffice",
"type": "stdio",
"command": "npx",
"args": ["-y", "@mindstone-engineering/mcp-server-office@0.1.0"],
"env": {
"MCP_OFFICE_SIDECAR_STATE": "~/Library/Application Support/mindstone-rebel/office-sidecar/sidecar-state.json"
},
"description": "Microsoft Office integration — Word, Excel, PowerPoint.",
"catalogId": "bundled-office"
}
rebel_office_setup, rebel_office_statusThe authoritative tool list and schemas are registered in src/index.ts and
returned by listTools.
MCP_OFFICE_SIDECAR_STATE=/tmp/rebel-office-smoke/sidecar-state.json \
node dist/index.js
Then send a listTools MCP request on stdin; you should get back the full tool
manifest. The server does not need a live sidecar to respond to listTools.
FSL-1.1-MIT — Functional Source License, Version 1.1, with MIT future licence. The software converts to MIT licence on 2030-04-08.
See SECURITY.md for this connector's security policy and the repository-level SECURITY.md for vulnerability reporting.
Some files in this package are byte-compatible copies of code that also
lives in the Mindstone Rebel monorepo (github.com/mindstone/MindstoneRebel).
They have to stay in sync on both sides; there is no automation today.
Vendored from Rebel's src/shared/sidecar/ (wire-format contract between
Rebel's main process and this sidecar CLI):
src/shared/sidecar/stateFile.tssrc/shared/sidecar/readySignal.tssrc/shared/sidecar/constantTime.tssrc/shared/sidecar/errorMessages.tsVendored from Rebel's src/core/appBridge/ (minimum slice needed for the
sidecar bundle; ~1,444 LOC across four files):
src/shared/appBridge/server/commandRouter.tssrc/shared/appBridge/server/connectionManager.tssrc/shared/appBridge/shared/errors.tssrc/shared/appBridge/shared/protocol.tsIf the Rebel-side files change, this package's copies will drift silently.
The state-file / ready-signal schemas in particular are a wire-format contract
— the Rebel main process parses what the sidecar writes — and a silent drift
will surface as runtime ReadySignalSchema.safeParse() failures or sidecar
startup regressions.
Extract these into their own published package (e.g.
@mindstone-engineering/app-bridge-core plus a shared sidecar-protocol
package) so they become versioned contracts rather than vendored code.
Until then: anyone touching either side must manually keep both copies in
sync. When editing here, diff against the corresponding file in the Rebel
monorepo (src/shared/sidecar/* and src/core/appBridge/*) and copy the
change across before landing. Both sides are covered by their own test suites
but neither proves the other's copy is byte-current.
FAQs
Microsoft Office (Word, Excel, PowerPoint) MCP server for Model Context Protocol hosts. Bundles the stdio MCP server, the Office add-in sidecar, and the add-in task pane assets.
The npm package @mindstone-engineering/mcp-server-office receives a total of 0 weekly downloads. As such, @mindstone-engineering/mcp-server-office popularity was classified as not popular.
We found that @mindstone-engineering/mcp-server-office demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.