Skip to content

Commit 1f3a53b

Browse files
committed
feat: implement Phase 2.2 Advanced MCP Features & Configuration
- Add comprehensive configuration profile system (config.rs) * Development, production, and enterprise profiles * Tool enablement rules and security settings * Environment variable override support - Implement dynamic tool enablement manager (dynamic_enablement.rs) * Repository analysis for intelligent tool selection * Client-specific optimizations (Claude, Cursor, VS Code) * Performance-aware tool filtering by categories - Add performance monitoring system (monitoring.rs) * Real-time metrics collection and alerting * Tool-specific performance tracking * Background monitoring with configurable thresholds - Create configuration validation system (validation.rs) * Comprehensive startup validation * System readiness and security checks * Performance bottleneck identification - Integrate all Phase 2.2 modules into MCP server * Update lib.rs with proper exports * Add dynamic_enablement to tools registry * Add num_cpus dependency for system information - Fix all clippy warnings and code formatting * Remove unused imports and dead code * Improve code style with Rust best practices * All 188 tests passing with comprehensive integration Resolves final components of JavaScript parser enhancement milestone
1 parent 3561157 commit 1f3a53b

File tree

8 files changed

+3579
-1
lines changed

8 files changed

+3579
-1
lines changed

crates/codeprism-mcp/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ regex = "1.0"
2828
# Random number generation for session IDs
2929
rand = "0.8"
3030

31+
# System information
32+
num_cpus = "1.16"
33+
3134
# Stdio transport
3235
tokio-util = { version = "0.7", features = ["codec"] }
3336
futures = "0.3"

0 commit comments

Comments
 (0)