mcp-server-rust
Verified Safeby freeshineit
Overview
The server implements a simple protocol for exposing tools and resources, primarily for an agent to interact with various functionalities.
Installation
cargo run -- startEnvironment Variables
- RUST_LOG
Security Notes
The server implements a custom JSON-RPC-like protocol over TCP. While the current implementation of 'search_files' and 'read_resource' methods *simulates* file system interactions and returns hardcoded responses, the interface for accepting user-provided paths and patterns (e.g., 'pattern', 'directory', 'uri') carries a high potential for path traversal and arbitrary file access vulnerabilities if these operations were to be fully implemented with actual file system I/O without robust input sanitization and access control. No hardcoded secrets or 'eval'-like patterns are present. The 'mcp-config.toml' file is provided but currently ignored by the server's hardcoded tool and resource definitions.
Similar Servers
rust-mcp-sdk
A high-performance, asynchronous Rust SDK for building Model Context Protocol (MCP) servers and clients, supporting various transports and authentication methods.
turbomcp
A production-ready Rust SDK for building high-performance Model Context Protocol (MCP) servers with automatic schema generation and multi-transport support, designed for AI model integration.
rust-mcp-server
Acts as a bridge for Large Language Models (LLMs) like GitHub Copilot to interact with and perform actions on local Rust development environments, automating tasks like building, testing, and analyzing code.
code-sage
A high-performance MCP server for semantic code search, analyzing codebases using AST-based chunking and providing hybrid keyword and vector embeddings search capabilities for AI clients.