Back to Home
scopweb icon

mcp-context-rust

Verified Safe

by scopweb

Overview

Provides multi-language code context and pattern training for AI assistants to analyze projects and suggest best practices.

Installation

Run Command
target/release/mcp-context-rust

Environment Variables

  • RUST_LOG
  • MCP_PATTERNS_PATH

Security Notes

The project demonstrates strong security practices, including explicit path traversal prevention in the `TrainingManager`'s file operations, canonical path verification, input sanitization for framework names, and correct `Content-Length` framing for the MCP protocol. It uses `stdio` for communication, limiting direct network attack surface, and integrates `cargo-audit` for dependency vulnerability scanning. Logs are correctly routed to `stderr` without ANSI codes, preventing output contamination.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassLow
Avg Tokens1500
Stars0
Forks0
Last Update2025-12-08

Tags

mcprustcode-analysispattern-trainingmulti-language