Repository navigation
fix(installer): automate custom MCP providers and keyed headers - #92
Draft
LinoyBitan1 wants to merge 2 commits into
Draft
LinoyBitan1 wants to merge 2 commits into
LinoyBitan1 wants to merge 2 commits into
Conversation
LinoyBitan1
marked this pull request as ready for review
October 12, 2026 12:58
LinoyBitan1
marked this pull request as draft
October 12, 2026 14:15
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
Allow a SAW-BOM to configure custom MCP providers automatically, so a sandbox can use a named in-cluster MCP Service through Option A without manual provider creation and attachment. Support both no-key and API-key authentication.
JIRA: APPENG-6573
Changes
credentialFree: trueorcredentialEnvwithcredentialSecret. Validate them against the gateway's live profile catalog, skip transient missing profiles without pruning, and keep MCP/search providers separate from inference providers.${VAR}header strings literally. Store only placeholders inside the sandbox; the real key stays with OpenShell. Native entries override same-name bundle defaults; retainmcp.jsonfor the bundle'smcpServerscapability.403 policy_denied.Validation
git diff --checkpassed.Separate gateway lifecycle follow-up
The first agent call after the live update timed out because OpenClaw's gateway restart encountered
StateDatabaseCoordinatorContentionError: another OpenClaw process owns gateway-lifecycle. The installer reported Done while the gateway was unavailable. Fresh-install validation passed; post-update agent validation failed.The restart function is unchanged from this PR's base commit
fc385020014e51f1341b49a6bfe3819c3e09d246(Python AST comparison). This pre-existing gateway lifecycle and success-reporting defect is tracked separately in #94 and does not block the custom MCP changes in this PR.