Netwright for VS Code
io.github.ricfanin/netwright
Playwright-style automation of .NET desktop apps (WPF, WinForms, WinUI) for AI agents.
client:VS Code
transport:stdio
runtime:nuget
Install Netwright in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "netwright-allow",
"description": "NETWRIGHT_ALLOW",
"password": true
}
],
"servers": {
"netwright": {
"type": "stdio",
"command": "dnx",
"args": [
"Netwright",
"--yes"
],
"env": {
"NETWRIGHT_ALLOW": "${input:netwright-allow}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs