XamlMcp for Cursor
io.github.trrahul/xamlmcp
Inspect and drive Avalonia, WPF, WinUI, and .NET MAUI apps through MCP.
client:Cursor
transport:stdio
runtime:nuget
Install XamlMcp in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"xamlmcp": {
"type": "stdio",
"command": "dnx",
"args": [
"XamlMcp.Server",
"--yes"
]
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs