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
This commit is contained in:
drjones
2026-09-20 22:00:33 -07:00
parent 87736f51d6
commit 5adc24b052
2 changed files with 4 additions and 4 deletions

2
app.py
View File

@@ -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()

View File

@@ -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__":