Repository navigation
Let any Bot enable a remembered secret MCP server in its settings - #1614
Merged
Merged
Conversation
…file Agent-Task: claude-code/local/9f51f103-7177-4bd0-8fd7-81d1ce39b98f Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Issue: #1613 Agent-Task: claude-code/local/9f51f103-7177-4bd0-8fd7-81d1ce39b98f Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Issue: #1613 Agent-Task: claude-code/local/9f51f103-7177-4bd0-8fd7-81d1ce39b98f Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ot switch Issue: #1613 Agent-Task: claude-code/local/9f51f103-7177-4bd0-8fd7-81d1ce39b98f Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Issue: #1613 Agent-Task: claude-code/local/9f51f103-7177-4bd0-8fd7-81d1ce39b98f Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
DoodleBears
marked this pull request as ready for review
October 13, 2026 20:26
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.
Requested by Vain
Why the change
A remembered MCP server and its secret belonged to the one Bot that set it up. Another Bot needing the same integration had to be set up separately and the Human had to enter the secret again. The owner asked for a server set up once to be something any Bot can turn on in its settings.
Closes #1613
Special things to note
bot_secret_mcp_enabled). This is the first case where a private grant is used on behalf of a Bot other than the one it was given to. Revert by reverting this PR; the table stays and is ignored. Decision in ADR-0198. Review focus: thesharedFrompath inPrivateInputs.consume(credentials/private-inputs.ts), the reconnect, enable and admin code incredentials/mount.ts,credentials/secret-mcp-store.ts.secret_http,secret_clior a start of its own. Only the authenticated Owner can turn the switch; a Bot cannot.secret-mcp-store.test.tscovers enabling, disabling, listing per Bot and clean-up on removal;private-accounts-section.test.tscovers the owner row without a switch and another Bot turning the switch on.packages/core,packages/client,apps/docs,scripts/test: 3964 tests pass after a clean build.pnpm lint,pnpm format:check,pnpm typecheckpass. The shared consume path and the live connect have no unit test; the runtime runs below cover them.{"status":200}.{"status":200}with no start card.Change outline
Another Bot's settings before and after turning the switch on.
🤖 Generated with Claude Code