Repository navigation
Description
What would you like to be added? 💡
uno.devserver mcp status should recognize UnoApp/UnoDocs servers that come from an installed agent plugin, such as uno-platform-studio (unoplatform/studio#177). mcp install should behave accordingly.
Today, for claude-code, ConfigScanner only reads the profile's configPaths: {workspace}/.mcp.json and {home}/.claude.json. It doesn't see servers declared in a plugin's .mcp.json. This leads to two problems:
mcp statusreportsmissingfor a user who has the servers only through the plugin.mcp install claude-code, or the IDE extensions that call it, writes a project-scope entry that duplicates what the plugin already provides.
This doesn't create duplicate tools at runtime: Claude Code treats a project-scope entry with the same endpoint as taking precedence over the plugin's (docs). It does make status wrong and leaves a redundant entry.
Possible approach:
- Add an optional plugin source to the client profile in
ide-profiles.json. For Claude Code, the installed plugins and theirinstallPathare listed in~/.claude/plugins/installed_plugins.json. Read each plugin's.mcp.json, ormcpServersin its.claude-plugin/plugin.json. - Match entries with the existing
DuplicateDetectorcommand/URL patterns. - Report matches with a distinct source, e.g.
registered (plugin: uno-platform-studio), in both the human-readable and--jsonoutput. - Have
installskip servers already provided by a plugin, unless the user explicitly forces it, or unless they need a variant the plugin doesn't provide (prerelease or pinned). - Look into the same for
copilot-cli,copilot-vscodeandcodex-cliif their plugin formats can bundle MCP servers.
Why is this needed? 🤔
The studio plugin is about to become an optional way to install both Uno MCPs, alongside mcp install, the IDE extensions and the manual docs steps. Spec 002 makes mcp status the "scanner of record" for Uno MCP registrations. To keep that true, and to avoid redundant entries, it needs to see registrations that come from a plugin.
For which platforms 📱💻🖥️
Build tasks (DevServer CLI)
Anything else we need to know? 💬
- Code:
src/Uno.UI.DevServer.Cli/Mcp/Setup/(ConfigScanner,DuplicateDetector,ide-profiles.json,McpSetupOrchestrator). - Spec:
specs/002-mcp-setup/spec.mdshould be updated to describe plugin-provided registrations. - Related: Bundle the Uno MCP and App MCP in the uno-platform-studio plugin studio#177.
Activity