You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+40-4Lines changed: 40 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,8 @@ MCP server for spreadsheet analysis and editing. Slim, token-efficient tool surf
12
12
13
13
Dumping a 50,000-row spreadsheet into an LLM context is expensive and usually unnecessary. Most spreadsheet tasks need surgical access: find a region, profile its structure, read a filtered slice. This server exposes tools that let agents **discover → profile → extract** without burning tokens on cells they don't need.
VBA tools are **disabled by default**. When enabled, the server can extract and parse the embedded VBA project from `.xlsm` files and return module source code.
-`vba_module_source`: Returns paged source for a single module
55
+
56
+
Notes:
57
+
- This does **not** execute macros; it only reads and returns text.
58
+
- Responses are size-limited; page through module source.
59
+
42
60
## Write & Recalc Support
43
61
44
62
Write tools allow "what-if" analysis: fork a workbook, edit cells, recalculate formulas via LibreOffice, and diff the results. For safety, you can create checkpoints for high‑fidelity rollback and apply previewed (staged) changes explicitly.
@@ -201,6 +219,9 @@ Two image variants are published:
201
219
# Read-only (slim image)
202
220
docker run -v /path/to/workbooks:/data -p 8079:8079 ghcr.io/psu3d0/spreadsheet-mcp:latest
203
221
222
+
# Read-only + VBA tools enabled
223
+
docker run -v /path/to/workbooks:/data -p 8079:8079 -e SPREADSHEET_MCP_VBA_ENABLED=true ghcr.io/psu3d0/spreadsheet-mcp:latest
224
+
204
225
# With write/recalc support (full image)
205
226
docker run -v /path/to/workbooks:/data -p 8079:8079 ghcr.io/psu3d0/spreadsheet-mcp:full
**Note:** For write/recalc features, use the `:full` Docker image instead of cargo install. The Docker image includes LibreOffice with required macro configuration.
@@ -243,13 +267,25 @@ Add to `~/.claude.json` or project `.mcp.json`:
0 commit comments