OfficeAgent.NET logo

OfficeAgent.NET

by ilia-sokolov

Edit Word, PowerPoint, and Excel files through validated, previewed MCP operations over stdio or streamable HTTP.

Install OfficeAgent.NET

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

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "ilia-sokolov-officeagent-net": {
      "command": "uvx",
      "args": [
        "officeagent-mcp"
      ]
    }
  }
}

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

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

uvx officeagent-mcp

No response to initialize.

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

ilia-sokolov/OfficeAgent.NET connects AI agents and .NET applications to Microsoft Office Open XML files without requiring Office to be installed. It supports structured edits to Word, PowerPoint, and Excel documents, including tracked changes, templates, tables, styles, comments, content controls, slides, charts, worksheets, formulas, and document properties. Each change is represented as a typed plan, previewed and validated before the result is written to filesystem or supported document storage. Reach for it when an agent must modify real Office files while preserving document structure, review metadata, and template formatting.

Use cases

  • Edit contract clauses as tracked Word revisions
  • Fill Word templates with controls and repeating table rows
  • Generate PowerPoint slides from an existing company template
  • Inspect and update Excel cells, formulas, and table rows
  • Refresh Word reports or PowerPoint decks from Excel data

Key features

  • Preview and validate typed document-edit plans before writing
  • Preserve Word styles, numbering, headers, comments, and review metadata
  • Create and update PowerPoint content using template layouts
  • Inspect and edit Excel worksheets, formulas, tables, and notes
  • Read and write documents through filesystem and external storage providers
  • Run through MCP stdio or streamable HTTP

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 112d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 14d ago via OSV.dev · officeagent-mcp (PyPI)

Adoption & maintenance

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

GitHub stars31Stargazers on the source repository.
Last commit3d agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Directory activity10 viewsConfig copies, upvotes, and views on AllMCPs.

How OfficeAgent.NET works

What ilia-sokolov/OfficeAgent.NET does

ilia-sokolov/OfficeAgent.NET gives agents and .NET applications a structured way to inspect and modify Microsoft Office Open XML files. It handles Word .docx, PowerPoint .pptx, and Excel .xlsx documents through the Open XML SDK, so Microsoft Office does not need to be installed on the host.

Word workflows cover creation from blank files or .docx and .dotx templates, text and paragraph changes, tables, images, styles, headers, footers, notes, page setup, content controls, bookmarks, document properties, comments, and revision markup. Edits can be recorded as tracked changes, with a revision identity assigned per plan. PowerPoint workflows can create or update presentations using template layouts, named shapes, tables, editable charts, images, media, notes, comments, sections, transitions, and animations. Excel support includes worksheet, table, and bounded-range inspection; displayed cell values; searches; cell and formula updates; table-row appends; and cell notes.

The package also supports report refreshes from Excel into linked Word or PowerPoint content, translation and repeated text changes, template discovery and binding, bounded batches of up to 100 documents, and read-only comparison of supported Word paragraph text.

How it works

An agent works with structured document data and JSON-serializable operations rather than directly manipulating package XML. A proposed edit is assembled into a typed plan, then previewed and checked before application. If validation fails, the write is not performed. Applied operations produce SHA-256 receipts and can include a host-supplied audit actor.

The same document engine is exposed through an MCP server, Microsoft Agent Framework and Microsoft.Extensions.AI tools, or a direct .NET API. MCP communication works over standard input/output or streamable HTTP. Documents may come from bounded filesystem roots, SharePoint, iManage Work, Google Drive, Box, Azure Blob Storage, Amazon S3, in-memory sessions, or inline content.

Setup and configuration

For an MCP client, the project documents a Python-based launch using uvx officeagent-mcp --stdio, pointed at a folder containing the documents. Standalone downloads are available for Claude Desktop, and the server can also be hosted over streamable HTTP. A .NET application can add the OfficeAgent.Word package and use the direct API instead.

Storage can be configured through the supported document providers, or the server can operate without storage using inline content or in-memory sessions. Deployment options include local hosting and Azure Container Apps. Optional components cover page-image or PDF rendering, hosted connection authorization, and client-specific connectors.

The implementation targets .NET 10 for its .NET distribution. Its scope is document-package editing; workflows that depend on Microsoft Office's layout or calculation engine should account for that distinction.

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 OfficeAgent.NET

ilia-sokolov/OfficeAgent.NET is an MCP server that connects AI agents to Word, PowerPoint, and Excel Open XML files. Its main tools plan, preview, validate, and apply structured edits such as tracked Word revisions, template filling, slide updates, worksheet changes, and report refreshes without requiring Office to be installed.

Install it for an MCP client with the documented `uvx officeagent-mcp --stdio` launcher, or use a standalone download for Claude Desktop. .NET applications can add the `OfficeAgent.Word` package. The server can also be hosted over streamable HTTP.

Yes, it works with Cursor through MCP. The server supports standard input/output and streamable HTTP transports, and the project lists Cursor among the clients that can launch it with the stdio command.

Yes, it can record supported Word edits as tracked revisions. Plans can set one revision identity and optionally mark only changed words, while validation and preview occur before any document is written.

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 PreviewOfficeAgent.NET AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/ilia-sokolov-officeagent-net?style=directory)](https://allmcps.com/mcp/ilia-sokolov-officeagent-net)
HTML Embed
<a href="https://allmcps.com/mcp/ilia-sokolov-officeagent-net"><img src="https://allmcps.com/api/badge/ilia-sokolov-officeagent-net?style=directory" alt="OfficeAgent.NET on AllMCPs" /></a>