# SumOffice — real Word and Excel for agents

SumOffice lets an agent inspect Word and Excel files, suggest edits for approval, then apply them. Use it when you need to work with .docx, .xlsx, or .xlsm files.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: SumOfficeApp
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/SumOfficeApp/sumoffice-mcp
- Updated: 2026-10-22
- HTML: https://affpapa.org/en/nevibecode/mcp/sumoffice-real-word-and-excel-for-agents

## What it does

The server can read documents and spreadsheets, search their contents, and prepare edits. Proposed changes come back as a diff; applying them requires approval. It also handles comments, macro inspection, Power Query details, copies, and PDF export.

Connect to the hosted server over HTTP or run the local option with Docker. With local mode, the agent supplies a file path under `/work`, while the file is opened in a short-lived editor session on SumOffice’s server and deleted afterwards. That matters if the document must stay on your own machine.

Only one editor session can work on a document at a time; another agent gets read-only access. Macros are not run by the MCP server, and Power Query definitions are kept without being refreshed.

## Requirements
- Needs: Docker
- Remote server: `https://view.sumoffice.com/mcp`

## Install

### Claude Code (native platform)

1. **Platform CLI: remote server**
```bash
claude mcp add --transport http office https://view.sumoffice.com/mcp
```

2. **Platform CLI**
```bash
claude mcp add sumoffice-real-word-and-excel-for-agents -- docker run -i --rm docker.io/hissih/sumoffice-mcp:0.3.1
```

### Codex

1. **Platform CLI: remote server**
```bash
codex mcp add sumoffice-real-word-and-excel-for-agents --url https://view.sumoffice.com/mcp
```

2. **Platform CLI**
```bash
codex mcp add sumoffice-real-word-and-excel-for-agents -- docker run -i --rm docker.io/hissih/sumoffice-mcp:0.3.1
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "sumoffice-real-word-and-excel-for-agents": {
            "url": "https://view.sumoffice.com/mcp"
        }
    }
}
```
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "sumoffice-real-word-and-excel-for-agents": {
            "command": "docker",
            "args": [
                "run",
                "-i",
                "--rm",
                "docker.io/hissih/sumoffice-mcp:0.3.1"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "sumoffice-real-word-and-excel-for-agents": {
            "type": "http",
            "url": "https://view.sumoffice.com/mcp"
        }
    }
}
```
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "sumoffice-real-word-and-excel-for-agents": {
            "type": "stdio",
            "command": "docker",
            "args": [
                "run",
                "-i",
                "--rm",
                "docker.io/hissih/sumoffice-mcp:0.3.1"
            ]
        }
    }
}
```

### Gemini CLI

1. **Platform CLI: remote server**
```bash
gemini mcp add -t http sumoffice-real-word-and-excel-for-agents https://view.sumoffice.com/mcp
```

2. **Platform CLI**
```bash
gemini mcp add sumoffice-real-word-and-excel-for-agents docker run -i --rm docker.io/hissih/sumoffice-mcp:0.3.1
```

## When to use it
- read text from a `.docx` file
- find content in a document or spreadsheet
- review proposed edits before applying them
- save a document copy or export it as PDF
- inspect workbook macros and Power Query definitions

## Example prompts
- Read `report.docx` and find references to deadlines.
- Suggest a replacement for the selected field in `budget.xlsx` and show me the diff.
- List the macros and describe the Power Query definitions in this workbook.

## Similar
- [Excel MCP Server](https://affpapa.org/en/nevibecode/mcp/excel-mcp-server.md) — MCP server · ★ 4268
- [kordoc](https://affpapa.org/en/nevibecode/mcp/kordoc.md) — MCP server · ★ 2795
- [Power BI Authoring MCP Server (Local)](https://affpapa.org/en/nevibecode/mcp/power-bi-authoring-mcp-server-local.md) — MCP server · ★ 1248
- [Microsoft 365 MCP Server](https://affpapa.org/en/nevibecode/mcp/microsoft-365-mcp-server.md) — MCP server · ★ 1085
- [anymd](https://affpapa.org/en/nevibecode/mcp/anymd.md) — MCP server · ★ 1054
- [Docling MCP](https://affpapa.org/en/nevibecode/mcp/docling-mcp.md) — MCP server · ★ 779

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
