Joern MCP 서버
Joern을 위한 간단한 MCP 서버입니다.
프로젝트 소개
이 프로젝트는 Joern을 기반으로 한 MCP 서버로, 개발자의 코드 검토 및 보안 분석에 도움이 되는 다양한 기능을 제공합니다.
환경 요구 사항
Python >= 3.10(기본값 3.12) & uv
조른
설치 단계
프로젝트를 로컬로 복제합니다.
지엑스피1
Python 종속성을 설치하세요:
uv venv .venv source .venv/bin/activate uv sync
프로젝트 구조
용법
Joern 서버를 시작합니다.
joern -J-Xmx40G --server --server-host 127.0.0.1 --server-port 16162 --server-auth-username user --server-auth-password password --import server_tools.sc Or joern -J-Xmx40G --server --server-host 127.0.0.1 --server-port 16162 --server-auth-username user --server-auth-password password --import server_tools_source.scenv_example.txt를 .env로 복사합니다. joern 서버 시작 구성과 일치하도록 구성 정보를 수정합니다.
테스트 연결을 실행합니다.
test_mcp_client.py의 정보를 수정하여 joern 서버가 제대로 작동하는지 확인합니다.uv run test_mcp_client.py Starting MCP server test... ================================================== Testing server connection... [04/16/25 20:38:54] INFO Processing request of type CallToolRequest server.py:534 Connection test result: Successfully connected to Joern MCP, joern server version is XXXMCP 서버 구성 cline에서 mcp 서버를 구성하려면
sample_cline_mcp_settings.json을 참조하세요.MCP 서버를 사용하여 대규모 언어 모델에 질문을 던지고
prompts_en.md를 참조하세요.
개발 노트
.env파일은 환경 변수를 저장하는 데 사용됩니다..gitignore파일은 Git 버전 제어에서 무시할 파일을 정의합니다.pyproject.toml프로젝트에 대한 Python 구성을 정의합니다.MCP 도구 개발
server_tools.sc에 구현하고,server_tools.py에 정의를 추가하고,test_mcp_client.py에 테스트를 추가합니다.
기여 지침
프로젝트 개선에 도움이 되는 이슈와 풀 리퀘스트를 제출해 주세요.
더 많은 도구를 추가해 보세요.
참고문헌
local-only server
The server can only run on the client's local machine because it depends on local resources.
Tools
자연어 인터페이스를 통해 코드 검토 및 보안 분석 기능을 제공하는 Joern 기반의 간단한 MCP(Multimodal Conversational Plugin) 서버입니다.
Related MCP Servers
- AsecurityFlicenseAqualityAn MCP server that supercharges AI assistants with powerful tools for software development, enabling research, planning, code generation, and project scaffolding through natural language interaction.Last updated -111,16780
- -securityFlicense-qualityAn MCP server that integrates various penetration testing tools, enabling security professionals to perform reconnaissance, vulnerability scanning, and API testing through natural language commands in compatible LLM clients like Claude Desktop.Last updated -5
- -securityFlicense-qualityAn MCP server that provides user dialogue capabilities for AI code editors, allowing AI to interact with users through dialog boxes when needing input during the coding process.
- -securityFlicense-qualityAn AI-powered MCP server that provides development tools for code analysis, documentation, and project management including code pattern extraction, humorous code reviews, TODO scanning, and PRD generation.Last updated -2