Generic MCP Configuration

Configure Glider with any MCP-compatible client.

Recommendation: Project/Workspace Scope

When possible, configure Glider per project/workspace (not globally). This avoids launching it for unrelated projects (and can reduce token usage).

macOS / Windows / Linux: ensure glider is on PATH

Most clients can run glider directly if your .NET tools directory is on PATH.

# bash/zsh
export PATH="$PATH:$HOME/.dotnet/tools"
which glider

Stdio Transport (common: mcpServers JSON)

Many clients (Cursor, Gemini CLI, etc.) use this format. Replace the file location with your client’s recommended project/workspace config file.

{
  "mcpServers": {
    "glider": {
      "command": "glider",
      "args": []
    }
  }
}

VS Code / Copilot (mcp.json)

VS Code uses a different config format (see VS Code docs: code.visualstudio.com/docs/copilot/chat/mcp-servers).

{
  "servers": {
    "glider": {
      "type": "stdio",
      "command": "glider",
      "args": []
    }
  }
}

HTTP Transport

If your client requires HTTP, start Glider in HTTP mode and point the client at the URL:

# Start Glider in HTTP mode
glider --transport http

# Then configure your client to connect to:
# http://localhost:5001/mcp

Environment Variables

# Custom port for HTTP transport
glider --transport http --port 8080