feat(ai-gateway): MCP Oauth2 token exchange how-to#4850
Open
tomek-labuk wants to merge 16 commits intomainfrom
Open
feat(ai-gateway): MCP Oauth2 token exchange how-to#4850tomek-labuk wants to merge 16 commits intomainfrom
tomek-labuk wants to merge 16 commits intomainfrom
Conversation
✅ Deploy Preview for kongdeveloper ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new MCP how-to demonstrating OAuth2 token exchange with the AI MCP OAuth2 plugin (Keycloak as IdP) and an upstream MCP server, including supporting prereq includes and entity example YAML.
Changes:
- Introduces a new how-to for configuring/validating MCP OAuth2 token exchange using Keycloak and a debug upstream MCP server.
- Adds Keycloak prereq include(s) and new Gateway entity examples (services/routes) to support the how-to’s decK examples.
- Adds a WeatherAPI prereq include (currently not referenced elsewhere).
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| app/_includes/prereqs/weatherapi.md | New prereq snippet for creating/exporting a WeatherAPI key (currently unused). |
| app/_includes/prereqs/auth/mcp-oauth2/keycloak-token-exchange.md | New Keycloak setup include for MCP OAuth2 token exchange (currently unused). |
| app/_includes/prereqs/auth/mcp-oauth2/keycloak-token-exchange-weather.md | Keycloak prereq include for an isolated token-exchange realm/clients used by the new MCP how-to. |
| app/_how-tos/mcp/configure-mcp-oauth2-token-exchange.md | New end-to-end how-to configuring AI MCP Proxy + AI MCP OAuth2 with token exchange and validation steps. |
| app/_data/entity_examples/gateway/services/mcp-token-exchange-service.yaml | Adds a service example for a non-isolated token exchange flow (currently unused). |
| app/_data/entity_examples/gateway/services/mcp-token-exchange-isolated-service.yaml | Adds the service example used by the new isolated token exchange how-to. |
| app/_data/entity_examples/gateway/routes/mcp-token-exchange.yaml | Adds a route example for a non-isolated token exchange flow (currently unused). |
| app/_data/entity_examples/gateway/routes/mcp-token-exchange-isolated.yaml | Adds the route example used by the new isolated token exchange how-to. |
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.
Description
Fixes #4840
Preview Links
Checklist
descriptionentry in frontmatter.