Joern-MCP is a server implementation that provides AI assistants with access to Joern's code analysis capabilities through a Python interface. This server enables querying and analyzing Code Property Graphs (CPGs) by exposing tools for loading CPGs, retrieving method and class code, examining call relationships, and executing custom queries against the Joern backend. Built on the FastMCP framework, it handles communication with a remote Joern instance via HTTP requests, making it particularly valuable for security researchers and developers who need to perform static code analysis, identify vulnerabilities, or understand code structure and dependencies through AI assistants.
아직 리뷰가 없습니다. 첫 번째 리뷰를 작성해 보세요!
대화에 참여하려면 로그인하세요
Retrieve methods by their exact name. This function performs an indexed lookup based on the method name.
Return the entire call chain for a method, excluding JDK/framework callees. This function performs a server-side breadth-first search (BFS) in a single HTTP round-trip.
Retrieve the names of all methods in the call chain without their code. This function provides a more efficient way to get method names in one HTTP request.
Expose the functionality to get the call chain of methods through the MCP server. This facilitates easier integration with client requests.