From 5adc24b0522aea413bac25370bdf51d9f374a7f7 Mon Sep 17 00:00:00 2001 From: drjones <> Date: Sun, 20 Sep 2026 22:00:33 -0700 Subject: [PATCH] Scrub HydraProxy from agent-facing API + MCP - /api/v1/hydraproxy/info -> /api/v1/mobile/info (old 404s) - MCP tool hydraproxy_account -> mobile_account, docstring reworded - admin/internal names (config, DB, admin routes, module) unchanged --- app.py | 2 +- mcp_server.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app.py b/app.py index cfa1726..15ee69a 100644 --- a/app.py +++ b/app.py @@ -565,7 +565,7 @@ def hydraproxy_page(): account=account, err=err, user=current_user()) -@app.route("/api/v1/hydraproxy/info") +@app.route("/api/v1/mobile/info") def api_hydraproxy_info(): try: account = hydraproxy.get_account_info() diff --git a/mcp_server.py b/mcp_server.py index d2e5c2f..e0a1bd4 100644 --- a/mcp_server.py +++ b/mcp_server.py @@ -92,9 +92,9 @@ def list_dedicated_locations(product: int = 9) -> str: @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) +def mobile_account() -> str: + """Mobile tier account info — balance, locations, and the 4G/static-mobile catalog.""" + return json.dumps(_get("/api/v1/mobile/info"), indent=2) if __name__ == "__main__":