From 3a28b97cb355822b2d380f9507b203b79cb0e4e9 Mon Sep 17 00:00:00 2001 From: blasty Date: Fri, 24 Jul 2026 14:53:56 +0200 Subject: mcp: delete the ida-pro-mcp transport, supervisor, and mcp-only tests The idalib worker is the only backend now, so remove the dead HTTP/supervisor surface entirely (~2200 lines): * deleted idatui/client.py (the IDAClient HTTP/JSON-RPC transport + session manager), idatui/tui.py (the old mcp TUI entry, superseded by launch.py), spawn.sh, and systemd/ (the supervisor unit). * deleted the mcp-only tests (stress_client, smoke_client, test_keepalive, stress_paging, rpc_smoke, serverctl.sh, pane_smoke, test_domain) -- the worker pilot (tests/test_scenarios.py) supersedes them. * migrated the tmux RPC harness (idatui/pane.py) to the worker: it spawns `idatui.launch --rpc ` instead of the mcp `idatui.tui`, drops the supervisor auto-start/ensure machinery, and reaps our own worker (idatui/worker.py) instead of ida_pro_mcp.idalib_server. --db/--url/--no- ensure-server are gone; --open is required. * __init__ / __main__ / domain no longer import client (exceptions come from errors.py, the domain client hint is WorkerClient); pyproject points both console scripts at idatui.launch; README + ida-tui header describe the worker-only flow. What stays (by design): the ida_pro_mcp *package* (the worker reuses its @tool functions in-process) and server/patch_server.py (the worker injects its custom tools on startup). Verified: whole package imports + IdaTui constructs + pilot lists 31 scenarios. The worker pilot (134 pass / 2 known flakes) is the E2E gate. --- idatui/__init__.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'idatui/__init__.py') diff --git a/idatui/__init__.py b/idatui/__init__.py index 92d8b5d..2cbdde8 100644 --- a/idatui/__init__.py +++ b/idatui/__init__.py @@ -1,4 +1,5 @@ -"""idatui — a minimal keyboard-first TUI for IDA Pro over ida-pro-mcp (idalib).""" +"""idatui — a minimal keyboard-first TUI for IDA Pro, driving idalib via a +private unix-socket worker (idatui.worker / WorkerClient).""" from .errors import ( IDAError, @@ -10,7 +11,6 @@ from .errors import ( IDASessionError, Session, ) -from .client import IDAClient, KeepAlive # deprecated mcp transport from .domain import ( Program, FunctionIndex, @@ -35,7 +35,6 @@ __all__ = [ "Decompilation", "LIST_PAGE", "DISASM_BLOCK", - "IDAClient", "IDAError", "IDAConnectionError", "IDATimeoutError", @@ -44,5 +43,4 @@ __all__ = [ "IDAToolError", "IDASessionError", "Session", - "KeepAlive", ] -- cgit v1.3.1-sl0p