Uno.DevServer
6.6.0-dev.910
Prefix Reserved
See the version list below for details.
{ "servers": { "Uno.DevServer": { "type": "stdio", "command": "dnx", "args": ["Uno.DevServer@6.6.0-dev.910", "--yes", "--", "mcp", "serve"] } } }
.vscode/mcp.json settings file.
dotnet tool install --global Uno.DevServer --version 6.6.0-dev.910
dotnet new tool-manifest
dotnet tool install --local Uno.DevServer --version 6.6.0-dev.910
#tool dotnet:?package=Uno.DevServer&version=6.6.0-dev.910&prerelease
nuke :add-package Uno.DevServer --version 6.6.0-dev.910
Uno Platform DevServer CLI
The Uno DevServer CLI (uno-devserver) manages the local development server for Uno Platform projects. It handles DevServer lifecycle, IDE channel communication, add-in discovery, and exposes an MCP (Model Context Protocol) interface for AI-powered development tools.
Installation
The CLI is distributed as a .NET tool and is typically invoked via dotnet dnx:
dotnet dnx -y uno.devserver <command>
Commands
| Command | Description |
|---|---|
start |
Start or reuse a DevServer for the current solution |
stop |
Stop all running DevServer instances |
list |
Display running DevServer instances with process ancestry |
cleanup |
Remove stale DevServer registrations |
disco |
Discover environment details (SDK, packages, active servers) |
health |
Report DevServer health for the current workspace |
login |
Open Uno Platform settings |
mcp serve |
Start the MCP STDIO proxy for AI tool integration |
mcp status |
Report MCP server registration state across IDE clients |
mcp install |
Register MCP servers in IDE client config files |
mcp uninstall |
Remove MCP server registrations |
How it works
The DevServer is a lightweight local HTTP server that provides bidirectional communication between the IDE and your running Uno Platform application:
- IDE opens a solution — the DevServer reserves a TCP port and writes it to
.csproj.user - App is built in Debug — connection details are embedded in the build output
- App launches — it connects back to the DevServer via WebSocket
- Development features activate — Hot Reload, XAML updates, and design-time tools start working
IDE channel
The IDE channel is a named pipe (\\.\pipe\{guid}) providing a direct JSON-RPC link between the IDE extension and the DevServer Host. It carries:
- Development environment status notifications
- Hot Reload coordination messages
- Application launch tracking
When a DevServer is already running (e.g. started by MCP), the CLI reuses it and rebinds the IDE channel without restarting the Host process.
MCP integration
The CLI exposes an MCP server (mcp serve) that AI coding assistants (Claude, Codex, Copilot, Cursor, etc.) can connect to. This enables AI tools to inspect your app, query diagnostics, and interact with the DevServer programmatically.
Diagnostics
Use disco for a full environment diagnostic:
dotnet dnx -y uno.devserver disco
This shows: SDK version, DevServer package version, Host path, .NET version, resolved add-ins, and active server instances with their process ancestry chain.
Use health for a quick status check:
dotnet dnx -y uno.devserver health
Security
The DevServer binds to local ports only and is intended for local development. Do not expose it to untrusted networks.
Documentation
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 6.6.0-dev.943 | 0 | 4/4/2026 |
| 6.6.0-dev.942 | 31 | 4/3/2026 |
| 6.6.0-dev.939 | 46 | 4/3/2026 |
| 6.6.0-dev.938 | 35 | 4/3/2026 |
| 6.6.0-dev.935 | 45 | 4/3/2026 |
| 6.6.0-dev.934 | 53 | 4/2/2026 |
| 6.6.0-dev.931 | 52 | 4/1/2026 |
| 6.6.0-dev.930 | 35 | 4/1/2026 |
| 6.6.0-dev.929 | 36 | 4/1/2026 |
| 6.6.0-dev.928 | 37 | 4/1/2026 |
| 6.6.0-dev.927 | 31 | 4/1/2026 |
| 6.6.0-dev.926 | 26 | 4/1/2026 |
| 6.6.0-dev.925 | 42 | 3/31/2026 |
| 6.6.0-dev.922 | 64 | 3/30/2026 |
| 6.6.0-dev.921 | 49 | 3/30/2026 |
| 6.6.0-dev.920 | 48 | 3/30/2026 |
| 6.6.0-dev.912 | 56 | 3/30/2026 |
| 6.6.0-dev.910 | 154 | 3/28/2026 |
| 6.6.0-dev.908 | 62 | 3/26/2026 |
| 6.5.153 | 4,729 | 2/10/2026 |