mcp-context-rust
Verified Safeby scopweb
Overview
A multi-language Model Context Protocol (MCP) server for context analysis and code pattern training for AI assistants, supporting Rust, Node.js, Python, Go, Java, PHP, and .NET.
Installation
cargo run --releaseEnvironment Variables
- RUST_LOG
- MCP_PATTERNS_PATH
Security Notes
The project explicitly addresses and claims to have fixed a critical path traversal vulnerability using robust input sanitization (`sanitize_framework_name`) and canonical path verification. Communication is via stdio, limiting network attack surface. It actively promotes secure coding practices (e.g., no hardcoded secrets, proper error handling) and uses automated security tools like cargo-audit in its CI/CD pipeline. No 'eval' or similar dangerous functions are present. The fix for the Content-Length framing issue also improves protocol robustness.
Similar Servers
rust-mcp-server
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.
mcp-mineru
Implements or interacts with the Minecraft Protocol, likely for building custom Minecraft servers or client utilities.
dev-kit-gh-mcp-server
A server providing Model Context Protocol (MCP) tools for automating and interacting with GitHub repositories, primarily for bots and AI agents.
personal-mcp-server
A command-line utility for searching text within a specified file, supporting both case-sensitive and case-insensitive searches. Despite the repository's README suggesting it's an 'MCP Server', the provided source code implements a simple local file search tool, not a server or a Model Context Protocol.