Analyzes projects and extracts code chunks, supporting Swift, Kotlin, and other languages through LSP adapters and custom parsers
This MCP server defines 7 code analysis tools with visible schemas and descriptions. However, significant quality gaps limit production readiness. Naming is generally adequate (verb-noun pattern), but descriptions are inconsistent in depth and guidance. Input schemas use Zod with type declarations, which is good, but output schemas are not formally documented, responses are JSON-stringified objects without structured schema definitions. Error handling provides basic recovery guidance but lacks categorization. The server accepts file system paths directly, raising security concerns about path traversal validation. Overall, the implementation is functional but falls short of production-grade tool quality standards.
Analyzes a project and extracts code chunks.
Finds files matching a given pattern.
Finds functions matching a query in a given file.
Retrieves a specific code chunk.
Retrieves the architecture (inheritance, properties) of a class.
Returns the code chunk for a specific function in a source file.
Returns a list of functions found in the specified source file.
Output schemas not formally documented. All tools return JSON-stringified objects without declared return types or field documentation. LLMs cannot reliably parse response structure or plan downstream tool chains.
Descriptions lack guidance on WHEN to use each tool and dependencies between tools. E.g., 'find_file' and 'list_functions_in_file' are similar but not distinguished. LLMs cannot reliably select the right tool without clearer differentiation.
File path parameters (projectPath, filePath, className) accept arbitrary strings with no validation guidance. No evidence of path traversal or directory escape protection. Descriptions do not specify path format (absolute/relative, resolution rules).
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | D | 59 | <=2025-11-25 | v2 |
| 2026-03-09 | F | 37 | - | v1 |
Pagination support present (pageSize, pageToken in get_chunk and get_function_chunk) but no documentation of limits, default page sizes, or total count response field. Parameters are optional with no defaults stated.
Error responses use bare error messages without categorization (retryable vs. fatal) or recovery guidance. E.g., 'Chunk not found' does not suggest alternative approaches or related tools.
Parameter descriptions use placeholder/example syntax ('e.g., *.swift, src/**/*.swift') instead of formal constraints. LLMs may treat examples as the only valid options or reuse them literally.