Repository navigation
feat(mcp): add scoped chat discovery and mention capsules - #2989
Merged
Merged
Conversation
kev1n77
force-pushed
the
fmy/compatibility
branch
2 times, most recently
from
September 12, 2026 14:37
8481898 to
c191593
Compare
Expose a mode- and workspace-scoped MCP catalog through desktop and negotiated peer capabilities. Add server mentions to the chat picker, preserve capsule rendering in input and sent messages, and constrain the picker width.
kev1n77
force-pushed
the
fmy/compatibility
branch
from
September 13, 2026 01:19
c191593 to
6044d39
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
@picker, with the entry hidden in Minimal mode.Type and Areas
Type: Feature, bug fix, UI/UX
Areas: Rust core, desktop/Tauri, CLI peer host, web UI, remote capability contracts, localization
Motivation / Impact
Users can discover and mention available MCP servers directly from chat. The picker shows server-level entries, and selected references display readable server names while retaining their underlying identifiers.
MCP capsules remain consistent after sending messages or reopening history. Long picker entries no longer stretch the popup across the viewport.
Verification
Checks completed during implementation; not rerun when preparing this PR description:
cargo test --locked -p openbitfun-core --no-default-features --features mcp-runtime,git --lib agentic::tools::product_runtime::— 28 passed.cargo test --locked -p openbitfun-cli --bin openbitfun peer_host::commands::tests— 2 passed.cargo test --locked -p openbitfun-product-domains --no-default-features remote_surface— 19 passed.cargo check --locked -p openbitfun-desktop— passed.pnpm run check:web— passed.pnpm run icons:check— passed.pnpm run capabilities:check— passed.git diff --cached --check— passed before commit.Limitations:
0xc0000139).Reviewer Notes
Catalog policy lives in the shared core and is exposed through thin desktop and CLI adapters.
Peer access uses capability negotiation; older peers receive an explicit unsupported state. Remote workspace discovery is explicitly unsupported.
MCP references retain the existing text representation. Capsule rendering does not introduce a persisted schema change or require migration, and historical text references remain readable.
Checklist