MCP Server Codebase Analyzer
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | Port for SSE server (default 8080). | |
| TRANSPORT | No | Transport mode: 'stdio' for local, 'sse' for cloud deployment. | |
| AUTH_TOKEN | No | Optional secret token for SSE authentication. | |
| TOOL_TIMEOUT_MS | No | Hard timeout for each tool call in milliseconds. | |
| SSE_HEARTBEAT_MS | No | Heartbeat interval for SSE sessions in milliseconds. | |
| SSE_SESSION_TTL_MS | No | Time-to-live for SSE sessions in milliseconds. | |
| TS_MORPH_MAX_DEPTH | No | Maximum depth for ts-morph analysis. | |
| TS_MORPH_MAX_FILES | No | Maximum number of files for ts-morph analysis. | |
| INCIDENT_API_RETRIES | No | Number of retries for incident API calls. | |
| INCIDENT_API_TIMEOUT_MS | No | Timeout for incident API calls in milliseconds. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| analyze_codebase_healthC | Analyzes repository health using ts-morph and reports large files, missing function types, and potential circular dependencies. |
| fetch_system_incidentsC | Fetches incident telemetry from a mock external API, including realistic stack traces and failure simulation controls. |
| generate_remediation_planB | Generates deterministic root-cause analysis and actionable remediation steps from an incident payload and source file content. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 3 tools
The three tools occupy distinct stages of an incident-response workflow: static health scanning, incident retrieval, and remediation synthesis. There is mild conceptual overlap between analyze_codebase_health and generate_remediation_plan since both reason about source code, but the inputs (repo vs. incident payload + file content) and outputs (health report vs. remediation steps) make the boundary clear enough.
All three names follow a strict verb_noun snake_case pattern (analyze_codebase_health, fetch_system_incidents, generate_remediation_plan) with unambiguous verbs indicating the action. No stylistic mixing or vague verbs.
Three tools is thin for a server billed as a codebase analyzer; a user expecting exploration or querying will find only one analysis entry point. Each tool is substantive rather than trivial, but the surface feels narrow for the stated scope.
The pipeline has a notable gap: generate_remediation_plan requires source file content as input, yet no tool lists, reads, or locates files in the repository, so an agent must supply that content from outside the server. Incident handling also lacks any query/filter or status-update operations, leaving the lifecycle incomplete.