CRUX MCP (Model Context Protocol) server: exposes crux layers as JSON-RPC tools for code analysis, search, memory, and sandbox execution.
CRUX provides 13 tools with explicit schemas and descriptions, but quality is uneven. Naming is generally strong (verb-noun pattern: bash_filter, read_file, search_symbols). Descriptions exist but are often terse (10-80 chars, below the 50-200 char baseline for LLM optimization). Schemas are present with typed parameters, but many lack granular constraints (enums, ranges). Error handling is minimal, no recovery guidance or actionable error messages visible. Tools like execute_sandbox and record_observation handle sensitive operations but lack confirmation/dry-run patterns. Output schemas are not documented in the source provided.
Filter bash command output using TOML DSL filters (cargo, npm, etc.)
Detect and fix AI-style verbose comments, decorative banners, and marketing fluff in source files
Create rolling digest of conversation history, archiving past turns and surfacing compact pointers
Execute Python, Bash, or Node.js code in isolated sandbox with resource limits
Deterministic rewrite of AI-flavoured prose into concise, human-sounding text. Preserves code blocks, URLs, paths, and technical literals.
Hybrid search combining BM25, trigram, and dense vector embeddings (RRF ranking)
Index project AST using tree-sitter (Rust, Python, TypeScript, JavaScript, Lua, Bash)
Descriptions are terse (10-80 chars) and lack LLM-optimized context. Baseline is 50-200 chars with WHAT/WHEN/WHY guidance. Examples: 'Filter bash command output' (27 chars), 'Record an observation' (21 chars) omit when to use and what happens next.
No output schemas documented. LLMs cannot plan downstream calls or extract required fields without knowing what each tool returns. Baseline: 100% of A+ tools document return types.
Irreversible/sensitive tools (execute_sandbox, record_observation, digest_conversation, check_comment_hygiene with fix=true) lack confirmation or dry-run patterns. Agents can cause unintended side effects without safeguards.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 54 | 2026-07-28+ | v2 |
List files in project directory with filtering
Read a file from the project with caching and deduplication
Recall observations from memory ranked by decay and relevance
Record an observation in persistent memory with decay-based ranking
Search for symbols in indexed AST (functions, classes, variables)
Initialize project scaffolding (CLAUDE.md, .crux/, profiles)
No error handling guidance visible. Tools should return actionable recovery hints (e.g., 'File not found. Try list_files() to see available paths'). Baseline: 100% of A+ tools guide recovery.
Parameter constraints are minimal. 'isolation_level' accepts 'soft' or 'hard' but no enum declared. 'timeout_secs' has no range (1-3600?). 'limit' in hybrid_search has no bounds. Baseline: constrained inputs prevent hallucinated values.