- Notifications
You must be signed in to change notification settings - Fork1.1k
feat: add MCP HTTP server experiment and improve experiment middleware#18712
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
ThomasK33 merged 1 commit intomainfromthomask33/07-02-feat_mcp_add_experiment_control_for_mcp_server_http_endpointsJul 3, 2025
Merged
feat: add MCP HTTP server experiment and improve experiment middleware#18712
ThomasK33 merged 1 commit intomainfromthomask33/07-02-feat_mcp_add_experiment_control_for_mcp_server_http_endpointsJul 3, 2025
Uh oh!
There was an error while loading.Please reload this page.
Conversation
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
This was referencedJul 2, 2025
MemberAuthor
ThomasK33 commentedJul 2, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
610c661 toeff63b0Compare3b81925 to7c1857aComparef181adb tobe45ca1Compare2406fe7 to10bed55Compare27e77d8 to4eab4beCompare10bed55 to91acaecCompareUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
johnstcn approved these changesJul 2, 2025
4eab4be tod64fbf9Compare91acaec to46dec9aCompared64fbf9 to6af7251Comparedb01ace to84da6b4Compare76e5caf to9d10302Compare84da6b4 tobce9b62Compare9d10302 toffbe385Comparebce9b62 to317120dCompareffbe385 tob4ecd2dCompare420f6df to665993dCompareb4ecd2d to377a7e8Compare This was referencedJul 3, 2025
377a7e8 tob20b977Compare665993d to5d752e3Compareb20b977 to15df5c5Compare5d752e3 toe8b598eCompare15df5c5 to5a4fab9Comparee8b598e tod7cac75Comparecd0cf55 to9045b65Compared7cac75 tocb75f3aComparecb75f3a tof62413eCompare- Add ExperimentMCPServerHTTP constant for controlled rollout- Refactor OAuth2 middleware into generic experiment middleware- Make experiment middleware variadic to support multiple experiments- Apply experiment gating to /api/experimental/mcp/http routes- Maintain development mode bypass for testing flexibility- Remove OAuth2-specific middleware in favor of reusable patternChange-Id: Ia5b3d0615f4a5a45e5a233b1ea92e8bdc0a5f17eSigned-off-by: Thomas Kosiewski <tk@coder.com>
f62413e to9965337Compare7fbb3ce intomain 56 of 60 checks passed
Uh oh!
There was an error while loading.Please reload this page.
MemberAuthor
ThomasK33 commentedJul 3, 2025
Merge activity
|
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
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 MCP HTTP Server Experiment
This PR adds a new experiment flag
mcp-server-httpto enable the MCP HTTP server functionality. The changes include:ExperimentMCPServerHTTPwith the value "mcp-server-http"The PR also improves the
Enabled()method on theExperimentstype by usingslices.Contains()for better readability.