MCP ServerResources
Codebase Map
Overview of repository communities and connections
Get a bird's-eye view of your repository's structure.
URI
map://{repository}Response
{
"repository": "owner/my-app",
"stats": {
"communities": 12,
"symbols": 450,
"processes": 35
},
"communities": [
{
"id": "comm_1",
"label": "Authentication",
"symbols": 85,
"cohesion": 0.92,
"key_symbols": ["authenticateUser", "validateToken"],
"entry_points": ["login", "signup"]
}
],
"cross_flows": [
{
"from": "Authentication",
"to": "DataAccess",
"calls": 47
}
]
}Key Fields
| Field | Description |
|---|---|
cohesion | 0-1, higher means tighter code coupling (0.8+ is good) |
key_symbols | Most important functions in the community |
entry_points | Functions called from outside the community |
cross_flows | How communities depend on each other |
Usage
Ask your agent:
"Show me the codebase map"
"Which communities handle authentication?"
"What are the main dependencies between communities?"
Related
- Community Detail - Deep dive into a community
- Process Trace - Follow execution flows