Playwright-style automation for .NET desktop apps: an MCP server that lets AI agents see, operate and test WPF, WinForms and WinUI apps.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add netwright -- dnx Netwright --yes~/.codex/config.toml
[mcp_servers.netwright]
command = "dnx"
args = ["Netwright", "--yes"]
# codex mcp add netwright -- dnx Netwright --yes~/.cursor/mcp.json
{
"mcpServers": {
"netwright": {
"command": "dnx",
"args": [
"Netwright",
"--yes"
]
}
}
}.vscode/mcp.json
{
"servers": {
"netwright": {
"type": "stdio",
"command": "dnx",
"args": [
"Netwright",
"--yes"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"netwright": {
"command": "dnx",
"args": [
"Netwright",
"--yes"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"netwright": {
"command": "dnx",
"args": [
"Netwright",
"--yes"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"netwright": {
"command": "dnx",
"args": [
"Netwright",
"--yes"
]
}
}
}