OfficeAgent.NET for Cursor
io.github.ilia-sokolov/officeagent
Create and edit Word, PowerPoint, and Excel files with typed plans and safe previews
client:Cursor
transport:stdio
runtime:nuget
Install OfficeAgent.NET in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"officeagent": {
"type": "stdio",
"command": "dnx",
"args": [
"OfficeAgent.Mcp",
"--yes"
],
"env": {
"OfficeAgent__FileSystemConnections__0__ConnectionId": "<OfficeAgent__FileSystemConnections__0__ConnectionId>",
"OfficeAgent__FileSystemConnections__0__RootPath": "<OfficeAgent__FileSystemConnections__0__RootPath>",
"OfficeAgent__AllowCreation": "<OfficeAgent__AllowCreation>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs