Skip to main content
Glama
MCP Server Codebase Analyzer

MCP Server Codebase Analyzer

by kushalsai-01

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoPort for SSE server (default 8080).
TRANSPORTNoTransport mode: 'stdio' for local, 'sse' for cloud deployment.
AUTH_TOKENNoOptional secret token for SSE authentication.
TOOL_TIMEOUT_MSNoHard timeout for each tool call in milliseconds.
SSE_HEARTBEAT_MSNoHeartbeat interval for SSE sessions in milliseconds.
SSE_SESSION_TTL_MSNoTime-to-live for SSE sessions in milliseconds.
TS_MORPH_MAX_DEPTHNoMaximum depth for ts-morph analysis.
TS_MORPH_MAX_FILESNoMaximum number of files for ts-morph analysis.
INCIDENT_API_RETRIESNoNumber of retries for incident API calls.
INCIDENT_API_TIMEOUT_MSNoTimeout 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

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.2/5.0

Scored across 3 tools

Disambiguation4/5

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.

Naming Consistency5/5

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.

Tool Count3/5

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.

Completeness3/5

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.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues