Skip to content

Disconnect an MCP server before renaming it - #140

Open
dajiaohuang wants to merge 1 commit into
Richasy:mainfrom
dajiaohuang:fix/issue-127-mcp-rename
Open

dajiaohuang wants to merge 1 commit into
Richasy:mainfrom
dajiaohuang:fix/issue-127-mcp-rename

Conversation

@dajiaohuang

@dajiaohuang dajiaohuang commented Oct 4, 2026 •

Copy link
Copy Markdown

Fixes #127

Description

Await disconnection using the existing server ID before changing its ID and saving the new configuration.

PR type

  • Bug fix

PR checklist

  • Application successfully launched
  • Source file headers added where required
  • No breaking changes

Validation

Correction: the earlier desktop build result did not validate this independent PR head. At c8b369b, OnPrimaryButtonClick contains await but lacks async; the isolated native-head build failed with CS4033 at both awaits. A local async-handler correction built successfully in the earlier reassessment, but is not pushed to this PR. App/rename interaction was not run. No tests or builds were rerun for this correction.

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.

[Bug] 重命名已连接的 MCP 服务器会遗留旧客户端

1 participant