Back to Home
molaco icon

rust-code-mcp

Verified Safe

by molaco

Overview

Semantic code search, navigation, and analysis for Rust codebases, integrating with an MCP client.

Installation

Run Command
/path/to/file-search-mcp

Environment Variables

  • SERVER_PORT
  • DATA_DIR
  • MAX_FILE_SIZE
  • NUM_THREADS
  • DEBUG
  • RETRY_ATTEMPTS
  • RETRY_DELAY_MS
  • RUST_LOG
  • CUDA_HOME
  • CUDA_PATH
  • LD_LIBRARY_PATH

Security Notes

The project demonstrates strong security awareness by implementing a `SecretsScanner` and `SensitiveFileFilter` to prevent sensitive data (e.g., API keys, private keys, .env files) from being indexed. Communication uses `stdio` transport, which is local and minimizes network attack surface. While Rust itself provides memory safety, `fastembed` (via the `ort` crate) relies on ONNX Runtime, which may involve FFI and C/C++ code where memory safety isn't guaranteed by Rust, but this is an external, widely-used dependency.

Similar Servers

Stats

Interest Score37
Security Score9
Cost ClassHigh
Avg Tokens750
Stars6
Forks0
Last Update2026-01-09

Tags

Hybrid SearchCode AnalysisRustIncremental IndexingAI/MLDeveloper ToolMCP Server