Joern MCP Server
🦡 codebadger
codebadger 是一个容器化的 Model Context Protocol (MCP) 服务器,通过 Joern Code Property Graphs (CPGs) 为 AI 代理和 LLM 提供对代码库结构和数据流的深度、可查询的访问。
将其指向 Git 仓库、本地路径,甚至粘贴的代码片段,codebadger 就会构建 CPG 并通过 MCP 暴露它——这样助手就可以运行 CPGQL 查询、追踪数据流和污点、对程序进行切片,并跨 Java、C/C++、JavaScript、Python、Go、Kotlin、C#、Ghidra、Jimple、PHP、Ruby 和 Swift 寻找漏洞。
它是一个通用基础,既适用于程序分析(理解代码结构、调用图和数据流),也适用于漏洞分析(污点追踪、漏洞挖掘和 PoC 开发)——对学术研究以及工业界的安全和工程工作都很有用。它被设计为通过每个 CPG 的工作线程池、内存感知调度和 Postgres/Redis 后端,扩展到大规模分析批次。
新闻
codebadger 及其论文 - Bridging Code Property Graphs and Language Models for Program Analysis - 被 Software Vulnerability Management Workshop @ ICSE 2026 录用。🎉
Related MCP server: codebadger
文档
开发人员或安全研究人员所需的一切都位于 docs/ 中:
文档 | 内容 |
先决条件和 5 分钟本地设置。 | |
连接 MCP 客户端、工具目录以及研究人员工作流程。 | |
为代理推荐的受限工具序列。 | |
按类别列出的每个 MCP 工具,并说明每个工具的用途。 | |
| |
Postgres/Redis、内存大小、 | |
系统设计和图表。 | |
威胁模型、信任边界和生产环境加固。 | |
添加你自己的检测器。 | |
开发环境搭建、测试和指南。 | |
已发布的内容和下一步计划。 |
使用 codebadger 发现了漏洞?
我们很乐意听到这个消息 - 打开一个 PR,将其添加到 TROPHIES.md(CVE ID、项目、一行描述、日期)。
引用
@inproceedings{lekssays2026bridging,
title={Bridging Code Property Graphs and Language Models for Program Analysis},
author={Lekssays, Ahmed},
booktitle={Proceedings of the 2026 IEEE/ACM 4th International Workshop on Software Vulnerability Management},
pages={33--40},
year={2026}
}Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
AI-powered codebase analysis — call graphs, security, dead code, complexity. 150+ tools.
Code intelligence platform for AI agents. 20 tools for architecture, security & impact analysis.
Security scanner for AI-written code: SAST, secrets, dependencies, IaC, containers and DAST.
Generate SBOMs, scan vulnerabilities, and analyze dependencies from local projects or Git repos.
Related MCP Servers
- FlicenseNot gradedqualityAmaintenanceEnables AI agents and LLMs to build Joern Code Property Graphs from Git repositories, local paths, or snippets and query code structure, data flow, taint, program slices, and vulnerabilities over MCP across many languages.-
- FlicenseNot gradedqualityAmaintenanceEnables AI agents and LLMs to build and query Joern Code Property Graphs from Git repositories, local paths, or code snippets for CPGQL queries, data-flow and taint tracing, program slicing, and vulnerability hunting across many languages.-
- FlicenseNot gradedqualityAmaintenanceEnables AI agents and LLMs to build and query Joern Code Property Graphs from Git repositories, local paths, or pasted snippets, supporting CPGQL queries, data-flow and taint tracing, program slicing, and vulnerability hunting across many languages.-
- FlicenseNot gradedqualityAmaintenanceEnables AI agents and LLMs to build and query Joern Code Property Graphs from Git repositories, local paths, or snippets, supporting CPGQL queries, data-flow and taint tracing, program slicing, and vulnerability hunting across many languages.-