Tried to follow the instructions to install and use with Gemini-CLI. Kept running into Error -32000 and the MCP server list in Gemini always showed as disconnected.
Corrected the issue by upgrading the repository to .NET 10 and implementing the code fixes from Ken Kost https://github.com/kentkost/AvaloniaUI.MCP
On a Windows machine, the Gemini-CLI settings.json file has to be modified as seen below to make it work.
{
"mcpServers": {
"avalonia": {
"command": "cmd",
"args": ["/c",
"dotnet",
"run",
"--project",
"DRIVE:\path\to\AvaloniaUI.MCP\src\AvaloniaUI.MCP\AvaloniaUI.MCP.csproj"],
"cwd": "DRIVE:\path\to\AvaloniaUI.MCP"
}
}
}
BTW, thanks for the great community resource.
Tried to follow the instructions to install and use with Gemini-CLI. Kept running into Error -32000 and the MCP server list in Gemini always showed as disconnected.
Corrected the issue by upgrading the repository to .NET 10 and implementing the code fixes from Ken Kost https://github.com/kentkost/AvaloniaUI.MCP
On a Windows machine, the Gemini-CLI settings.json file has to be modified as seen below to make it work.
{
"mcpServers": {
"avalonia": {
"command": "cmd",
"args": ["/c",
"dotnet",
"run",
"--project",
"DRIVE:\path\to\AvaloniaUI.MCP\src\AvaloniaUI.MCP\AvaloniaUI.MCP.csproj"],
"cwd": "DRIVE:\path\to\AvaloniaUI.MCP"
}
}
}
BTW, thanks for the great community resource.