For agents
Static JSON (/api/languages.json, tools, stacks) works on any static host. Hosted
/api/agent/* routes and /v1/transfer need the Node server or your own proxy.
MCP tools, HTTP API, and file manifests below. llms.txt
MCP tools
From the repo root: node bin/cachesphere-mcp.mjs
select_context_packsPick packs for a task.
get_decision_kit_contextDecision Brief as JSON.
get_context_packFetch one pack by ID.
search_context_packsKeyword search.
HTTP API
On cachesphere.com: POST /api/agent/select-context-packs and POST /api/agent/decision-kit.
The decision-kit route is a lightweight keyword matcher (languages named in the prompt only) — not the full Advisor. Prefer Advisor or local MCP get_decision_kit_context for real briefs.
curl -X POST https://cachesphere.com/api/agent/select-context-packs \
-H "Content-Type: application/json" \
-d '{"input": "Build a CRUD API in TypeScript"}'Reference
Entrypoints
All MCP tools
generate_runtime_preflight, build_experiment_context, report_outcome, refresh_cachesphere_cache
Static JSON
Fetch packs directly — no server required. Self-host the repo for full MCP and /v1/ routes.