{"id":"lh-rust-mcp-server","name":"rust-mcp-server","homepage":null,"repo_url":"https://github.com/lh/rust-mcp-server","category":"devtools","subcategories":[],"tags":["mcp","json-rpc","rust","developer-tools","cli-integration","code-quality","linting","testing","formatting"],"what_it_does":"Provides a Rust-focused Model Context Protocol (MCP) server that exposes tools to run common Rust developer commands (cargo check, cargo clippy, rustfmt, cargo test, cargo build) via JSON-RPC over stdin/stdout.","use_cases":["AI assistants/IDEs performing on-demand Rust syntax checking (cargo check)","Automated linting and improvement suggestions (cargo clippy)","Formatting enforcement and formatting checks (rustfmt)","Running targeted or workspace-wide Rust test suites (cargo test)","Building Rust projects in debug/release (cargo build)"],"not_for":["Running these tools as a hosted/cloud service with network authentication and SLA guarantees","Environments requiring strict sandboxing or separation between the tool process and the host filesystem","Use cases needing rate-limited, API-key protected HTTP endpoints"],"best_when":"You want to plug Rust tool execution into an MCP-capable client (e.g., Claude Code) for local/project workflows where the server can run on the same machine as cargo/rustc.","avoid_when":"You need fine-grained authorization, webhooks, or a hosted API surface; or you cannot trust the client because tool calls can trigger compilation/testing against local code.","alternatives":["Rust Analyzer (language server) for diagnostics/formatting","Standalone CLI wrappers/scripts that run cargo/rustfmt/clippy locally","Other MCP servers for programming-tool automation (if available)"],"af_score":71.2,"security_score":21.0,"reliability_score":40.0,"package_type":"mcp_server","discovery_source":["github"],"priority":"low","status":"evaluated","version_evaluated":null,"last_evaluated":"2026-04-04T21:23:25.180402+00:00","interface":{"has_rest_api":false,"has_graphql":false,"has_grpc":false,"has_mcp_server":true,"mcp_server_url":null,"has_sdk":false,"sdk_languages":[],"openapi_spec_url":null,"webhooks":false},"auth":{"methods":[],"oauth":false,"scopes":false,"notes":"No authentication mechanism is described; MCP server appears to run locally and communicate over stdin/stdout. Tool calls can execute cargo/rust tooling on the provided project path."},"pricing":{"model":null,"free_tier_exists":false,"free_tier_limits":null,"paid_tiers":[],"requires_credit_card":false,"estimated_workload_costs":null,"notes":"Open-source project; no hosted pricing information provided in the README."},"requirements":{"requires_signup":false,"requires_credit_card":false,"domain_verification":false,"data_residency":[],"compliance":[],"min_contract":null},"agent_readiness":{"af_score":71.2,"security_score":21.0,"reliability_score":40.0,"mcp_server_quality":78.0,"documentation_accuracy":82.0,"error_message_quality":80.0,"error_message_notes":"README describes JSON-RPC usage and standardized tool responses (success/exit_code/stdout/stderr/command) and enumerates error categories (invalid tool names, missing params, process/fs errors). Also notes a prior JSON-RPC compliance bug around including `error: null` and that it was fixed in v0.1.1.","auth_complexity":100.0,"rate_limit_clarity":0.0,"tls_enforcement":0.0,"auth_strength":10.0,"scope_granularity":0.0,"dependency_hygiene":30.0,"secret_handling":70.0,"security_notes":"Runs local Rust tooling; no network auth/TLS details are provided. Risk centers on executing host processes on a user-supplied project path (potential for code execution via build/test steps) and potential filesystem modifications (rustfmt/clippy fixes). The README does not discuss sandboxing, resource limits, or secret handling policies; secret handling score reflects that the interface returns stdout/stderr rather than describing any secret logging behavior.","uptime_documented":0.0,"version_stability":45.0,"breaking_changes_history":60.0,"error_recovery":55.0,"idempotency_support":"false","idempotency_notes":"Some operations are naturally non-idempotent (e.g., rustfmt may modify files; clippy may apply fixes). No explicit idempotency guarantees are documented for repeated calls.","pagination_style":"none","retry_guidance_documented":false,"known_agent_gotchas":["No explicit rate limiting or retry/backoff guidance documented.","Tool calls can be slow/blocking because they run cargo/rustc processes; agents may need to handle long-running responses.","File-system side effects may occur depending on parameters (e.g., clippy `fix`, rustfmt applying changes).","Server connection issues may depend on correct MCP client configuration (README mentions absolute paths and correct `--` usage for Claude Code)."]}}