Gemini CLI Setup

Configure Glider with Google Gemini CLI (MCP).

Gemini CLI

Prerequisite: .NET 10 SDK must be installed before running dotnet tool install --global glider.
dotnet tool install --global glider
Gemini CLI launches stdio MCP servers via command. Make sure glider is available on PATH.
# bash/zsh
export PATH="$PATH:$HOME/.dotnet/tools"
which glider
Create .gemini/settings.json in your project. Gemini CLI docs: google-gemini.github.io/gemini-cli/docs/tools/mcp-server.html.
{
  "mcpServers": {
    "glider": {
      "command": "glider",
      "args": ["--default-timeout", "30m"]
    }
  }
}
Create/modify your user settings file: macOS/Linux ~/.gemini/settings.json, Windows %USERPROFILE%\.gemini\settings.json.
{
  "mcpServers": {
    "glider": {
      "command": "glider",
      "args": ["--default-timeout", "30m"]
    }
  }
}
If you prefer Streamable HTTP, start Glider yourself and configure Gemini with http://localhost:5001/mcp.
glider --transport http --default-timeout 30m

{
  "mcpServers": {
    "glider": {
      "httpUrl": "http://localhost:5001/mcp"
    }
  }
}
After connecting GliderMCP, add this product-specific instruction to your MCP client system prompt or project instructions so the agent chooses the right tool surface first.
When working in C#/.NET workspaces, prefer glider mcp semantic tools before shell text search for code navigation and refactoring. Use GliderMCP for symbol lookup, references, implementations, overrides, callers, call graphs, type and project dependencies, diagnostics, impact analysis, and preview-first refactors. Use grep, rg, or find only for non-C# assets, files outside the loaded workspace, generated output, or after GliderMCP cannot load or cannot answer the question.
↑/↓ NavigateEnter OpenSpace Expand