Office MCP logo

Office MCP

Create, inspect, edit, render, and verify Excel, Word, and PowerPoint files locally on Windows through MCP.

Install Office MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "office-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@parryhotter/office-mcp"
      ],
      "env": {
        "OFFICE_MCP_ROOTS": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

The install command didn't complete successfully in our automated test.

npx -y @parryhotter/office-mcp

otsup Unsupported platform for @parryhotter/office-mcp@0.10.2: wanted {"os":"win32"} (current: {"os":"linux"}) npm error notsup Valid os: win32 npm error notsup Actual os: linux npm notice npm notice New major version of npm available! 10.9.9 -> 12.2.3 npm notice Changelog: https://github.com/npm/cli/releases/tag/v12.2.3 npm notice To update run: npm install -g npm@12.2.3 npm notice npm error A complete log of this run can be found in: /home/user/.npm/_logs/2026-11-18T15_52_24_655Z-debug-0.log

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The Office MCP MCP server gives AI agents local MCP tools for creating, inspecting, editing, analyzing, rendering, and reviewing Excel, Word, and PowerPoint files. It runs over stdio on Windows, restricts file access to directories specified by OFFICE_MCP_ROOTS, and does not require an API key. Basic Office file operations can work without desktop Microsoft Office, while native features such as recalculation, animations, and PowerPoint rendering require the corresponding installed applications. Use it when an agent needs to produce or review Office documents while keeping files on a local Windows machine.

Use cases

  • Create Excel workbooks with formulas, charts, tables, and PivotTables
  • Draft Word documents with structured layouts, citations, comments, and tracked changes
  • Generate PowerPoint presentations with media, transitions, animations, and rendered slide reviews
  • Inspect and compare Office drafts before finalizing them

Key features

  • Local stdio operation on Windows
  • Bounded file access through OFFICE_MCP_ROOTS
  • Excel workbook creation, editing, analysis, and recalculation
  • Word document authoring, review, and PDF export
  • PowerPoint generation, animation editing, and rendering
  • File inspection, comparison, quality checks, and review evidence

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

16/16 checks healthy over the last 47d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 14d ago via OSV.dev · @parryhotter/office-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
npm downloads493Package downloads in the last 30 days.
Last commit1mo agoMost recent push to the default branch.
Install checkInconclusiveInstall command did not finish in our automated test.
Directory activity19 viewsConfig copies, upvotes, and views on AllMCPs.

How Office MCP works

What the Office MCP MCP server does

The Office MCP MCP server exposes a bounded set of MCP tools for working with .xlsx, .docx, and .pptx files on Windows. It supports both package-level file operations and, when desktop Microsoft Office is installed, automation through Excel, Word, and PowerPoint. The server is intended for an orchestrating model that plans a task, calls tools to build or modify a file, inspects the result, and performs review before delivery.

Supported work includes workbook creation and range editing, document structure and formatting, and presentation construction. The server can also inspect supported files, compare drafts, discover files in approved directories, export PDFs, and prepare render-backed review evidence.

How it works

The server runs locally through standard input/output and is launched by an MCP client when needed. It does not use an API key or a remote service. File reads and writes are limited to the directories listed in OFFICE_MCP_ROOTS; paths outside those roots are rejected. A narrow root is recommended when the agent only needs access to one project or document folder.

The implementation has two operating modes. Direct package handling can create and inspect Office files without opening desktop applications. Windows-native automation adds features that depend on installed Office applications, including native calculation, charts, PivotTables, animation editing, slide rendering, and some export workflows. PowerPoint generation is designed to run in the background by default.

Setup and configuration

The Office MCP MCP server requires Windows and Node.js 20 or newer. Install the published @parryhotter/office-mcp package with npx, then register one stdio server entry in an MCP client. The documented configurations cover Claude Desktop, Cursor, Windsurf, VS Code with GitHub Copilot, Codex CLI, and Claude Code. After changing configuration, restart the client or begin a new chat.

Set OFFICE_MCP_ROOTS to one or more approved filesystem roots according to the server's configuration format. The quick-start example uses the Windows Documents folder, but a narrower directory is safer. Desktop Microsoft Office is optional for basic .xlsx, .docx, and .pptx creation and inspection, and is needed for Windows-native features such as animations and PowerPoint rendering.

For development or unreleased revisions, clone the repository, run npm ci, build with npm run build, and register the resulting dist/index.js entry instead of using npx.

Tools and capabilities

The Office MCP MCP server exposes 34 tools across these areas:

  • Excel: create and inspect workbooks; read, write, and format ranges; use formulas and native recalculation; create tables, charts, named ranges, conditional formatting, data validation, and PivotTables; sort, filter, and query data.
  • Word: create and inspect documents; configure sections and page layouts; add headers, footers, page numbers, tables of contents, headings, lists, tables, images, links, footnotes, citations, comments, and tracked changes; export PDFs.
  • PowerPoint: create, inspect, and audit presentations; reuse masters and layouts or duplicate styled slides; add text, shapes, images, media, tables, charts, and notes; edit transitions and native animation timelines; export PDFs and render slides as PNG files.
  • Common review operations: discover files, list active Office files, inspect and compare supported files, run prompt-specific quality checks, and finalize reviewed drafts.

Limitations and notes

The Office MCP MCP server currently targets Windows; macOS and Linux are out of scope. It does not determine the content or design of a report, workbook, or presentation.

Access control is based on configured filesystem roots, not a general-purpose sandbox for every possible Windows action. The project intentionally avoids exposing an arbitrary COM execution tool. Review and finalization workflows depend on the agent calling the relevant inspection and rendering tools rather than assuming that a saved file is complete. This is an independent project and is not affiliated with Microsoft.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Office MCP

Office MCP is an MCP server that connects AI agents to local Excel, Word, and PowerPoint files on Windows. Its main tools create, inspect, edit, analyze, render, compare, and verify Office documents through stdio, with access limited to configured folders and optional use of installed desktop Office for native features.

Install it by registering `npx -y @parryhotter/office-mcp` as a stdio server in your MCP client and setting `OFFICE_MCP_ROOTS` to an approved Windows folder. The README provides commands for Codex CLI and Claude Code, plus JSON examples for Claude Desktop, Cursor, Windsurf, and VS Code.

Yes, Office MCP works with Cursor through its MCP configuration file. Add a stdio entry using `cmd /c npx -y @parryhotter/office-mcp`, set `OFFICE_MCP_ROOTS` to the permitted folder, and fully restart Cursor after saving the configuration.

No, desktop Microsoft Office is not required for basic creation and inspection of `.xlsx`, `.docx`, and `.pptx` files. Installed Office applications are required for Windows-native capabilities such as native recalculation, animations, and PowerPoint rendering.

Office MCP restricts reads and writes to directories named in `OFFICE_MCP_ROOTS`. Paths outside those configured roots are rejected, so you can point the server at a narrow project or document folder instead of the entire Documents directory.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewOffice MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/office-mcp?style=directory)](https://allmcps.com/mcp/office-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/office-mcp"><img src="https://allmcps.com/api/badge/office-mcp?style=directory" alt="Office MCP on AllMCPs" /></a>