Add HydraProxy provider (aggregator): wrapper + /hydraproxy storefront + admin balance + API + MCP tool (management-only, broker-fulfilled)

This commit is contained in:
drjones
2026-09-20 18:40:25 -07:00
parent 2e238a626e
commit 16dde93ce2
6 changed files with 161 additions and 1 deletions

View File

@@ -91,6 +91,12 @@ def list_dedicated_locations(product: int = 9) -> str:
return json.dumps(_get("/dedicated/locations", params={"product": product}), indent=2)
@mcp.tool()
def hydraproxy_account() -> str:
"""HydraProxy account info, balance, locations, and broker catalog (broker-fulfilled provider)."""
return json.dumps(_get("/api/v1/hydraproxy/info"), indent=2)
if __name__ == "__main__":
mcp.settings.host = "0.0.0.0"
mcp.settings.port = int(os.environ.get("MCP_PORT", "8090"))