ShardX Launcher should auto-refresh profiles created via MCP/API
Description
Hi ProxyShard team,
I noticed a UX issue when managing ShardX profiles through the MCP server / local API.
When a new profile is created via MCP, the profile is created successfully and can be used by automation, but the ShardX Launcher desktop UI does not automatically refresh to show the new profile. The only reliable way I found to make the profile appear in the Launcher is to fully exit the ShardX Launcher app and open it again.
This also seems likely to affect profile updates/deletes made from MCP/API, because the Launcher UI appears to keep a stale profile list until restart.
Steps to Reproduce
- Open ShardX Launcher.
- Keep the Launcher UI visible on the profiles page.
- Use the ShardBrowser MCP server to create a new profile.
- Go back to the ShardX Launcher UI.
- The newly created profile is not visible.
- Exit the ShardX Launcher completely.
- Open ShardX Launcher again.
- The newly created profile now appears.
Actual Behavior
The profile is created through MCP/API, but the Launcher UI does not refresh automatically. The user has to restart the Launcher to see the new profile.
Expected Behavior
The Launcher UI should reflect profile changes made through MCP/API without requiring an app restart.
Ideally, the UI should refresh automatically when profiles are created, updated, or deleted from any entry point:
- Desktop UI
- Local HTTP API
- MCP server
- SDKs, if they use the same profile store
Suggested Improvements
A few possible approaches:
- Add a visible Refresh button in the profiles page.
- Add automatic polling / auto-refresh when the Launcher window is focused.
- Watch the profile storage/state file and update the UI when it changes.
- Emit an internal event from the local API/MCP profile mutation path so the desktop UI can reload the profile list.
- Optionally show a small toast like: "Profile list updated".
Why This Matters
ShardBrowser supports multiple entry points, and the README mentions that the Desktop UI, Local HTTP API, MCP server, and SDKs read from the same on-disk state. In practice, when MCP creates a profile but the Launcher UI does not refresh, it makes users think the profile creation failed.
This is especially confusing for users who manage profiles from AI assistants / MCP but still use the Launcher UI to inspect, organize, or manually launch profiles.
Environment
- OS: Windows
- ShardX Launcher: latest/current version
- MCP server: ShardBrowser MCP
- Local API port: 40325
- Action tested: create profile via MCP
Request
Could you please add a Refresh / Auto Refresh mechanism to the ShardX Launcher profile list when profiles are created, updated, or deleted through MCP/API?
Thanks for the great work on ShardBrowser.
FIxed in v0.1.10