XamlMcp for VS Code
io.github.trrahul/xamlmcp
Inspect and drive Avalonia, WPF, WinUI, and .NET MAUI apps through MCP.
client:VS Code
transport:stdio
runtime:nuget
Install XamlMcp in VS Code
.vscode/mcp.json
{
"servers": {
"xamlmcp": {
"type": "stdio",
"command": "dnx",
"args": [
"XamlMcp.Server",
"--yes"
]
}
}
}
Requires agent mode. MCP: Open User Configuration puts the same block in every workspace. VS Code docs