Skip to content

Using Gemini-CLI with MCP on a Windows Machine Error -32000 #10

@Raven0282

Description

@Raven0282

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions