MCP server for managing and indexing source code snapshots with semantic analysis capabilities
Server has 11 well-named, read-only tools with consistent verb_noun naming (list_, get_, search_, resolve_). All tools have descriptions (avg ~80 chars, within baseline 34-392). Input schemas are present and use Zod validation with type constraints. However, parameter descriptions are minimal or absent in the schema definitions visible in code, the Zod objects lack inline descriptions. Output schema is not documented; responses are wrapped in a generic formatToolResult() that returns JSON text without field-level documentation. No error handling guidance, no pagination support despite tools that could return large result sets (search_source_files, list_products). Missing tool annotations (readOnlyHint present implicitly via Risk field, but not in MCP schema). Composition is sound, tools chain logically (resolve_version → get_source_tree → read_source_file). Security: no secrets in parameters, scope-gated via McpAccessScope. Overall: solid foundation, but parameter documentation and output schema clarity are gaps.
Get a high-level codebase summary for a published source snapshot.
Get indexed context for a component or page-like module.
Get source index build status for a published source snapshot.
Read a source snapshot tree for a product version.
Get indexed type definition locations and usage context.
List products with published source snapshots.
Output schema not documented. Tools return JSON text via formatToolResult() with no field-level documentation. LLMs cannot infer what fields to expect or plan downstream calls.
Parameter descriptions missing in Zod schema definitions. While tool descriptions exist, individual parameters (productKey, version, path, depth, etc.) lack inline descriptions explaining their purpose, format, or constraints.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 61 | 2026-07-28+ | v2 |
List published source-snapshot versions for a product.
Read a file from a source snapshot.
Resolve a published source-snapshot version selector for a product.
Search text in source snapshot files.
Search text in indexed source files and return contextual matches.
No pagination support. search_source_files and list_products could return large result sets but lack limit, offset, or cursor parameters. No documented result caps or guidance on handling large responses.
No error handling guidance. Tool descriptions do not explain what errors can occur, how to recover, or what the LLM should do next (e.g., 'If product not found, call list_products() first').
Tool annotations missing from MCP schema. Risk field (READ_ONLY) is present in metadata but not exposed as readOnlyHint in the MCP tool definition, limiting client-side optimization.