MCP server for Office add-ins via WebView2/CDP. Provides excel., page., and addin.* tools.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Drive Excel, Word, Outlook, PowerPoint, and OneNote add-ins from any MCP client β through one Go binary that speaks the Model Context Protocol over stdio.
office-addin-mcp attaches to the WebView2 runtime that Office uses to host Office.js add-ins, then exposes a high-level tool surface to LLM clients. Instead of teaching the model how to chain 15 raw Office.js primitives, the server ships one tool call per workflow.
See the latest release Β· CHANGELOG.md Β· PLAN-workflow-surface.md.
excel.tabulateRegion, word.applyEdits, outlook.draftReply, powerpoint.rebuildSlideFromOutline, onenote.appendToPage, and excel.summarizeWorkbook each compress what used to be 5β20 calls into one Office.js batch (one CDP round-trip).excel.query / outlook.query / powerpoint.query / onenote.query run filter / project / groupBy / agg / limit inside the host so a 100k-row workbook returns a 5-row answer.*.discover tools snapshot workbook / document / mailbox / deck / notebook structure to %LOCALAPPDATA%\office-addin-mcp\doccache.json so repeat discovery calls cost zero CDP round-trips.office://excel/Book1/Sheet1!A1:D20, office://word/<doc>/bookmark/<name>, office://outlook/inbox, office://pp/<deck>/slide<N>, office://onenote/<notebook>/<section>/<page> β and subscribe to notifications/resources/updated when contents change.macro.record_start β run any sequence of tools β macro.record_stop writes a JSON macro to disk. On next launch the server registers each macro as a callable macro.<name> tool.ItemNotFound, address parse failures, slide-index errors, and compose-vs-read mismatches are enriched in the failure envelope with available_sheets, nearest_name_suggestions, parsed_address, slide_count, item_mode, and a recoveryHint β so the model can self-correct without a second round-trip.--launch-addin or a prior addin.launch call); attaching to an external --browser-url endpoint is never disturbed.addin.launch, addin.ensureRunning, and macro replay stream MCP $/progress notifications at each phase boundary (dev-server start, sideload, CDP-ready wait, step execution) so clients can show a live status bar instead of a silent spinner.office.embed reads a range from Excel and inserts it onto a PowerPoint slide in one call.page.* / pages.* / inspect.* / interact.* cover screenshot, snapshot, click, fill, type, hover, navigate, evaluate, wait, console log, network log β same primitives against headless Chrome on macOS/Linux.runScript escape hatch. excel.runScript, word.runScript, outlook.runScript, powerpoint.runScript, onenote.runScript run arbitrary <Host>.run callbacks when the workflow surface isn't enough.| Requirement | Notes |
|---|---|
| Office on Windows 10/11 | Required for all *.runScript / *.query / *.discover / *.applyDiff / addin.* tools β Office only uses WebView2 on Windows |
| Node.js 14+ | For the npx install path |
| Go 1.22+ | Only needed to build from source |
| macOS / Linux | Supported for page.* / pages.* against headless Chrome (no Office) |
Or run on demand without installing:
Pre-built binaries for Windows x64, macOS (Intel + Apple Silicon), and Linux (x64 + ARM64) ship via optional npm dependencies β the correct binary is fetched automatically.
One command registers the server globally:
Or add it manually. Project scope (.claude/mcp.json in the repo) or user scope (~/.claude.json β mcpServers) both work:
Then, in any Claude Code session:
excel.summarizeWorkbook and excel.query automatically./mcp in Claude Code to inspect the tool list, or claude mcp list from a shell.Tip: pass
--launch-addinand Claude can sideload the add-in project under the current working directory automatically. No manual env var needed.
Workspace config at .vscode/mcp.json:
Or: Command Palette β MCP: Add Server β paste the command.
~/.cursor/mcp.json (global) or .cursor/mcp.json (project):
~/.codex/config.toml:
~/.codeium/windsurf/mcp_config.json:
npx["-y", "@dsbissett/office-addin-mcp@latest"]stdioOffice hosts only expose their WebView2 runtime to CDP when started with a debug-port env var. The variable is shared across every Office app, so the same setup works for all five:
PowerShell
Command Prompt
The server probes http://127.0.0.1:9222 by default. Override with --browser-url or --ws-endpoint. Or skip the setup entirely with --launch-addin β the server will detect the Office add-in project under cwd and sideload it through office-addin-debugging.
Phase 0 of PLAN-workflow-surface.md deleted the raw cdp.* surface; everything below is the workflow-shaped replacement. Each workflow tool is one MCP call β one Office.js batch β one CDP round-trip.
| Tool | Purpose |
|---|---|
excel.summarizeWorkbook | Sheets, tables, named ranges, used-range bounds β single call |
excel.tabulateRegion | Load a range, return rows-as-objects + per-column type tags |
excel.query | Server-side filter / project / groupBy / agg / limit DSL |
excel.discover | Persistent workbook fingerprint snapshot (doccache) |
excel.applyDiff | Batch cell/range patches in one Excel.run |
excel.runScript | Run an arbitrary Excel.run callback |
| Tool | Purpose |
|---|---|
word.discover | Document structure snapshot |
word.applyEdits | Batch find/replace edits in one Word.run |
word.runScript | Run an arbitrary Word.run callback |
| Tool | Purpose |
|---|---|
outlook.query | Query the mailbox / current item |
outlook.discover | Mailbox + active-item snapshot |
outlook.draftReply | Set subject and/or body on a compose-mode item |
outlook.runScript | Run an arbitrary callback against Office.context.mailbox |
| Tool | Purpose |
|---|---|
powerpoint.query | Slide-level query DSL |
powerpoint.discover | Deck structure snapshot |
powerpoint.rebuildSlideFromOutline | Rewrite a slide's title and/or body bullets |
powerpoint.runScript | Run an arbitrary PowerPoint.run callback |
| Tool | Purpose |
|---|---|
onenote.query | Notebook / section / page query DSL |
onenote.discover | Notebook structure snapshot |
onenote.appendToPage | Append HTML and/or bullets to a page |
onenote.runScript | Run an arbitrary OneNote.run callback |
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/office-addin-mcp)<a href="https://allmcps.com/mcp/office-addin-mcp"><img src="https://allmcps.com/api/badge/office-addin-mcp?style=directory" alt="Office Addin MCP on AllMCPs" /></a>