Consolidate MCP implementation with shared JSON-RPC classes
- Extract JsonRpcMessage classes to separate file for better code organization - Remove deprecated McpSessionManager (unused, replaced by Visit-based sessions) - Remove problematic ServiceBasedMcpServlet (async limitations, service invocation bugs) - Enhance EnhancedMcpServlet with configuration parameters and improved monitoring - Add broadcast success/failure counting and helper methods - Fix variable scope issue with requestBody in JSON-RPC handler - Consolidate to single, working MCP servlet implementation Working features: - Authentication with Basic auth - SSE connections with proper session management - JSON-RPC protocol (ping, initialize, tools/list) - Visit-based session persistence - Service delegation to McpServices.xml
Showing
4 changed files
with
116 additions
and
326 deletions
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment