Back to Home
scopweb icon

mcp-context-rust

Verified Safe

by 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

Run Command
cargo run --release

Environment 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

Stats

Interest Score0
Security Score9
Cost ClassLow
Avg Tokens2500
Stars0
Forks0
Last Update2025-12-05

Tags

MCPCode AnalysisPattern TrainingMulti-languageRust