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: CodeFlow MCP Server
文档
开发人员或安全研究人员所需的一切都位于 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}
}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.
Generate SBOMs, scan vulnerabilities, and analyze dependencies from local projects or Git repos.
Code intelligence for coding agents: semantic, AST, graph, and full-text search. 279+ languages.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables comprehensive code analysis including quality assessment, security vulnerability detection, refactoring suggestions, complexity calculations, and automatic documentation generation for multiple programming languages.57 npmMIT
- FlicenseCqualityDmaintenanceEnables AI assistants to analyze codebases through semantic search, call graph generation, and function metadata extraction. Provides real-time code analysis with persistent vector storage for understanding complex code structures and relationships.136-
- FlicenseBqualityNot gradedmaintenanceProvides comprehensive codebase analysis and semantic understanding through integrated knowledge graphs, enabling AI assistants to understand project structure, patterns, dependencies, and context through multiple analysis tools and format generators.9-
- AlicenseAqualityCmaintenanceEnables AI agents to scan code for security vulnerabilities using multiple static analysis tools, with support for filtering, deduplication, and CI/CD integration.2779 PyPI4MIT