doc/articles/create-an-app-ai-cursor.md
Create a new project using the Uno Platform Live Wizard, or dotnet new command and change -o MyApp to be -n MyApp -o ..
This will create the solution the folder you've already created in vscode. For example:
dotnet new unoapp --tfm net10.0 -n MyApp -o .
In Cursor, open the project that was just created (e.g., MyApp).
Open a terminal in the project folder and run the following command, which will launch the Uno Studio app that will allow you to sign in or create an account and get access to the Uno App MCP.
dotnet dnx -y uno.devserver login
Register the Uno Platform MCPs. For Cursor, you can either:
dotnet dnx -y uno.devserver mcp install cursor, which writes the supported MCP registration for you.cursor/mcp.json manually if you prefer direct file editingExample using the Dev Server CLI:
dotnet dnx -y uno.devserver mcp install cursor
[!IMPORTANT] After running
mcp install, open Cursor's Settings > Tools & MCP and verify that the UnoApp and UnoDocs servers are enabled (toggle on). Cursor does not automatically enable newly registered MCP servers.
Manual configuration example:
{
"mcpServers": {
"uno": {
"url": "https://mcp.platform.uno/v1"
},
"uno-app": {
"command": "dotnet",
"args": ["dnx","-y","uno.devserver","--mcp-app"]
}
}
}
You can verify the registration state at any time:
dotnet dnx -y uno.devserver mcp status cursor
To remove the Uno MCP entries from Cursor's config:
dotnet dnx -y uno.devserver mcp uninstall cursor
See The Uno Platform MCPs for additional details about MCP registration and diagnostics.
You can start developing with Cursor.