Skip to main content
Glama

Why

GridCraft is an open-source, Excel-class spreadsheet app with a headless CLI (gridcraft-cli), 339 commands, 513 worksheet functions (dynamic arrays included), XLSX as its native format and an MCP mode. This Model Context Protocol server turns that engine into file-in / file-out tools for Claude, so you can ask things like:

"Build a monthly budget workbook with formulas, a summary sheet and a chart, as XLSX and PDF." "Read sales.xlsx and tell me the total by region and the best month." "Add a PivotTable of revenue by region and product to this workbook." "In every workbook in D:\Reports, replace '2025' with '2026' and save copies." "Convert this CSV to Excel with a formatted table, and every workbook in this folder to CSV."

Sibling of designcraft-mcp-server, effectcraft-mcp-server, lightcraft-mcp-server, photocraft-mcp-server, vectorcraft-mcp-server, filmcraft-mcp-server, pdfcraft-mcp-server, wordcraft-mcp-server, soundcraft-mcp-server, deckcraft-mcp-server and audacity-mcp-server.

Related MCP server: BachStudio Excel MCP Server

Platforms

OS

GridCraft package to install

Where the server finds it (no setup needed)

Status

Windows 10/11 (x64, x86, arm64)

MSI or portable zip

C:\Program Files\GridCraft, %LOCALAPPDATA%\Programs\GridCraft, PATH

โœ… Verified (Windows 11)

Linux (x86_64, aarch64, riscv64)

.deb, .rpm or .tar.gz

/usr/bin, /usr/local/bin, /opt/gridcraft/bin, ~/.local/bin, PATH

โœ… Verified (Debian 12, headless)

macOS 11+ (Apple silicon and Intel)

.dmg (the app) plus gridcraft-cli-<version>-macos-universal.zip

/Applications/GridCraft.app, /usr/local/bin, /opt/homebrew/bin, ~/.local/bin, ~/bin, PATH

๐ŸŸก Supported, not yet tested on a Mac

All downloads: GridCraft releases (there is also a FreeBSD tar.gz; set GRIDCRAFT_DIR to it). Anywhere else: set GRIDCRAFT_DIR (folder, .tar.gz root or GridCraft.app) or GRIDCRAFT_CLI.

  • macOS: the DMG contains only the app. Unzip the separate gridcraft-cli zip and move gridcraft-cli to /usr/local/bin (or point GRIDCRAFT_CLI at it). The first run checks Apple's notarization online.

  • Linux: the AppImage and Flatpak contain only the app, not gridcraft-cli; use the deb, rpm or tar.gz. For an AppImage app, set GRIDCRAFT_APP so open_in_gridcraft can start it. On a server without a GPU, the verified setup used libxkbcommon0 libvulkan1 libegl1 mesa-vulkan-drivers libasound2 fontconfig.

How it works

Part

What it is

GridCraft engine (gridcraft-cli mcp)

GridCraft's own engine: cells, the calculation engine with 513 functions, styles, number formats, tables, conditional formats, validation, charts, PivotTables and the XLSX / CSV / JSON / HTML / PDF writers. Started fresh and headless for each job, so it never touches the GridCraft app or an open workbook.

MCP server (Node.js)

9 high-level tools. Builds workbooks from a simple description of sheets (data and formulas, header, table, totals row, formats, rules, charts), names PivotTable sheets, checks every output first and returns the computed values of the first rows of every sheet plus any formula errors, so the assistant sees what the formulas give.

Live app (optional)

open_in_gridcraft control=true starts the app with its loopback-only control channel (port 7979) and run_gridcraft_commands live=true drives it. Close the app when you are done.

Tools

Tool

What it does

create_workbook

A new workbook (or a sample: budget, sales, grades) from sheets: values and formulas, header styling, Excel tables, totals rows, number formats, fonts, colours, borders, merges, conditional formatting (highlights, data bars, colour scales, icon sets), drop-down lists, notes, charts (17 types), frozen panes, print setup; PivotTables; theme and properties

edit_workbook

One workbook, a list or a folder: write values and formulas, find and replace, insert or delete rows and columns, sort, remove duplicates, add, rename or delete sheets, formats, conditional formats, tables, charts, PivotTables; written as a new copy

read_workbook

Computed values, formulas or display text of a range or sheet, and formulas evaluated against the workbook without changing it

convert_workbook

One workbook, a list or a folder โ†’ xlsx, csv, tsv, json, html, pdf (one sheet or every sheet)

get_workbook_info

Sheets with used ranges, tables, charts, merges, filters, frozen panes, rules, validations, notes; defined names; first rows as computed values; formula errors

list_gridcraft_catalog

339 commands with parameters, 513 worksheet functions with signatures, chart types, samples, formats

run_gridcraft_commands

Any engine commands plus write_range, read_range, set_cell, evaluate_formula, format_range, insert_chart... in one session ($steps[N].field references), headless or live, then save

open_in_gridcraft

Open workbooks (or a sample) in the GridCraft app, optionally with the control channel

get_gridcraft_status

Platform, installation, version, commands, functions, app / control port

Opens

xlsx, xlsm, xls (values, formulas, number formats), xlsb and ods (data), csv, tsv, txt, json

Saves

xlsx (every sheet, formulas, styles, tables, charts, PivotTables), csv, tsv, json, html, pdf

Cells use A1 notation (B2, A1:D10); quote sheet names with spaces in formulas ('My sheet'!A1). Strings starting with = are formulas; text like 12% or 2026-03-01 is read as typed.

Example

{
  "name": "Sales 2026",
  "sheets": [
    {
      "name": "Data",
      "data": [
        ["Region", "Product", "Units", "Price", "Total"],
        ["North", "A", 10, 12.5, "=C2*D2"],
        ["South", "A", 8, 12.5, "=C3*D3"],
        ["North", "B", 12, 20, "=C4*D4"],
        ["South", "B", 9, 20, "=C5*D5"]
      ],
      "table": true,
      "totals_row": ["none", "none", "sum", "average", "sum"],
      "formats": [{ "range": "D2:E6", "number_format": "Currency" }],
      "conditional_formats": [{ "range": "E2:E5", "type": "data_bar" }],
      "validations": [{ "range": "A2:A5", "list": ["North", "South", "East", "West"] }],
      "charts": [{ "range": "A1:A5", "type": "column", "title": "Units", "at": "G2" }]
    },
    {
      "name": "By region",
      "data": [["Region", "Total"], ["North", "=SUMIFS(Data!E:E,Data!A:A,A2)"], ["South", "=SUMIFS(Data!E:E,Data!A:A,A3)"]],
      "formats": [{ "range": "B2:B3", "number_format": "Currency" }],
      "charts": [{ "range": "A1:B3", "type": "pie", "title": "Sales by region", "at": "D2" }]
    }
  ],
  "pivots": [{ "source": "Data!A1:E5", "rows": ["Region"], "columns": ["Product"], "values": [{ "field": "Total", "func": "sum" }] }],
  "formats": ["xlsx", "pdf"],
  "output_dir": "C:\\Sheets"
}

Requirements

  • GridCraft with gridcraft-cli (tested with 0.6.1); see Platforms

  • Node.js โ‰ฅ 20 (bundled with Claude Desktop for .mcpb installs)

Installation

  1. Download gridcraft-mcp-server.mcpb from the latest release.

  2. Double-click it (or drag it into Claude Desktop โ†’ Settings โ†’ Extensions) and click Install.

  3. Optional: if GridCraft is not in a standard location, fill in its folder or the gridcraft-cli path in the extension settings.

Sunsam Code

Install GridCraft Bridge from the Sunsam Code marketplace, or drop the .mcpb into MCP โ†’ Install extension.

Codex (OpenAI)

Recommended โ€” the marketplace (gets updates): Plugins โ†’ Add โ†’ Add marketplace, source jhonsu01/craft-marketplace, reference main, then install GridCraft Bridge from Craft Bridges (craft-marketplace). New versions arrive by refreshing the marketplace. Or upload the zip (Codex then keeps it in your account and refuses a newer zip with the same name):

  1. Download gridcraft-mcp-server-<version>-codex.zip from the latest release.

  2. In Codex: Plugins โ†’ Add โ†’ New plugin, choose the zip and click Add plugin.

  3. Codex starts the server with node, so Node.js โ‰ฅ 20 must be on PATH. If GridCraft is not in a standard location, set GRIDCRAFT_DIR or GRIDCRAFT_CLI as system environment variables (Codex has no settings form for local plugins).

DeepSeek Harness

  1. Plugins โ†’ Add plugin, enter github:jhonsu01/craft-marketplace#path:/plugins/gridcraft-mcp-server and click Install, then Enable now.

  2. Harness runs the server with its own MCP client and node (Node.js โ‰ฅ 20 on PATH); the tools appear as mcp__gridcraft__<tool> and the output files as cards that open in Harness.

  3. Harness does not update plugins by itself yet: to upgrade, uninstall the plugin and install it again with the same address.

Claude Code / other MCP clients

git clone https://github.com/jhonsu01/gridcraft-mcp-server.git
cd gridcraft-mcp-server
npm install
npm run build

Windows:

claude mcp add gridcraft -- node "%CD%\dist\bundle.cjs"

macOS / Linux:

claude mcp add gridcraft -- node "$PWD/dist/bundle.cjs"

Configuration

Variable

Meaning

GRIDCRAFT_DIR

GridCraft folder, one of its executables, a .tar.gz root (with bin/) or GridCraft.app. Default: auto-detect

GRIDCRAFT_CLI

Path of gridcraft-cli / gridcraft-cli.exe (wins over GRIDCRAFT_DIR)

GRIDCRAFT_APP

Path of the desktop app when it lives elsewhere (e.g. a Linux AppImage)

GRIDCRAFT_CONTROL_PORT

Control port of the desktop app (default 7979)

GRIDCRAFT_MCP_TIMEOUT

Maximum seconds per engine call (default 3600)

Safety

  • Files are never overwritten unless overwrite: true: a free name (_2) is used in folders and an existing output_path is an error. Inputs are only read; an edited file is saved only as a new copy (_edited).

  • All paths must be absolute. The engine runs headless and never touches the GridCraft app unless live: true.

  • Everything runs locally with no network access. Each job uses a private engine in a temporary folder that is deleted at the end.

Development

npm run build       # TypeScript + single-file bundle (dist/bundle.cjs)
npm test            # unit tests (Windows, macOS and Linux path logic)
npm run test:e2e    # 25 end-to-end checks (27 with `E2E_LIVE=1`) over real MCP stdio (synthetic CSV)
npm run pack:mcpb   # gridcraft-mcp-server.mcpb
npm run pack:codex  # Codex / DeepSeek Harness plugin zip

Linux test in Docker (unpack gridcraft-<version>-linux-x86_64.tar.gz first):

docker run --rm -v "$PWD:/work:ro" -v "/path/to/gridcraft-0.6.1-linux-x86_64:/opt/gridcraft:ro" -e GRIDCRAFT_DIR=/opt/gridcraft -w /work node:22-bookworm bash -c "apt-get update && apt-get install -y libxkbcommon0 libvulkan1 libegl1 mesa-vulkan-drivers libasound2 fontconfig && node scripts/e2e.mjs"

License

Apache-2.0. GridCraft is ยฉ its authors (Storytold), MIT or Apache-2.0. This project is not affiliated with or endorsed by GridCraft or Storytold. Excel is a trademark of Microsoft.

Available Tools

9 tools
convert_workbookConvert spreadsheetsA

Convert workbooks (xlsx, xlsm, xls, xlsb, ods, csv, tsv, json; one, a list or a folder) to xlsx, csv, tsv, json, html or pdf (csv / tsv / pdf: the first sheet, or every sheet as its own file with all_sheets).

Inputs: suffix, formats, input_dir, overwrite, +5 more.

create_workbookCreate a spreadsheetA

Build an Excel workbook with GridCraft (an Excel-class spreadsheet app): sheets of data and live formulas (500+ Excel functions, dynamic arrays), header styling, tables with filter buttons, totals rows, number formats, fonts, colours, borders, merged cells, conditional formatting (highlights, data bars, colour scales, icon sets), drop-down lists, notes, charts (17 types), PivotTables, frozen panes and print setup. Saves xlsx, csv, tsv, json, html or pdf and returns the computed values of the first rows of every sheet (and any formula errors) to check the result. Or start from a sample: budget, sales, grades.

Inputs: name, theme, title, author, +8 more.

edit_workbookEdit spreadsheetsA

Open workbooks (xlsx, xlsm, xls, xlsb, ods, csv, tsv; one, a list or a folder) and change them: write values and formulas, find and replace, insert or delete rows and columns, sort, remove duplicates, add, rename or delete sheets, apply formats, conditional formatting, tables, charts and PivotTables. Saved as new copies; the originals are only read.

Inputs: sort, write, charts, pivots, +18 more.

get_gridcraft_statusGridCraft statusA
Read-onlyIdempotent

Check the GridCraft installation: platform, executables, version, engine commands, worksheet functions, formats, whether the app is running / listening for control.

Inputs: no named parameters.

get_workbook_infoWorkbook infoC
Read-onlyIdempotent

Sheets of a workbook with used ranges, tables, charts, merges, filters, frozen panes, defined names, the first rows of each sheet as computed values, and every formula that returns an error.

Inputs: input_path (required), preview_rows.

list_gridcraft_catalogList commands, functions, charts, samples, formatsA
Read-onlyIdempotent

What GridCraft can do: commands (the engine commands with parameters and ribbon place, for run_gridcraft_commands), functions (the worksheet functions with signature and description), charts (chart types), samples (built-in sample workbooks) and formats.

Inputs: kind (required), filter.

open_in_gridcraftOpen in GridCraftA

Open workbooks in the GridCraft desktop app to keep working by hand. With control=true the app also starts its loopback-only control channel so run_gridcraft_commands live=true can drive it.

Inputs: paths, sample, control.

read_workbookRead and calculateA
Read-onlyIdempotent

Read a workbook (xlsx, xlsm, xls, xlsb, ods, csv, tsv, json): computed values, formulas or display text of a range or sheet, and evaluate formulas against it without changing anything (e.g. "=SUMIFS(D:D,A:A,"North")", "=AVERAGE(Sales!C2:C99)").

Inputs: input_path (required), mode, range, sheet, +2 more.

run_gridcraft_commandsRun GridCraft engine commandsA
Destructive

Advanced: run any GridCraft engine commands in order (cell., home., insert., formulas., data., review., view., pageLayout., chart., table., pivot., sheet....) plus the engine tools write_range / read_range / set_cell / get_cell / evaluate_formula / format_range / insert_chart / create_table / sort_range / filter / select / inspect_workbook (step id = the tool name), on a new, sample or opened workbook, then save. Parameters can use "$steps[N].field" for a value returned by step N (0-based). With live=true the steps drive the open GridCraft app instead.

Inputs: live, name, steps, sample, +7 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelogโ€ฆ

    TDQS

    A3.7/5.0

    Scored across 9 tools

    Disambiguation4/5

    Most tools have clearly distinct purposes (create/edit/read/convert a workbook). However, run_gridcraft_commands is a low-level catch-all that functionally overlaps with create_workbook and edit_workbook, and list_gridcraft_catalog partially overlaps with get_gridcraft_status for listing commands/functions/formats. Descriptions help but boundaries are not entirely crisp.

    Naming Consistency4/5

    All names use snake_case and start with a verb, with a predictable verb_noun pattern for core operations. open_in_gridcraft breaks the pattern by inserting a preposition, and the info/status tools use a longer verb_domain_noun form, but consistency is still high.

    Tool Count5/5

    9 tools is well within the ideal range for a spreadsheet server; each tool maps to a distinct lifecycle stage (create, read, edit, convert, inspect, open, advanced control, discovery, health). No tool feels redundant or missing from a count perspective.

    Completeness5/5

    The surface covers the full create-read-edit-convert-inspect cycle plus live app control and advanced command execution. No obvious operational gap for an Excel-class workbook toolset; file deletion is out of scope and likely intentional.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers