-
Notifications
You must be signed in to change notification settings - Fork 928
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ThomasK33
wants to merge
1
commit into
thomask33/07-01-feat_oauth2_replace_dev_flag_with_oauth2_experiment_for_controlled_rollout
Choose a base branch
from
thomask33/07-02-feat_mcp_add_experiment_control_for_mcp_server_http_endpoints
base: thomask33/07-01-feat_oauth2_replace_dev_flag_with_oauth2_experiment_for_controlled_rollout
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
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 referenced Jul 2, 2025
610c661
to
eff63b0
Compare
3b81925
to
7c1857a
Compare
f181adb
to
be45ca1
Compare
2406fe7
to
10bed55
Compare
27e77d8
to
4eab4be
Compare
10bed55
to
91acaec
Compare
johnstcn
reviewed
Jul 2, 2025
johnstcn
reviewed
Jul 2, 2025
johnstcn
approved these changes
Jul 2, 2025
4eab4be
to
d64fbf9
Compare
91acaec
to
46dec9a
Compare
d64fbf9
to
6af7251
Compare
46dec9a
to
eb2ed15
Compare
6af7251
to
a9f1767
Compare
eb2ed15
to
13103fd
Compare
a9f1767
to
db01ace
Compare
13103fd
to
76e5caf
Compare
db01ace
to
84da6b4
Compare
76e5caf
to
9d10302
Compare
84da6b4
to
bce9b62
Compare
9d10302
to
ffbe385
Compare
bce9b62
to
317120d
Compare
ffbe385
to
b4ecd2d
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 pattern Change-Id: Ia5b3d0615f4a5a45e5a233b1ea92e8bdc0a5f17e Signed-off-by: Thomas Kosiewski <[email protected]>
317120d
to
420f6df
Compare
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 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.