Add response size protection to prevent MCP server crashes
- Add size checks and limits to screen rendering services - Implement graceful truncation for oversized responses - Add timeout protection for screen rendering operations - Enhanced error handling and logging for large responses - Prevent server crashes from large screen outputs This protects the MCP server from crashes when screens generate large amounts of data while maintaining functionality for normal use cases.
Showing
5 changed files
with
152 additions
and
69 deletions
-
Please register or sign in to post a comment