A few weeks ago I released OfficeAgent.NET 0.1, an open-source .NET library that lets AI agents create and edit real Word documents. Instead of manipulating the Open XML themselves, they describe their intent as a typed, validated change plan, and the library turns it into the Open XML that carries it out: tracked changes, tables, comments, and content controls included. Version 0.1 shipped with an integration for Microsoft Agent Framework (MAF), so you could give those document tools to a custom .NET agent.

Today I'm introducing version 0.2. It exposes the same workflow over the Model Context Protocol (MCP), so any MCP-capable agent can read and edit real Word documents. This version also adds a SharePoint document provider, so agents can work on documents where they actually stored: directly in SharePoint, one of the most widely used cloud document stores in the enterprise, rather than on a local disk.

Any agent, over MCP

MCP is an open standard for how an AI agent discovers and calls tools. OfficeAgent.NET 0.2 ships OfficeAgent.Mcp, a server (built on the official C# MCP SDK) that projects the document workflow as MCP tools:

inspect_document - a structured map of the document: outline, paragraphs with stable ids, styles, content controls, tables, images, and revisions.