Expand description
§CodePrism MCP Server
A Model Context Protocol (MCP) compliant server that provides access to code repositories through standardized Resources, Tools, and Prompts.
This implementation follows the MCP specification for JSON-RPC 2.0 communication over stdio transport, enabling integration with MCP clients like Claude Desktop, Cursor, and other AI applications.
Re-exports§
pub use error_handler::McpError;
pub use error_handler::McpErrorHandler;
pub use error_handler::McpResult;
pub use protocol::InitializeParams;
pub use protocol::InitializeResult;
pub use protocol::JsonRpcNotification;
pub use protocol::JsonRpcRequest;
pub use protocol::JsonRpcResponse;
pub use protocol::ServerCapabilities;
pub use server::McpServer;
pub use transport::StdioTransport;
pub use transport::Transport;
pub use config::CachingConfig;
pub use config::ConfigProfileManager;
pub use config::McpConfigProfile;
pub use config::MonitoringConfig;
pub use config::SecurityConfig;
pub use monitoring::MonitoringMiddleware;
pub use monitoring::PerformanceMonitor;
pub use monitoring::PerformanceSummary;
pub use tools::dynamic_enablement::DynamicToolManager;
pub use tools::dynamic_enablement::RepositoryAnalysis;
pub use validation::StartupReport;
pub use validation::SystemValidator;
pub use validation::ValidationResult;
Modules§
- config
- Advanced MCP Configuration System (Phase 2.2)
- context
- Context management for MCP tools
- error_
handler - Comprehensive error handling for the MCP server
- monitoring
- Performance Monitoring System (Phase 2.2)
- prompts
- MCP Prompts implementation
- protocol
- MCP Protocol types and JSON-RPC 2.0 implementation
- resources
- MCP Resources implementation
- server
- MCP Server implementation
- tools
- MCP Tools modular implementation
- tools_
legacy - MCP Tools implementation - Now using modular architecture
- transport
- MCP Transport layer implementation
- validation
- Configuration Validation & Health Check System (Phase 2.2)
Macros§
- mcp_
tool_ error - mcp_try
- Helper macros for error handling
Structs§
- Code
Prism McpServer - MCP Server implementation that integrates with CodePrism Phase 2.5 components