Creating an app with Cursor

  1. 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 .
    
  2. In Cursor, open the project that was just created (e.g., MyApp).

  3. 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.

    dnx -y uno.devserver login
    
  4. Register the Uno Platform MCPs. For Cursor, you can either:

    • Use dnx -y uno.devserver mcp install cursor, which writes the supported MCP registration for you
    • Or create .cursor/mcp.json manually if you prefer direct file editing

    Example using the Dev Server CLI:

    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": "dnx",
              "args": ["-y","uno.devserver","--mcp-app"]
          }
      }
    }
    

    You can verify the registration state at any time:

    dnx -y uno.devserver mcp status cursor
    

    To remove the Uno MCP entries from Cursor's config:

    dnx -y uno.devserver mcp uninstall cursor
    

    See The Uno Platform MCPs for additional details about MCP registration and diagnostics.

Next Steps

You can start developing with Cursor.