Skip to content
Cursor

Netwright for Cursor

io.github.ricfanin/netwright

Playwright-style automation of .NET desktop apps (WPF, WinForms, WinUI) for AI agents.

client:Cursor transport:stdio runtime:nuget

Install Netwright in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "netwright": {
      "type": "stdio",
      "command": "dnx",
      "args": [
        "Netwright",
        "--yes"
      ],
      "env": {
        "NETWRIGHT_ALLOW": "<NETWRIGHT_ALLOW>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

Netwright in other clients