Netwright 2.0.0
{ "inputs": [ { "type": "promptString", "id": "NETWRIGHT_ALLOW", "description": "Optional ';'-separated wildcard patterns of apps the agent may launch or attach to." } ], "servers": { "Netwright": { "type": "stdio", "command": "dnx", "args": ["Netwright@2.0.0", "--yes"], "env": { "NETWRIGHT_ALLOW": "${input:NETWRIGHT_ALLOW}" } } } }
.vscode/mcp.json settings file.
dotnet tool install --global Netwright --version 2.0.0
dotnet new tool-manifest
dotnet tool install --local Netwright --version 2.0.0
#tool dotnet:?package=Netwright&version=2.0.0
nuke :add-package Netwright --version 2.0.0
Netwright
Playwright-style automation for .NET desktop apps. Netwright is an MCP server that lets AI agents see and operate WPF, WinForms and WinUI apps: compact snapshots with stable refs, selectors, background actions that don't steal your focus, change reports, expectations, app output and crash reports.
Install
Requires Windows 10/11 and the .NET 10 SDK.
{
"mcpServers": {
"netwright": {
"command": "dnx",
"args": ["Netwright", "--yes"]
}
}
}
Or install it as a global tool: dotnet tool install -g Netwright, then use "command": "netwright".
Tools
desktop_app, desktop_snapshot, desktop_find, desktop_inspect, desktop_click, desktop_type, desktop_set_state, desktop_press_key, desktop_scroll, desktop_window, desktop_screenshot, desktop_wait, desktop_expect, desktop_logs.
Documentation, benchmark and source: https://github.com/ricfanin/netwright
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.0 | 74 | 9/13/2026 |