Skip to content

MCP

The package exposes an MCP server on stdio with two tools: find_hyperbits and fetch_hyperbit.

mcp.json
{
"mcpServers": {
"hyperbits": {
"command": "npx",
"args": ["-y", "hyperbits", "mcp"]
}
}
}

Global install:

Terminal window
npm i -g hyperbits
mcp.json
{
"mcpServers": {
"hyperbits": {
"command": "hyperbits",
"args": ["mcp"]
}
}
}

Search the catalog.

FieldTypeDescription
querystringVisual goal or style query
tagsstring[]AND tag filter
limitintegerMaximum number of results

Returns { results: BitCatalogSummary[] }.

Fetch one bit by id (or exact display name).

FieldTypeDescription
idstringBit id or exact name

Returns { bit } with sourceCode, embedSnippet, helperScriptTag, helpers, tags, and duration.

Unknown ids return an error that includes close matches. Agents should search first, then fetch, then write the HTML into the HyperFrames project (or tell the user to run hyperbits add).