feat: auto-configure Claude Desktop on first Smart Bridge run - #12
Merged
Conversation
- Add esbuild + zip step to release.yml that produces clashcontrol-mcp.mcpb - Upload .mcpb alongside platform binaries in GitHub Releases - Fix manifest.json entry_point to server/index.js (matches .mcpb internal layout) Now every merged PR automatically produces the .mcpb file — BIM managers download it from Releases and double-click to install. Zero manual steps for ClashControl, zero terminal for end users. Verified locally: esbuild bundles to 1.4MB, zips to 214KB .mcpb containing manifest.json + server/index.js. https://claude.ai/code/session_01XEvUykWcLc452uxGWPb1mb
When the Smart Bridge binary starts, it now automatically adds itself to Claude Desktop's claude_desktop_config.json if not already present. Points to the installed binary path with --mcp flag. This means the full setup flow is now: 1. User downloads and runs the Smart Bridge binary 2. Binary self-installs to a permanent location (existing) 3. Binary configures Claude Desktop automatically (NEW) 4. User restarts Claude Desktop — ClashControl tools appear No manual JSON editing, no terminal, no .mcpb download needed. Preserves any existing mcpServers entries in the config. https://claude.ai/code/session_01XEvUykWcLc452uxGWPb1mb
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.
No description provided.