devserver
Installation
SKILL.md
DevServer (CLI / Host / MCP)
Maintain and extend the Uno DevServer: the CLI tool, the Host process, MCP proxy integration, and add-in discovery. The DevServer projects are independent of the UI framework and do not require crosstargeting_override.props.
1. Architecture — a 2-process chain
- CLI (
Uno.UI.DevServer.Cli) – entry point, user-facing commands, MCP STDIO proxy, start-lifecycle management. - Host (
Uno.UI.RemoteControl.Host) – ASP.NET Core server for Hot Reload, IDE channel, processors.
The CLI start command handles existing-server detection (AmbientRegistry), IDE channel rebinding, port allocation, and launches the Host in direct mode (no --command), so all arguments (including --ideChannel) reach the Host via IConfiguration regardless of Host binary version. Non-start commands (stop, list, cleanup) use the Host's controller mode (--command=<verb>). The CLI can also run in MCP mode (--mcp-app) as a Model Context Protocol proxy between AI agents and the running Host.
Packages
| NuGet Package | Contents |
|---|---|
Uno.DevServer |
CLI tool (installed via dotnet tool) |
Uno.WinUI.DevServer |
Host binaries, processors, BuildTransitive targets |