language-server-mcp-rs
An MCP server that exposes rust-analyzer capabilities (via MCP tools) so AI assistants can query Rust code for types, diagnostics, completions, definitions, references, formatting, refactors, and macro expansion in a workspace.
Score Breakdown
⚙ Agent Friendliness
🔒 Security
No authentication described; stdio/local deployment implies trust in the local host/assistant integration. The README does not mention TLS (not applicable to stdio) or secret handling. Dependency hygiene and secure error handling cannot be assessed from the provided README/metadata.
⚡ Reliability
Best When
You want an AI assistant to interact with a local Rust codebase using rust-analyzer features through MCP/stdio.
Avoid When
You cannot run local processes, need strong centralized access control/authentication, or require documented retry/idempotency guarantees for all tools.
Use Cases
- • Ask an AI assistant for Rust type info at a file position (hover-like queries)
- • Get compiler diagnostics for a Rust file via MCP tools
- • Request code completions, inlay hints, and macro expansions for Rust projects
- • Perform navigation/refactoring tasks such as goto definition, find references, and safe symbol rename across a workspace
Not For
- • Production web/API use without running a local process (it is intended to be launched by a desktop/assistant host)
- • Use as a general-purpose code search/indexer for non-Rust projects
- • Use where enterprise auth, audit logging, or managed hosting requirements mandate a hosted API
Interface
Authentication
The README shows stdio-based MCP usage and does not describe any authentication mechanism. Access is implicitly local/host-controlled.
Pricing
No pricing information provided; appears to be a self-hosted open-source tool.
Agent Metadata
Known Gotchas
- ⚠ Some tools (e.g., rename, code_actions) may modify workspace state; an agent should confirm before applying changes.
- ⚠ All coordinates (line/column) are 0-indexed per the README; mismatched indexing can lead to incorrect results.
- ⚠ Relies on a running rust-analyzer subprocess and correct workspace path; misconfiguration will prevent tool functionality.
Alternatives
Full Evaluation Report
Comprehensive deep-dive: security analysis, reliability audit, agent experience review, cost modeling, competitive positioning, and improvement roadmap for language-server-mcp-rs.
AI-powered analysis · PDF + markdown · Delivered within 30 minutes
Package Brief
Quick verdict, integration guide, cost projections, gotchas with workarounds, and alternatives comparison.
Delivered within 10 minutes
Score Monitoring
Get alerted when this package's AF, security, or reliability scores change significantly. Stay ahead of regressions.
Continuous monitoring
Scores are editorial opinions as of 2026-04-04.