Repository navigation
Conversation
jhrozek
force-pushed
the
design/mcp-broker-service
branch
from
October 5, 2026 12:10
18e7e29 to
672916d
Compare
Design for moving the MCP broker (ToolHive plus mecatl's session wrapper) out of mecak8s agent pods into a separate singleton mecabroker service. It explains the two problems this solves: upstream OAuth tokens reachable from agent pods and the session-store Redis, and broker state pinning the whole agent fleet to one replica. It then describes who authenticates to whom, the four bindings that connect a tool call to its state (deployment, session, call, user), restart behaviour with encrypted retained tokens, owners and grant holders, what the change protects against, alternatives, and costs. A separate future-iterations section covers per-call user checks through RFC 8693 delegated tokens, grants for schedules and long runs, broker-side user login, agent-definition identity, external vMCP, and a shell in mecak8s. Co-Authored-By: mecatl <noreply@mecatl.dev> docs(design): simplify broker session and enrollment ownership Define opaque session references, broker-owned credential lifecycle, restart recovery boundaries, all-or-nothing enrollment, and enrollment-wide disconnect semantics. Co-Authored-By: mecatl <noreply@mecatl.dev>
jhrozek
force-pushed
the
design/mcp-broker-service
branch
from
October 5, 2026 14:48
672916d to
1a85af2
Compare
Contributor
Author
|
This was superseded by PR #2121 |
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.
Summary
docs/design/mcp-broker-service.md, for moving the MCP broker (ToolHive plus mecatl's session wrapper) out of mecak8s agent pods into a separate singletonmecabrokerservice.Recreaterollout.docs/design/README.md.Development stage
Contract linkage
Interface conformance
Issue relationship
None.
Type of change
Test plan
Baseline checks
matlatl check . --strict: 0 broken links, 0 orphans) andgo test ./docs/lint/(citation and ADR checks) pass.Runtime gates (
task lint,task test, demo) are not applicable to a docs-only change.User-facing change
None.
Special notes for reviewers