Add HydraProxy provider (aggregator): wrapper + /hydraproxy storefront + admin balance + API + MCP tool (management-only, broker-fulfilled)
This commit is contained in:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user