# ilia-sokolov/OfficeAgent.NET [Health: Active]

**Category:** 🏢 Workplace & Productivity  
**Repository:** https://github.com/ilia-sokolov/OfficeAgent.NET  
**GitHub Stars:** 31  
**Views:** 10  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/ilia-sokolov-officeagent-net

## Description
⃣ 🎖️ 🏠 ☁️ 🍎 🪟 🐧 - Let agents edit real Microsoft Word (.docx) documents - tracked changes, tables, styles, comments, content controls, and document properties - with edits validated and previewed before saving. Built on the Open XML SDK; reads and writes documents in place through filesystem or SharePoint storage without automating Word. Runs over stdio or streamable HTTP.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "officeagent-net": {
    "command": "uvx",
    "args": ["officeagent-mcp"]
  }
}
```

## Documentation

## 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.

_Full upstream README: https://allmcps.com/mcp/ilia-sokolov-officeagent-net/readme_

