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.

Evaluated Apr 04, 2026 (16d ago)
Repo ↗ DevTools mcp rust language-server lsp code-assistant refactoring
⚙ Agent Friendliness
60
/ 100
Can an agent use this?
🔒 Security
21
/ 100
Is it safe for agents?
⚡ Reliability
24
/ 100
Does it work consistently?

Score Breakdown

⚙ Agent Friendliness

MCP Quality
78
Documentation
72
Error Messages
0
Auth Simplicity
95
Rate Limits
5

🔒 Security

TLS Enforcement
20
Auth Strength
10
Scope Granularity
0
Dep. Hygiene
45
Secret Handling
40

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

Uptime/SLA
0
Version Stability
35
Breaking Changes
30
Error Recovery
30
AF Security 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

REST API
No
GraphQL
No
gRPC
No
MCP Server
Yes
SDK
No
Webhooks
No

Authentication

OAuth: No Scopes: No

The README shows stdio-based MCP usage and does not describe any authentication mechanism. Access is implicitly local/host-controlled.

Pricing

Free tier: No
Requires CC: No

No pricing information provided; appears to be a self-hosted open-source tool.

Agent Metadata

Pagination
none
Idempotent
False
Retry Guidance
Not documented

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

$99

Package Brief

Quick verdict, integration guide, cost projections, gotchas with workarounds, and alternatives comparison.

Delivered within 10 minutes

$3

Score Monitoring

Get alerted when this package's AF, security, or reliability scores change significantly. Stay ahead of regressions.

Continuous monitoring

$3/mo

Scores are editorial opinions as of 2026-04-04.

8642
Packages Evaluated
17761
Need Evaluation
586
Need Re-evaluation
Community Powered