Brian Hung
Spreadsheet MCP
Real spreadsheets for agents over MCP, with a demo where an agent and a person edit one sheet.
One core, two runtimes
src/coreno I/OClaude Desktop, Cursorlaunches it over stdioRemote agentMCP over HTTP or SSEsrc/local/stdio.tsMemoryStore, optional WB_DIRworker.ts, WorkbookDOone Durable Object per idcreateSpreadsheetServer20 tools, spreadsheet://{id}Workbook.edit()stamps the author, logs a versionIronCalc engine (WASM)real formulas, .ic and .xlsx
An agent and a person on one sheet
WebSocket diffsMCP tool callsYour browser tabthe @ironcalc/workbook gridChat paneluseChat, POST /api/chatHarness, server.tsstreamText, MCP client over SSEWorkbookDOone Durable Object per workbook idserializes edits, stamps user or agentOther tabsapplyExternalDiffsMCP subscribersresources/updatedChange feed/changes for hooksDO storagethe workbook as .icThe server owns the sheet and its tools. The harness owns the agent loop.