Configure Glider with any MCP-compatible client.
When possible, configure Glider per project/workspace (not globally). This avoids launching it for unrelated projects (and can reduce token usage).
Most clients can run glider directly if your .NET tools directory is on PATH.
# bash/zsh
export PATH="$PATH:$HOME/.dotnet/tools"
which gliderMany 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 uses a different config format (see VS Code docs: code.visualstudio.com/docs/copilot/chat/mcp-servers).
{
"servers": {
"glider": {
"type": "stdio",
"command": "glider",
"args": []
}
}
}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# Custom port for HTTP transport
glider --transport http --port 8080