Part of #426. ## Task Expose dead code detection as MCP tool for AI agents. ## Spec Tool name: `dead_code` Parameters: - `include_tests` (bool, default false) - `min_lines` (int, default 0) - `kind` (string, optional — filter by symbol kind) ## Implementation 1. Add to `src/mcp/tools.rs` `list_tools()` — name, description, input schema 2. Add handler in `handle_tool_call()` — calls same logic as CLI 3. Return JSON array of dead symbols ## Acceptance - MCP tool appears in `list_tools` - Returns structured JSON with name, kind, file, line - Works via stdio MCP protocol ## Est: 0.5 days
Activity
ajianaz commentedon Aug 1, 2026
Implemented. Closing as completed — feature verified in codebase.