Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PYTHONPATH | No | Path to the session-buddy directory for module resolution |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| analyze_code | Comprehensive Python code quality analysis with complexity, dead code, clone detection, and coupling metrics |
| check_complexity | Analyze cyclomatic complexity of Python functions |
| check_coupling | Analyze class coupling (CBO - Coupling Between Objects) metrics |
| detect_clones | Detect code clones using APTED tree edit distance and LSH acceleration |
| find_dead_code | Find unreachable code using Control Flow Graph (CFG) analysis |
| get_health_score | Get overall code health score (0-100) with grade and category scores |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |