feat(extensions): support OpenCode MCP configuration sources#1622
Merged
Conversation
limityan
marked this pull request as ready for review
July 19, 2026 02:30
limityan
force-pushed
the
yanzhn/opencode-mcp-source-pr6
branch
2 times, most recently
from
July 19, 2026 03:17
0b87b5f to
9194a32
Compare
Add workspace-scoped lifecycle, approval and conflict UX, and fail-closed host boundaries for local stdio and HTTPS MCP sources.
limityan
force-pushed
the
yanzhn/opencode-mcp-source-pr6
branch
from
July 19, 2026 03:26
9194a32 to
d459178
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.
Summary
/mcpsflow without adding product-specific slash commands or requiring a BitFun restart.Architecture and boundaries
Core-boundary rules cover the new contracts and prevent OpenCode parsing or concrete MCP runtime ownership from leaking into the wrong layer.
Product behavior
/mcpsentry, labels native and external sources in one list, preserves selection by stable ID, and supports scrollable approval on 40x20 terminals with Unicode-width-aware wrapping.Security, reliability, and performance
Explicitly deferred
These remain unsupported or fail closed rather than being partially executed.
Validation
cargo check --workspacemcpfeature: 38 testspnpm run type-check:webpnpm run i18n:contract:test(37 tests)pnpm run i18n:audit(0 warnings)pnpm run check:repo-hygienegit diff --checkThe Rust build still reports existing MCP dependency deprecation warnings and existing CLI dead-code warnings; no new warning category was introduced by this change.