Back to Home
freeshineit icon

mcp-server-rust

Verified Safe

by freeshineit

Overview

The server implements a simple protocol for exposing tools and resources, primarily for an agent to interact with various functionalities.

Installation

Run Command
cargo run -- start

Environment 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

Stats

Interest Score0
Security Score7
Cost ClassLow
Avg Tokens200
Stars0
Forks0
Last Update2026-01-19

Tags

RustServerProtocolToolsResources