ida-pro-mcp-xjoker 1.0.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. ida_pro_mcp/__init__.py +0 -0
  2. ida_pro_mcp/__main__.py +6 -0
  3. ida_pro_mcp/ida_mcp/__init__.py +68 -0
  4. ida_pro_mcp/ida_mcp/api_analysis.py +1296 -0
  5. ida_pro_mcp/ida_mcp/api_core.py +337 -0
  6. ida_pro_mcp/ida_mcp/api_debug.py +617 -0
  7. ida_pro_mcp/ida_mcp/api_memory.py +304 -0
  8. ida_pro_mcp/ida_mcp/api_modify.py +406 -0
  9. ida_pro_mcp/ida_mcp/api_python.py +179 -0
  10. ida_pro_mcp/ida_mcp/api_resources.py +295 -0
  11. ida_pro_mcp/ida_mcp/api_stack.py +167 -0
  12. ida_pro_mcp/ida_mcp/api_types.py +480 -0
  13. ida_pro_mcp/ida_mcp/auth.py +166 -0
  14. ida_pro_mcp/ida_mcp/cache.py +232 -0
  15. ida_pro_mcp/ida_mcp/config.py +228 -0
  16. ida_pro_mcp/ida_mcp/framework.py +547 -0
  17. ida_pro_mcp/ida_mcp/http.py +859 -0
  18. ida_pro_mcp/ida_mcp/port_utils.py +104 -0
  19. ida_pro_mcp/ida_mcp/rpc.py +187 -0
  20. ida_pro_mcp/ida_mcp/server_manager.py +339 -0
  21. ida_pro_mcp/ida_mcp/sync.py +233 -0
  22. ida_pro_mcp/ida_mcp/tests/__init__.py +14 -0
  23. ida_pro_mcp/ida_mcp/tests/test_api_analysis.py +336 -0
  24. ida_pro_mcp/ida_mcp/tests/test_api_core.py +237 -0
  25. ida_pro_mcp/ida_mcp/tests/test_api_memory.py +207 -0
  26. ida_pro_mcp/ida_mcp/tests/test_api_modify.py +123 -0
  27. ida_pro_mcp/ida_mcp/tests/test_api_resources.py +199 -0
  28. ida_pro_mcp/ida_mcp/tests/test_api_stack.py +77 -0
  29. ida_pro_mcp/ida_mcp/tests/test_api_types.py +249 -0
  30. ida_pro_mcp/ida_mcp/ui.py +357 -0
  31. ida_pro_mcp/ida_mcp/utils.py +1186 -0
  32. ida_pro_mcp/ida_mcp/zeromcp/__init__.py +5 -0
  33. ida_pro_mcp/ida_mcp/zeromcp/jsonrpc.py +384 -0
  34. ida_pro_mcp/ida_mcp/zeromcp/mcp.py +883 -0
  35. ida_pro_mcp/ida_mcp.py +186 -0
  36. ida_pro_mcp/idalib_server.py +354 -0
  37. ida_pro_mcp/idalib_session_manager.py +259 -0
  38. ida_pro_mcp/server.py +1060 -0
  39. ida_pro_mcp/test.py +170 -0
  40. ida_pro_mcp_xjoker-1.0.1.dist-info/METADATA +405 -0
  41. ida_pro_mcp_xjoker-1.0.1.dist-info/RECORD +45 -0
  42. ida_pro_mcp_xjoker-1.0.1.dist-info/WHEEL +5 -0
  43. ida_pro_mcp_xjoker-1.0.1.dist-info/entry_points.txt +4 -0
  44. ida_pro_mcp_xjoker-1.0.1.dist-info/licenses/LICENSE +21 -0
  45. ida_pro_mcp_xjoker-1.0.1.dist-info/top_level.txt +1 -0
File without changes
@@ -0,0 +1,6 @@
1
+ import sys
2
+ from ida_pro_mcp.server import main
3
+
4
+ if __name__ == "__main__":
5
+ sys.argv[0] = "ida_pro_mcp"
6
+ main()
@@ -0,0 +1,68 @@
1
+ """IDA Pro MCP Plugin - Modular Package Version
2
+
3
+ This package provides MCP (Model Context Protocol) integration for IDA Pro,
4
+ enabling AI assistants to interact with IDA's disassembler and decompiler.
5
+
6
+ Architecture:
7
+ - rpc.py: JSON-RPC infrastructure and registry
8
+ - mcp.py: MCP protocol server (HTTP/SSE)
9
+ - sync.py: IDA synchronization decorator (@idasync)
10
+ - utils.py: Shared helpers and TypedDict definitions
11
+ - api_*.py: Modular API implementations (71 tools + 24 resources)
12
+ """
13
+
14
+ # Import infrastructure modules
15
+ from . import rpc
16
+ from . import sync
17
+ from . import utils
18
+ from . import port_utils
19
+
20
+ # Import all API modules to register @tool functions and @resource functions
21
+ from . import api_core
22
+ from . import api_analysis
23
+ from . import api_memory
24
+ from . import api_types
25
+ from . import api_modify
26
+ from . import api_stack
27
+ from . import api_debug
28
+ from . import api_python
29
+ from . import api_resources
30
+
31
+ # Re-export key components for external use
32
+ from .sync import idasync, IDAError, IDASyncError, CancelledError
33
+ from .rpc import MCP_SERVER, MCP_UNSAFE, tool, unsafe, resource
34
+ from .http import IdaMcpHttpRequestHandler, set_server_restart_callback, get_server_config, set_server_config
35
+ from .api_core import init_caches
36
+
37
+ __all__ = [
38
+ # Infrastructure modules
39
+ "rpc",
40
+ "sync",
41
+ "utils",
42
+ "port_utils",
43
+ # API modules
44
+ "api_core",
45
+ "api_analysis",
46
+ "api_memory",
47
+ "api_types",
48
+ "api_modify",
49
+ "api_stack",
50
+ "api_debug",
51
+ "api_python",
52
+ "api_resources",
53
+ # Re-exported components
54
+ "idasync",
55
+ "IDAError",
56
+ "IDASyncError",
57
+ "CancelledError",
58
+ "MCP_SERVER",
59
+ "MCP_UNSAFE",
60
+ "tool",
61
+ "unsafe",
62
+ "resource",
63
+ "IdaMcpHttpRequestHandler",
64
+ "set_server_restart_callback",
65
+ "get_server_config",
66
+ "set_server_config",
67
+ "init_caches",
68
+ ]