Skip to content

Store MCP names with the saved connection (0.4.18) - #21

Merged
MainSequenceDev merged 1 commit into
mainfrom
claude/mcp-stored-names
Oct 21, 2026
Merged

MainSequenceDev merged 1 commit into
mainfrom
claude/mcp-stored-names

Conversation

@MainSequenceDev

Copy link
Copy Markdown
Contributor

Why

A saved MCP connection held only its release UID and endpoint, because the release detail read when connecting carries neither a name nor a repository. Every listing therefore asked the backend twice (release directory, then repository branch) to label it, and a backend restarting during a refresh showed Unnamed MCP. 0.4.17 only remembered the last name.

What changes

  • Bundles devtools 0.3.1 (Release 0.3.1: store MCP names in saved connections mainsequence-devtools#15): mcp-add resolves the release's name and its repository's name once and stores them with the connection as name, display_name and code_repository_branch_uid; mcp-list returns them without a backend request and completes a record saved by an earlier version on the first listing that can read it.
  • src/hosts/claudeMcpNames.ts labels discovery rows only, from the code_repository_branch_uid each row now carries; listings are left as devtools returns them.
  • tests/claude-mcp.test.cjs covers stored names, listing without a backend request, the one-time completion of an old record, and denied directory or branch reads.
  • Release notes docs/releases/0.4.18.md; README, guide and verification updated.

Verification

npm run release:check with devtools 0.3.1 installed from the registry: 97 Node tests, docs, packaging and distribution checks, loader validation on Desktop's bundled Code 2.1.304; npm run verify:claude passes.

Live, against the local backend with the saved CRM connection as 0.4.17 left it (no name in the file): the first mcp-list completed the record (crm · MainSequenceCRMAPI, 5.6 s) and wrote it to mcp-connections.json; the second listed from the file in 46 ms with no backend request; mcp-tools and mcp-discover carried the same labels.

🤖 Generated with Claude Code

A saved MCP connection held only its release UID and endpoint, so every
listing asked the backend twice to label it and a backend restart during a
refresh showed "Unnamed MCP"; 0.4.17 only remembered the last name.

- Bundle devtools 0.3.1, which resolves the release's name and its
  repository's name when an MCP is connected, stores them with the
  connection as name, display_name and code_repository_branch_uid, lists
  them without a backend request, and completes a record saved by an
  earlier version on the first listing that can read it
- The worker's name adapter labels discovery rows only, from the
  code_repository_branch_uid each row now carries, and leaves listings alone
- The packaged-worker MCP test covers stored names, listing without a
  backend request, the one-time completion of an old record and denied
  directory or branch reads
- Release notes, README, guide and verification record the live check:
  the saved CRM connection was completed by the first listing (5.6 s) and
  listed from the file afterwards (46 ms, no backend request)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@MainSequenceDev
MainSequenceDev merged commit 27314db into main Oct 21, 2026
4 checks passed
@MainSequenceDev
MainSequenceDev deleted the claude/mcp-stored-names branch October 21, 2026 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant