feat: add shared loopback HTTP transport - #53
Open
TheVillageGuy wants to merge 1 commit into
Open
Conversation
Add an opt-in Streamable HTTP host so multiple MCP clients can use one DecompilerServer process and singleton workspace instead of retaining one stdio child per client. Keep stdio as the compatibility default, restrict HTTP listeners to configurable loopback origins, and bound compatibility sessions to a ten-minute idle timeout and 64 sessions. Upgrade the MCP SDK to 2.2.0 with ASP.NET Core transport support, document Codex URL configuration and the runtime model, and cover launch parsing plus loopback validation. Validation: nine new launch tests pass; stdio initialize/tools-list smoke passes; two independent HTTP sessions share one PID; an idle HTTP server used 63.5 MiB and 0.125 CPU seconds over five seconds. The broader suite passes 195/201, with six unchanged Windows path-normalization assertions failing outside this change.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add an opt-in Streamable HTTP host so multiple MCP clients can use one DecompilerServer process and singleton workspace instead of retaining one stdio child per client.
Keep stdio as the compatibility default, restrict HTTP listeners to configurable loopback origins, and bound compatibility sessions to a ten-minute idle timeout and 64 sessions.
Upgrade the MCP SDK to 2.2.0 with ASP.NET Core transport support, document Codex URL configuration and the runtime model, and cover launch parsing plus loopback validation.
Validation: nine new launch tests pass; stdio initialize/tools-list smoke passes; two independent HTTP sessions share one PID; an idle HTTP server used 63.5 MiB and 0.125 CPU seconds over five seconds. The broader suite passes 195/201, with six unchanged Windows path-normalization assertions failing outside this change.