MCP Catalogs
首页

code-pathfinder

by shivasurya·130·综合分 49

Code Pathfinder 的 MCP 服务器,为 AI 助手提供跨文件代码分析和安全扫描功能。

securitydeveloper-tools
16
Forks
8
活跃 Issue
本月
最近提交
2 天前
收录于

概述

Code Pathfinder 是一个开源的静态分析引擎,能够追踪跨文件和函数的数据流。MCP 服务器提供工具来查询代码图,查找调用者/被调用者,追踪数据流,以及运行安全规则——使这些强大的分析功能在代码审查或开发过程中可供 AI 助手使用。它支持 Python、Docker 和 Docker Compose 分析,拥有 190 多个安全规则,可以自动下载。

试试问 AI

装完之后,这里有 3 个你可以让 AI 做的事:

:AI 助手执行专注于安全的代码审查,进行跨文件漏洞检测
:开发团队使用 AI 理解复杂数据流和依赖关系
:安全专业人员通过 AI 驱动的界面扫描代码库中的漏洞

什么时候选它

当您需要 AI 助手具备超出基本语法检查的深度代码安全分析能力,特别是在复杂应用程序中追踪跨文件数据流时,选择它。

什么时候不要选它

如果您需要支持 Python、Docker 或 Go 以外的语言,或需要具有 SLA 的商业支持,则不要选择它,因为这是一个没有正式支持的开源项目。

此 server 暴露的工具

从 README 抽取出 12 个工具
  • find_callers

    Find callers of a specific function in the codebase

  • find_callees

    Find functions called by a specific function

  • trace_dataflow

    Trace data flow between source and sink points

  • search_patterns

    Search for specific code patterns across the codebase

  • run_security_rule

    Run a specific security rule on the codebase

  • analyze_project

    Perform complete security analysis of the project

  • get_code_graph

    Retrieve the call graph representation of the code

  • query_taint_flows

    Query for tainted data flows across the codebase

  • list_rules

    List available security rules for the codebase

  • get_function_info

    Get detailed information about a specific function

  • find_vulnerabilities

    Find vulnerabilities based on predefined security rules

  • get_project_summary

    Get a summary of the project structure and analysis

说明:Tool names inferred from the MCP server description which mentions tools for 'querying the code graph: find callers/callees, trace data flows, search for patterns, and run security rules'. The specific tool names were constructed based on t

可对比工具

semgrepsonarqubeveracodebandit

安装

brew install shivasurya/tap/pathfinder

启动 MCP 服务器:

pathfinder serve --project .

对于 Claude Desktop,将其添加到您的 configuration.json:

{
  "mcpServers": {
    "code-pathfinder": {
      "command": "pathfinder",
      "args": ["serve", "--project", "."]
    }
  }
}

Hacker News 讨论

开发者社区最近的相关讨论。

code-pathfinder 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。