MCP server for semantic code search via embed-server
Server has 5 tools with complete input schemas and descriptions. Naming follows verb_noun convention (search_code, index_project, list_projects). Descriptions are present and actionable (avg ~120 chars), exceeding the 10-char minimum. However, output schemas are undocumented, tools return free-text strings rather than structured JSON, forcing LLMs to parse unstructured responses. Error handling is present but generic ('Error: {e}'). Parameters lack enums where appropriate (chunk_type accepts 'code' or 'text' but is not constrained). No tool annotations (readOnlyHint, destructiveHint). Missing pagination support on search_code despite potentially large result sets.
Get embedding cache statistics (cache size, entry count).
Index or reindex a project from a local directory. Reads source files, respects .gitignore, and sends them to the embedding server for chunking and indexing.
List all indexed projects with their chunk counts.
Get detailed information about an indexed project.
Search indexed codebase semantically. Use this to find relevant code snippets, functions, or documentation by meaning rather than exact text match.
Output schemas undocumented. All tools return free-text strings instead of structured JSON. LLMs cannot parse results reliably or chain downstream tool calls.
chunk_type parameter accepts 'code' or 'text' but is not declared as an enum. Free-form string invites hallucinated values.
search_code lacks pagination (no limit, offset, or cursor). Large result sets will be truncated or blow context window. Description states 'k' controls result count but no guidance on max.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint). LLMs cannot infer which tools are safe to retry or have side effects.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 53 | <=2025-11-25 | v2 |
Error messages are generic ('Error: {e}'). No recovery guidance. LLMs cannot determine if errors are retryable or require user intervention.