Back to Home
Vaiz icon

rust-mcp-server

Verified Safe

by Vaiz

Overview

Facilitates interaction between a large language model (LLM) and a local Rust development environment by exposing local Rust tools and project context to the LLM.

Installation

Run Command
rust-mcp-server --log-level info

Security Notes

The server's core function is to execute local Rust development commands (cargo, rustup) based on LLM input. While this inherently grants powerful capabilities to the AI agent, the implementation uses `std::process::Command::new` for command execution, which is safer than direct shell execution and mitigates shell injection risks. Tool parameters are parsed from structured JSON, preventing arbitrary string execution. Network access is restricted to specific documentation URLs (GitHub) and registries/advisory databases by design. No direct `eval` or hardcoded secrets were found.

Similar Servers

Stats

Interest Score39
Security Score8
Cost ClassMedium
Avg Tokens500
Stars14
Forks1
Last Update2025-11-24

Tags

RustMCPLLM IntegrationDevelopment ToolsCargo