Skip to content
Patchbayagent routing bay

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_modelsread

    Normalized catalog with prices, context, capabilities, and source provenance.

  • list_agentsread

    Your agents, newest first, scoped to the session or account.

  • get_agentread

    One agent plus a freshly compiled policy result.

  • upsert_agentmutate

    Create or update lanes. Honours the Idempotency-Key header.

  • delete_agentmutate

    Soft-delete while retaining the replayable audit chain.

  • compile_policyanalysis

    policy-compiler@1.0.0: versioned score with weighted factors.

  • verify_integrityread

    Replay the SHA-384 chain and report the first broken link.

  • export_agentread

    The 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/mcp
Press “Send call” to issue a request.

Response

—
No response yet.