
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A Model Context Protocol server that exposes Rust development tools such as syntax checking, linting, formatting, testing and building to AI assistants and IDEs.
Rust MCP Server is cataloged as an MCP server attributed to lh. A Model Context Protocol server that exposes Rust development tools such as syntax checking, linting, formatting, testing and building to AI assistants and IDEs. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Rust MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It communicates via JSON-RPC over stdin/stdout following the MCP protocol.
Tools return standardized JSON responses including success, exit code, stdout, stderr and the command.
Yes, the server can be run with a project path option to target a specific Rust project.
README.md · 0cd0f2b4c27d · Fetched 2026-11-13 10:55:09 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
A Model Context Protocol (MCP) server that provides essential Rust development tools for AI assistants and IDEs. This server enables real-time syntax checking, linting, formatting, testing, and building of Rust projects through the standardized MCP interface.
cargo_check - Syntax and type validation
cargo_clippy - Code linting
rustfmt - Code formatting
cargo_test - Test execution
cargo_build - Project building
git clone https://github.com/lh/rust-mcp-server
cd rust-mcp-server
cargo build --release
# Clone and build the server
git clone https://github.com/lh/rust-mcp-server
cd rust-mcp-server
cargo build --release
# Add to Claude Code (adjust the project path as needed)
claude mcp add rust-tools -s user -- $(pwd)/target/release/rust-mcp-server --project-path ~/Code
# Verify installation
claude mcp list | grep rust-tools
claude mcp add rust-tools -s user -- /path/to/rust-mcp-server/target/release/rust-mcp-server --project-path /path/to/your/rust/projects
# Navigate to your Rust project
cd /path/to/your/rust/project
# Add the server with current directory as project path
claude mcp add rust-tools -s project -- /path/to/rust-mcp-server/target/release/rust-mcp-server --project-path .
After installation, restart Claude Code and check the server status:
/mcp
You should see rust-tools: connected in the list.
# Run in current directory
./target/release/rust-mcp-server
# Specify project path
./target/release/rust-mcp-server --project-path /path/to/rust/project
Once installed, you can use natural language to invoke Rust tools:
cargo checkcargo clippyrustfmtcargo testcargo build --releaseThe server communicates via JSON-RPC over stdin/stdout following the MCP protocol:
{
"jsonrpc": "2.0",
"id": 1,
"method": "initialize",
"params": {}
}
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/list"
}
{
"jsonrpc": "2.0",
"id": 3,
"method": "tools/call",
"params": {
"name": "cargo_check",
"arguments": {
"workspace": true
}
}
}
{
"target": "", // Optional specific target
"workspace": false // Check all workspace packages
}
{
"fix": false, // Auto-apply fixes
"workspace": false, // Run on all packages
"deny": [] // Lint levels to deny
}
{
"file": "", // Specific file to format
"check": false // Check without applying
}
{
"test_name": "", // Specific test pattern
"package": "", // Specific package
"workspace": false, // Test all packages
"nocapture": false // Don't capture output
}
{
"release": false, // Build in release mode
"workspace": false // Build all packages
}
All tools return standardized JSON responses:
{
"success": true,
"exit_code": 0,
"stdout": "compilation output...",
"stderr": "warnings and errors...",
"command": "cargo check"
}
This server is designed to work seamlessly with AI assistants like Claude Code, providing real-time feedback during code development:
Can be integrated with VS Code through MCP to provide enhanced Rust development experience alongside existing language servers.
The server provides detailed error information for:
If you see connection errors in Claude Code:
Ensure the binary is built:
cd /path/to/rust-mcp-server
cargo build --release
ls -la target/release/rust-mcp-server # Should exist and be executable
Check the -- separator:
# ✅ Correct
claude mcp add rust-tools -- /path/to/rust-mcp-server/target/release/rust-mcp-server
# ❌ Incorrect (missing --)
claude mcp add rust-tools /path/to/rust-mcp-server/target/release/rust-mcp-server
Test the server manually:
cd /path/to/rust-mcp-server
python3 test_server.py
Check logs:
Look for error messages when running claude --mcp-debug
--project-path points to a Rust project"error": null in successful responses, violating JSON-RPC 2.0 spec. Fixed in v0.1.1.MIT License
error: null was incorrectly included in successful responses#[serde(skip_serializing_if = "Option::is_none")] to the error field in McpResponseClaim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Rust MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/rust-mcp-server)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.