Agent API console
A live MCP-style JSON-RPC 2.0 endpoint at https://patchbay-zeta.vercel.app/api/mcp. Register it in mcp.json and your assistant can read the catalog, compile policies, and patch lanes through the same code path this app uses.
Available tools
list_modelsreadNormalized catalog with prices, context, capabilities, and source provenance.
list_agentsreadYour agents, newest first, scoped to the session or account.
get_agentreadOne agent plus a freshly compiled policy result.
upsert_agentmutateCreate or update lanes. Honours the Idempotency-Key header.
delete_agentmutateSoft-delete while retaining the replayable audit chain.
compile_policyanalysispolicy-compiler@1.0.0: versioned score with weighted factors.
verify_integrityreadReplay the SHA-384 chain and report the first broken link.
export_agentreadThe portable routing manifest, including provenance.
{
"mcpServers": {
"patchbay": {
"type": "http",
"url": "https://patchbay-zeta.vercel.app/api/mcp"
}
}
}Read live models — Read tool. Normalized catalog with provenance.
Request
POST /api/mcpPress “Send call” to issue a request.
Response
—No response yet.