An MCP (Model Context Protocol) server exposing Kookerella.FsOpenXmlDsl’s Excel capabilities as tools any MCP-compatible AI agent can call directly: build a workbook, read one back, decompile an existing one into idiomatic F# or C# source, or translate to/from plain XML or JSON, each against a real schema.

The XML/JSON directions are useful even outside an agent: build an .xlsx directly from XML/JSON a transform engine (e.g. XSLT) or generation script already produces, no code required; or convert an existing .xlsx to XML/JSON for text-based diffing and version control, with deterministically ordered output so real content changes stay isolated in the diff. This runs entirely locally as a subprocess your MCP client launches over stdio — no hosted service, no account.

The same conversions are available as plain CLI commands for anyone not going through an MCP client:

dotnet tool install -g Kookerella.FsOpenXmlDsl.Mcp
fsopenxmldsl-mcp convert your-file.xlsx --lang csharp

Install

dotnet tool install -g Kookerella.FsOpenXmlDsl.Mcp

This installs the fsopenxmldsl-mcp command onto your PATH.

Configure your MCP client

Point your client at the installed command. For example, in a client that reads a JSON config with an mcpServers map:

{
  "mcpServers": {
    "fsopenxmldsl": {
      "command": "fsopenxmldsl-mcp"
    }
  }
}

License

MIT licensed.

See the GitHub repository for the full MCP tool list and configuration instructions.