Understand any codebase in 60 seconds - an MCP server, CLI and GitHub Action that turns any repo into an architecture diagram (Mermaid/Graphviz) and enforces architecture rules in CI. Works with Claude, Cursor, ChatGPT and any MCP client.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add repo-cartographer -- npx -y repo-cartographer~/.codex/config.toml
[mcp_servers.repo-cartographer]
command = "npx"
args = ["-y", "repo-cartographer"]
# codex mcp add repo-cartographer -- npx -y repo-cartographer~/.cursor/mcp.json
{
"mcpServers": {
"repo-cartographer": {
"command": "npx",
"args": [
"-y",
"repo-cartographer"
]
}
}
}.vscode/mcp.json
{
"servers": {
"repo-cartographer": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"repo-cartographer"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"repo-cartographer": {
"command": "npx",
"args": [
"-y",
"repo-cartographer"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"repo-cartographer": {
"command": "npx",
"args": [
"-y",
"repo-cartographer"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"repo-cartographer": {
"command": "npx",
"args": [
"-y",
"repo-cartographer"
]
}
}
}