路径探索 是 AI Skill Hub 本期精选MCP工具之一。综合评分 7.5 分,整体质量较高。我们推荐使用将其纳入你的 AI 工具库,帮助提升工作效率。
路径探索 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
路径探索 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/irahardianto/pathfinder
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"----": {
"command": "npx",
"args": ["-y", "pathfinder"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 路径探索 执行以下任务... Claude: [自动调用 路径探索 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"____": {
"command": "npx",
"args": ["-y", "pathfinder"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
<p align="center"> The Headless IDE — an MCP server that gives AI coding agents<br /> AST-aware code intelligence, semantic navigation, and LSP-backed discovery. <br /> <br /> <a href="#getting-started">Getting Started</a> · <a href="#agent-directives">Agent Directives</a> · <a href="#tools">View Tools</a> · <a href="https://github.com/irahardianto/pathfinder/issues">Request Feature</a> <br /> <br /> </p> </div>
Pathfinder is an MCP (Model Context Protocol) server written in Rust that gives AI coding agents the same code intelligence a human developer gets from an IDE — but without a GUI.
Instead of treating source code as flat text, Pathfinder understands your code structurally through Tree-sitter AST parsing and semantically through Language Server Protocol (LSP) integration. This means AI agents can navigate, search, and explore code at the symbol level — functions, classes, methods — rather than fragile line-by-line string matching.
The directives live in docs/agent_directives/ and mirror the rules and skills used during Pathfinder's own development:
docs/agent_directives/
├── AGENTS.md # Always-on routing rule: which Pathfinder tool to use for each action
└── skills/
└── pathfinder/
└── SKILL.md # On-demand skill: concrete navigation workflows and error recovery
AGENTS.md — an always-on rule injected into every agent turn. It tells the agent: - To prefer Pathfinder's semantic tools over built-in text tools whenever possible - How to form correct semantic paths (e.g., src/auth.ts::AuthService.login) - Which tool to reach for each action (reading, searching, navigating) - When to fall back gracefully if Pathfinder is unavailable
skills/pathfinder/SKILL.md — a detailed on-demand skill the agent activates when it needs deeper guidance. It covers: - Step-by-step workflows for exploring, auditing, and debugging codebases - Efficient search with filter_mode, exclude_glob, known_files, group_by_file, and is_regex - Error recovery patterns for SYMBOL_NOT_FOUND, LSP degradation, and timeout scenarios
gopls for Go, typescript-language-server for TS/JS, rust-analyzer for Rust, pyright for Python).cargo deny check ```
The workspace enforcesclippy::pedantic,deny(unwrap_used),warn(expect_used), anddeny(unsafe_code).
Choose one of the following methods:
Homebrew (macOS & Linux):
brew tap irahardianto/pathfinder-mcp
brew install pathfinder-mcp
cargo install from crates.io:
cargo install pathfinder-mcp
Build from source:
```sh git clone https://github.com/irahardianto/pathfinder.git cd pathfinder cargo build --release
Copy the directives into your project's .agents/ directory. Antigravity auto-discovers all rules and skills placed there:
```sh
Add Pathfinder to your MCP client's server configuration. The exact format depends on your client.
Example (JSON config for most MCP clients):
{
"mcpServers": {
"pathfinder": {
"command": "pathfinder-mcp",
"args": ["/path/to/your/workspace"]
}
}
}
With LSP trace enabled (for debugging):
{
"mcpServers": {
"pathfinder": {
"command": "pathfinder-mcp",
"args": ["--lsp-trace", "/path/to/your/workspace"]
}
}
}
pathfinder-mcp [OPTIONS] <WORKSPACE_PATH>
Arguments:
<WORKSPACE_PATH> Path to the workspace root directory
Options:
--lsp-trace Enable raw LSP JSON-RPC tracing to stderr (DEBUG level)
-h, --help Print help
-V, --version Print version
Pathfinder communicates over stdio using the MCP protocol. Logs are emitted as structured JSON to stderr (since stdout is reserved for MCP transport).
高质量MCP工具,语义感知能力强
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
经综合评估,路径探索 在MCP工具赛道中表现稳健,质量良好。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | pathfinder |
| 原始描述 | 开源MCP工具:The Headless IDE — an MCP server that gives AI coding agents AST-aware semantic 。⭐8 · Rust |
| Topics | mcprustai |
| GitHub | https://github.com/irahardianto/pathfinder |
| License | MIT |
| 语言 | Rust |
收录时间:2026-06-02 · 更新时间:2026-06-02 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端