Skip to content

Cap MCP stdio session timeouts#81

Merged
lezama merged 1 commit into
mainfrom
fix/mcp-stdio-timeouts
Jun 3, 2026
Merged

Cap MCP stdio session timeouts#81
lezama merged 1 commit into
mainfrom
fix/mcp-stdio-timeouts

Conversation

@lezama

@lezama lezama commented Jun 3, 2026

Copy link
Copy Markdown
Owner

Adds a request-local deadline for stdio MCP sessions so initialize plus tools/list or tools/call cannot consume the full PHP max_execution_time and fatal before returning a WP_Error. Includes unit coverage for no-limit and bounded PHP execution cases. Tested with vendor/bin/phpunit tests/unit.

@lezama lezama merged commit 374c0a5 into main Jun 3, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant