Repository navigation
Conversation
MCP 2026-07-28 makes ttlMs and cacheScope required on list-shaped results. rmcp decodes a discover reply strictly, so a missing pair falls through to another result variant and the modern handshake fails with 'expect initialized result'. Report a private, non-cacheable catalog instead: the tool set depends on the session's --features and conversation scope.
…CP servers Both plugin wire servers answered discover and tools/list with the legacy shape, so a modern client rejected the whole catalog. A build ships the bundled dist alongside the runtime source.
…rver name DeepSeek Harness mounts the session/new list through its ACP adapter, so excluding it from delivery only removed the tools. Its companion stays on disk for the agent's own runs, and the Host injects the same servers per session. Sources can name one server twice, and adapters reject a repeated name, so the merged list keeps the first occurrence.
…an plugin projections Only Cline never mounts session MCP, so only Cline needs a config-file companion; every other Agent gets it per session, where --conversation-id exists. The disabled/uninstalled reconcile had no caller, and it could only see servers still in the local store, so a projection left behind by an uninstalled Plugin survived forever. Wire it into plugin startup and sweep projections whose runtime paths are gone.
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
Three independent gaps kept every modern MCP client from mounting the product companion. All three are the SEP-2549 cache hints that MCP
2026-07-28makes required; the fourth change is a delivery rule that only ever worked for clients Dimo does not launch.Why each gap mattered:
server/discover— rmcp decodes the reply asDiscoverResult, whosettl_msandcache_scopeare non-optional. Without them serde falls through to another result variant and the handshake fails withexpect initialized result, but received: Some(CallToolResult(...)).tools/list—dsh-mcp-clientvalidates the same pair; becausedeepseek-acpsetsfailOnStartupError: truefor client-supplied servers, a rejected catalog failed the wholesession/new.session/newlist, so excluding it only removed the tools. The Host keeps~/.dsh/mcp.jsonfor the adapter's own runs and now injects the same servers per session.--conversation-id, so a globally projected companion competed with the per-session entry of the same name and left Codex without a ready client for threads Dimo did not launch.reconcile_disabled_and_uninstalled_plugin_projectionshad no caller, and it could only see servers still present in the local store, so a projection left behind by an uninstalled Plugin survived forever and broke any Agent that read that config.Evidence
codex app-server+thread/startwith the exact config Dimo injects:mcpServer/startupStatus/updated→status: "failed",handshaking with MCP server failed: expect initialized result, but received: Some(CallToolResult(...)).After:
Dimo-superagent-mcp: starting → ready,dimo-browser-browser-tools: starting → ready.DSH via a real
deepseek-acp@0.13.0handshake:mcp-client(a1_Dimo-superagent-mcp): initial connection or tool synchronization failed,session/newfailed.After:
session/newreturns a session id; the adapter logsmounted 2 local MCP server(s)with nomcp-clienterror.Tests:
cargo test -p dimo-mcp --bin dimo-mcp→ 56 passedcargo test -p server --lib spec_runtime_paths→ 2 passedcargo test -p agents(mcp_wire,agents_that_skip_session_mcp) → passedcargo check -p server→ clean;node scripts/check-arch-invariants.mjs→ 0 violationspnpm run electron:package→ installer builds against the patched binariesMerge Danger
Door: two-way — every change is protocol emission or projection scope, and each reverts independently.
Blast Radius: MCP tool availability for every Agent session. The projection change also stops writing
Dimo-superagent-mcpinto Agent config files for CLIs Dimo does not launch (Claude Code, Cursor, Antigravity, Codex, DSH); those CLIs lose the companion outside Dimo, where it could never carry a conversation identity. The orphan sweep only removes entries that carry a Dimo Plugin marker and whose absolute runtime paths no longer exist, so user-configured servers are untouched.