codetree
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| root | Yes | The root directory of the project to analyze. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_file_skeletonB | Get all classes and function signatures in a source file without their bodies. |
| get_symbolB | Get the full source code of a specific function or class by name. |
| find_referencesB | Find all usages of a symbol across the entire repo. |
| get_call_graphB | Get what a function calls and what calls it across the repo. |
| get_importsB | Get import/use statements from a source file. |
| get_skeletonsA | Get skeletons for multiple files in one call. |
| get_symbolsB | Get the full source code of multiple symbols in one call. |
| get_complexityA | Get cyclomatic complexity of a function. |
| find_dead_codeA | Find symbols that are defined but never referenced elsewhere in the repo. |
| get_blast_radiusA | Find all functions transitively affected if a symbol is changed. Shows direct and indirect callers (what breaks) and dependencies (what it relies on). |
| detect_clonesA | Find duplicate or near-duplicate functions in the repo. Detects Type 1 (exact copies) and Type 2 (copies with renamed variables). |
| search_symbolsB | Search for symbols across the repo with flexible filters. All parameters optional — combine for powerful filtering. |
| find_testsA | Find test functions associated with a symbol. Searches by naming convention (test_), direct reference, and file convention (test_). Results ranked by confidence. |
| index_statusA | Report on graph index freshness and stats. |
| get_repository_mapA | Get a compact overview of the repository for onboarding. Returns languages, entry points, hotspots, recommended start_here symbols, and stats — everything an agent needs to orient in an unfamiliar repo. |
| resolve_symbolA | Disambiguate a short symbol name into ranked qualified matches. Resolves ambiguous names like 'add' to specific qualified symbols ranked by relevance (path match, non-test preference, centrality). |
| search_graphC | Search the code graph with flexible filters and pagination. |
| get_change_impactA | Analyze impact of a change — by explicit symbol or git diff. Shows direct/transitive callers with risk classification and affected tests. |
| analyze_dataflowB | Analyze variable dataflow and security taint paths in a function. |
| find_hot_pathsA | Find high-leverage optimization targets by combining complexity and call frequency. Returns functions ranked by hot_score = complexity * inbound_call_count. Functions with high scores are called often AND complex — prime optimization targets. |
| get_dependency_graphA | Get the file dependency graph as Mermaid syntax or a list. Shows which files import which other files, useful for understanding module structure and identifying circular dependencies. |
| git_historyC | Analyze git history: blame, churn, or change coupling. |
| suggest_docsA | Find undocumented functions and assemble context for writing docs. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ThinkyMiner/codeTree'
If you have feedback or need assistance with the MCP directory API, please join our Discord server