feat(mcp): add the blueprint_apply tool - #1502
Open
GirlBossRush wants to merge 2 commits into
Open
GirlBossRush wants to merge 2 commits into
GirlBossRush wants to merge 2 commits into
Conversation
GirlBossRush
added this pull request to stack #1501
September 11, 2026 22:58
Contributor
|
🚀 Deployed on https://pr-1502--authentik-pkg.netlify.app |
BeryJu
force-pushed
the
mcp/blueprint-apply
branch
from
September 15, 2026 23:38
18fafc5 to
d7b51eb
Compare
Validate a proposed Blueprint locally, then apply it on the server via the Agent connector's apply_blueprint endpoint, which applies as a bounded least-privilege identity (never as the operator). If the device isn't set up, the tool returns guidance to run `ak config setup` rather than failing opaquely — progressive setup, no separate step required to install the server. The endpoints API is not in the typed Rust client, so the connector lookup and apply are raw authenticated requests using the operator's agent token.
BeryJu
force-pushed
the
mcp/blueprint-apply
branch
from
September 16, 2026 00:25
d7b51eb to
05c4a8e
Compare
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.
This PR adds blueprint_apply MCP tool which:
ak config setupwhen the device isn't connected.Depends on the authentik Agent apply endpoint. See goauthentik/authentik#26072