Skip to content

MCP server

This site hosts a Model Context Protocol server at /mcp, so an AI agent writing node-editor and diagram code with Bit.Blow reads the library itself - its compiled API documentation, its guide, its stylesheet, the canvas and these demo pages - instead of guessing at an API it half remembers, or borrowing one from React Flow. Every tool is read-only.

Connect a client

The endpoint is plain Streamable HTTP, so any MCP client connects with a URL and nothing else. The same tools are also served, version by version, through the bit platform's own server at https://bitplatform.dev/mcp, next to the other bit libraries.

// .mcp.json (Claude Code, VS Code, and anything else reading this shape)
{
  "mcpServers": {
    "blow": {
      "type": "http",
      "url": "https://blow.bitplatform.dev/mcp"
    }
  }
}

Tools

ToolWhat it answers
SearchBlow Everything at once - the guide, every public member, the setup guides, the theme, the stylesheet and the demo's pages and examples - each hit with the exact follow-up call.
GetBlowSetupGuide The complete wiring for one render mode: server, wasm, auto, standalone-wasm or hybrid - the stylesheet link and the canvas height included.
GetBlowGuideSection One section of the reference guide, or the index of sections.
GetBlowApi One public type with every parameter, property and method, its real default and its documentation - or the index of types.
GetBlowTheme The --bit-blow-* custom properties with their light and dark values and what each one paints - or one of them in full.
InspectBlowFlow What the real canvas makes of a flow's nodes and edges - the problems it reports, its bounds and sub-flows, and optionally a layout - or a sample flow, to see the format.
GetBlowSourceFile One demo or library file verbatim - every page and example here is a working flow - or the index of files.

The guide, the API, the theme, a sample flow and the sources are also exposed as blow:// resources, and three prompts - add-blow-to-app, implement-blow-feature and debug-blow-flow - walk an agent through the common jobs in the right order.

The same tools over plain HTTP

Every tool is also a GET under /api/mcp/...: open one in a browser tab to read exactly what an agent is handed.

An unhandled error has occurred. Reload 🗙