Fix MCP shell session header and add timeout protection
- Fix session header variable expansion in make_mcp_request - Add MAIN_SCRIPT check to prevent main logic when sourcing - Add timeout protection around curl and jq commands - Add debug output for troubleshooting hanging issues The MCP shell now properly handles session IDs and has timeout protection to prevent hanging on long responses. Screen execution service is working but response processing needs optimization for large JSON responses.
Showing
1 changed file
with
36 additions
and
45 deletions
-
Please register or sign in to post a comment