Builds a tree-sitter code graph of a repository so agents can map it, search symbols, see callers and callees, trace call paths and estimate change impact.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add repomap -- npx -y @sylphx/repomap~/.codex/config.toml
[mcp_servers.repomap]
command = "npx"
args = ["-y", "@sylphx/repomap"]
# codex mcp add repomap -- npx -y @sylphx/repomap~/.cursor/mcp.json
{
"mcpServers": {
"repomap": {
"command": "npx",
"args": [
"-y",
"@sylphx/repomap"
]
}
}
}.vscode/mcp.json
{
"servers": {
"repomap": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@sylphx/repomap"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"repomap": {
"command": "npx",
"args": [
"-y",
"@sylphx/repomap"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"repomap": {
"command": "npx",
"args": [
"-y",
"@sylphx/repomap"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"repomap": {
"command": "npx",
"args": [
"-y",
"@sylphx/repomap"
]
}
}
}