Joern MCP サーバー
Joern 用のシンプルな MCP サーバー。
プロジェクト紹介
このプロジェクトは Joern をベースにした MCP サーバーであり、開発者のコードレビューとセキュリティ分析を支援する一連の機能を提供します。
環境要件
Python >= 3.10 (デフォルト 3.12) & uv
ヨルン
インストール手順
プロジェクトをローカルに複製します。
git clone https://github.com/sfncat/mcp-joern.git cd mcp-joernPython の依存関係をインストールします。
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
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 (マルチモーダル会話プラグイン) サーバーです。
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 -112779
- -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 -4
- -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 -0