trusty-analyzer-mcp 0.1.0

MCP server for trusty-analyzer: exposes complexity_hotspots, find_smells, analyze_quality tools
Documentation

trusty-analyzer-mcp — MCP tool definitions for the analysis daemon.

Why: parity with trusty-search-mcp. Exposes analysis tools backed by the analyzer's HTTP daemon. The JSON-RPC stdio loop and HTTP/SSE transports land in a follow-up; for now this crate publishes the tool schemas so both the daemon and external clients (Claude Code, MCP debuggers) can reference a single authoritative list.

What: a tool_definitions() function returning the static tool catalogue (name, description, input_schema, upstream HTTP route). Three analysis tools are exposed today: cluster_concepts, ner_extract, ingest_scip. Plus the existing complexity / smells / quality tools the analyzer already serves (added so the catalogue is complete).

Test: see #[cfg(test)] — round-trips the catalogue through serde_json and asserts the expected tool names are present.