XamlMcp for Gemini CLI
io.github.trrahul/xamlmcp
Inspect and drive Avalonia, WPF, WinUI, and .NET MAUI apps through MCP.
client:Gemini CLI
transport:stdio
runtime:nuget
Install XamlMcp in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"xamlmcp": {
"command": "dnx",
"args": [
"XamlMcp.Server",
"--yes"
]
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs