MCP Server Studio

OfficeAgent.NET MCP server

Edit your Word, PowerPoint and Excel files and fill company templates without breaking formatting

Registry name: io.github.ilia-sokolov/officeagent

Publisher
ilia-sokolov
Runs
Runs locally
Package
NuGet, PyPI, Docker
Version
1.3.2
Category
Developer tools
Updated
2026-11-26

Source code on GitHub

Set up OfficeAgent.NET (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "officeagent": {
      "command": "dnx",
      "args": [
        "[email protected]",
        "--yes"
      ],
      "env": {
        "OfficeAgent__FileSystemConnections__0__ConnectionId": "<OfficeAgent__FileSystemConnections__0__ConnectionId>",
        "OfficeAgent__FileSystemConnections__0__RootPath": "<OfficeAgent__FileSystemConnections__0__RootPath>",
        "OfficeAgent__AllowCreation": "<OfficeAgent__AllowCreation>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add officeagent -e OfficeAgent__FileSystemConnections__0__ConnectionId='<OfficeAgent__FileSystemConnections__0__ConnectionId>' -e OfficeAgent__FileSystemConnections__0__RootPath='<OfficeAgent__FileSystemConnections__0__RootPath>' -e OfficeAgent__AllowCreation='<OfficeAgent__AllowCreation>' -- dnx [email protected] --yes

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "officeagent": {
      "command": "dnx",
      "args": [
        "[email protected]",
        "--yes"
      ],
      "env": {
        "OfficeAgent__FileSystemConnections__0__ConnectionId": "<OfficeAgent__FileSystemConnections__0__ConnectionId>",
        "OfficeAgent__FileSystemConnections__0__RootPath": "<OfficeAgent__FileSystemConnections__0__RootPath>",
        "OfficeAgent__AllowCreation": "<OfficeAgent__AllowCreation>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "officeagent": {
      "type": "stdio",
      "command": "dnx",
      "args": [
        "[email protected]",
        "--yes"
      ],
      "env": {
        "OfficeAgent__FileSystemConnections__0__ConnectionId": "<OfficeAgent__FileSystemConnections__0__ConnectionId>",
        "OfficeAgent__FileSystemConnections__0__RootPath": "<OfficeAgent__FileSystemConnections__0__RootPath>",
        "OfficeAgent__AllowCreation": "<OfficeAgent__AllowCreation>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "officeagent": {
      "command": "dnx",
      "args": [
        "[email protected]",
        "--yes"
      ],
      "env": {
        "OfficeAgent__FileSystemConnections__0__ConnectionId": "<OfficeAgent__FileSystemConnections__0__ConnectionId>",
        "OfficeAgent__FileSystemConnections__0__RootPath": "<OfficeAgent__FileSystemConnections__0__RootPath>",
        "OfficeAgent__AllowCreation": "<OfficeAgent__AllowCreation>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
OfficeAgent__FileSystemConnections__0__ConnectionIdNoConnection id the agent uses to address documents on the filesystem (any non-empty string). Optional: with nothing configured the server starts with an in-memory session connection whose documents…
OfficeAgent__FileSystemConnections__0__RootPathNoAbsolute path to the directory this filesystem connection may read and write documents under. Only .docx is allowed unless OfficeAgent__FileSystemConnections__0__AllowedExtensions__N adds more…
OfficeAgent__AllowCreationNoSet to true to expose create_document, so an agent can author a new file in the connection rather than only editing existing ones. Off by default: creating agent-named files under a connection root…
OfficeAgent__FileSystemConnections__0__ConnectionIdNoConnection id the agent uses to address documents on the filesystem (any non-empty string). Optional: with nothing configured the server starts with an in-memory session connection whose documents…
OfficeAgent__FileSystemConnections__0__RootPathNoAbsolute path to the directory this filesystem connection may read and write documents under. Only .docx is allowed unless OfficeAgent__FileSystemConnections__0__AllowedExtensions__N adds more…
OfficeAgent__AllowCreationNoSet to true to expose create_document, so an agent can author a new file in the connection rather than only editing existing ones. Off by default: creating agent-named files under a connection root…
OfficeAgent__FileSystemConnections__0__ConnectionIdNoConnection id the agent uses to address documents.
OfficeAgent__FileSystemConnections__0__RootPathNoFolder inside the container to read and edit; mount yours there.

More developer tools MCP servers