Office MCP Server
by dosev-aiio.github.dosev-ai/mcp-office-excelv0.7.0
50-tool Word MCP server. Document assembly, tracked changes, and export. Windows-first.
context tax
queued
security
queued
cold start
queued
freshness
Active17d ago
Install Office MCP server
Install in Claude Code
claude mcp add office -e EXCEL_ALLOWLIST_ROOTS='<excel-allowlist-roots>' -- uvx mcp-officeInstall in Cursor
{
"mcpServers": {
"office": {
"command": "uvx",
"args": [
"mcp-office"
],
"env": {
"EXCEL_ALLOWLIST_ROOTS": "<excel-allowlist-roots>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"office": {
"command": "uvx",
"args": [
"mcp-office"
],
"env": {
"EXCEL_ALLOWLIST_ROOTS": "<excel-allowlist-roots>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"office": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-office"
],
"env": {
"EXCEL_ALLOWLIST_ROOTS": "<excel-allowlist-roots>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"office": {
"command": "uvx",
"args": [
"mcp-office"
],
"env": {
"EXCEL_ALLOWLIST_ROOTS": "<excel-allowlist-roots>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| EXCEL_ALLOWLIST_ROOTS | yes | — | Comma-separated directory roots allowed for file access. Required — no files are accessible without this. |
| EXCEL_ENABLE_WRITE | — | — | Set to 'true' to enable write operations (cell writes, sheet creation, formatting). |
| EXCEL_ENABLE_COM | — | — | Set to 'true' to activate COM-backed tools: recalculate_workbook, export_as_pdf, hydrate_template, pivot_table, and evaluate_formula(live=True). Windows-only — requires pywin32 and Microsoft Excel. |
| EXCEL_MAX_ITEMS | — | — | Maximum number of rows/items returned per call. Default: 50. |
Freshness
Active — last maintenance signal 17d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-23 · 17d ago · GitHub
Latest release
2026-05-23 · 5mo ago · GitHub · v0.6.0
Package published
no data · npm/PyPI
Registry entry updated
2026-06-15 · 4mo ago · official registry · v0.7.0
FAQ
›How do I install the Office MCP server in Claude Code?
Run: claude mcp add office -e EXCEL_ALLOWLIST_ROOTS='<excel-allowlist-roots>' -- uvx mcp-office. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Office require an API key?
Yes. It expects EXCEL_ALLOWLIST_ROOTS.
›Can I use Office as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Office in the official MCP registry?
Yes, as io.github.dosev-ai/mcp-office-excel.
Alternatives to Office
Other productivity & office MCP servers.