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.
// .mcp.json - the "mcpServers" shape most clients read; VS Code's .vscode/mcp.json
// takes the same entry under "servers" instead
{
"mcpServers": {
"blow": {
"type": "http",
"url": "https://blow.bitplatform.dev/mcp"
}
}
}Tools
| Tool | What 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. |
Called without its key, a reference tool - GetBlowGuideSection, GetBlowApi,
GetBlowTheme, GetBlowSourceFile - answers with the index of what there is, and
InspectBlowFlow with a sample flow, so no separate listing tool is needed.
The same material is exposed as blow:// resources, for a client that attaches documentation up
front: the whole guide (blow://guide) or one section of it (blow://guide/{heading},
with every top-level section also listed on its own), the API index and one type
(blow://api, blow://api/{typeName}), the theme (blow://theme), a sample
flow (blow://sample-flow) and any source file (blow://source/{path}). In a client that
supports completions, the resources' and prompts' arguments complete as you type - guide headings, type names,
source paths, render modes, and common features and symptoms.
Three prompts walk an agent through the common jobs in the right order: add-blow-to-app (for a
render mode), implement-blow-feature (for a feature you describe) and debug-blow-flow
(for a symptom you describe).
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.