Implement unified MCP screen with JSON-RPC and SSE support
- Add unified screen at screen/webroot/mcp.xml handling both JSON-RPC and Server-Sent Events - Implement content-type negotiation to prioritize application/json over text/event-stream - Add comprehensive session management with MCP session ID generation and validation - Fix security configuration with AT_XML_SCREEN_TRANS enum for screen transitions - Update AGENTS.md with production-ready status and complete implementation documentation - Remove redundant REST endpoints and consolidate to single screen approach - Add SSE helper functions for proper event-stream formatting - Verify all MCP protocol methods working with both response formats The unified screen architecture provides: - Single endpoint (/mcp/rpc) for all MCP protocol variations - Automatic response format selection based on Accept header - Full MCP 2025-06-18 specification compliance - Complete Moqui security framework integration - Production-ready implementation tested with opencode client
Showing
7 changed files
with
11 additions
and
231 deletions
This diff is collapsed.
Click to expand it.
screen-hold/webapp.xml
deleted
100644 → 0
screen/webroot/mcp.xml
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment