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:

    dnx -y uno.devserver login
    

    The Uno Studio app will allow you to sign in or create an account and get access the Uno App MCP.

  4. Create a file named .cursor/mcp.json and place the following content:

    {
      "mcpServers": {
          "uno": {
              "url": "https://mcp.platform.uno/v1"
          },
          "uno-app": {
              "command": "dnx",
              "args": ["-y","uno.devserver","--mcp-app"]
          }
      }
    }
    

Next Steps

You can start developing with Cursor.