Repository navigation
Refactor tutorial MCP integration to ContextForge and Keycloak - #256
Merged
MisterVVP merged 21 commits intoSep 29, 2026
Conversation
added 13 commits
September 28, 2026 14:07
… so compose runs on windows without problems as well
MisterVVP
marked this pull request as ready for review
September 29, 2026 14:03
MisterVVP
merged commit Sep 29, 2026
fd3d5e5
into
dev-extend-production-tutorials-with-mcp-integration
MisterVVP
deleted the
dev-refactor-pr-#255-for-contextforge-keycloak-integration
branch
September 29, 2026 14:03
MisterVVP
added a commit
that referenced
this pull request
Sep 29, 2026
…256) - Replace the tutorial-only custom MCP fixture with a realistic third-party MCP/OAuth setup. - Keep the production tutorials deterministic and CI-friendly while showing a clearer separation between A2A agent communication and MCP resource access. - Make the local and Docker Compose tutorial workflows easy to discover and run. - Refactored Customer Support Copilot to use ContextForge `v1.0.10` for MCP resources and Keycloak `26.7.4` for OAuth. - Added a short-lived `client_credentials` flow for the `mcp-agent` client, verified HTTPS with an ephemeral local CA, and a least-privilege ContextForge service principal with `servers.use` and `resources.read`. - Added ContextForge bootstrap automation that configures Keycloak trust, registers the deterministic ticket resource, creates the virtual MCP server, requests the access token, and writes the runtime MCP environment for the specialist. - Simplified the shared C++ MCP client to a stateless MCP `2025-11-25` `resources/read` request with bearer authentication, bounded timeouts, response validation, and no token logging. - Added Docker Compose coverage for the authenticated Customer Support flow, including an unauthenticated rejection check and an authenticated MCP preflight before the A2A agents start. - Restored Job Application Assistant to its file-based A2A-only flow and removed the old custom MCP server fixture. - Kept host-native tutorial smoke deterministic through `scripts/run_tutorials.sh`. - Refactored the root and tutorial READMEs so the supported local and Docker Compose entry points are short, explicit, and consistent. - Updated MCP client unit tests for the stateless request/response behavior and error handling. --------- Co-authored-by: Vladimir Pavlov <[email protected]>
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.
Motivation
Changes
v1.0.10for MCP resources and Keycloak26.7.4for OAuth.client_credentialsflow for themcp-agentclient, verified HTTPS with an ephemeral local CA, and a least-privilege ContextForge service principal withservers.useandresources.read.2025-11-25resources/readrequest with bearer authentication, bounded timeouts, response validation, and no token logging.scripts/run_tutorials.sh.