- Notifications
You must be signed in to change notification settings - Fork1k
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
toeff63b0
Compare3b81925
to7c1857a
Comparef181adb
tobe45ca1
Compare2406fe7
to10bed55
Compare27e77d8
to4eab4be
Compare10bed55
to91acaec
CompareUh 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
tod64fbf9
Compare91acaec
to46dec9a
Compared64fbf9
to6af7251
Comparedb01ace
to84da6b4
Compare76e5caf
to9d10302
Compare84da6b4
tobce9b62
Compare9d10302
toffbe385
Comparebce9b62
to317120d
Compareffbe385
tob4ecd2d
Compare420f6df
to665993d
Compareb4ecd2d
to377a7e8
Compare This was referencedJul 3, 2025
377a7e8
tob20b977
Compare665993d
to5d752e3
Compareb20b977
to15df5c5
Compare5d752e3
toe8b598e
Compare15df5c5
to5a4fab9
Comparee8b598e
tod7cac75
Comparecd0cf55
to9045b65
Compared7cac75
tocb75f3a
Comparecb75f3a
tof62413e
Compare- 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
to9965337
Compare7fbb3ce
intomain 56 of 60 checks passed
Uh oh!
There was an error while loading.Please reload this page.
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-http
to enable the MCP HTTP server functionality. The changes include:ExperimentMCPServerHTTP
with the value "mcp-server-http"The PR also improves the
Enabled()
method on theExperiments
type by usingslices.Contains()
for better readability.