Configure Glider with Codex CLI, Codex IDE extension, and Codex app.
dotnet tool install --global glider.dotnet tool install --global gliderglider is available on PATH.# bash/zsh
export PATH="$PATH:$HOME/.dotnet/tools"
which glider.codex/config.toml in each worktree root. Codex loads project configuration for trusted projects. Replace src/App.slnx with your solution path relative to that root. Launch the MCP server from the worktree root. Use ~/.codex/config.toml only when you want user-wide configuration. Codex MCP docs: developers.openai.com/codex/mcp.# .codex/config.toml in each worktree
# Launch the MCP server from that worktree root.
[mcp_servers.glider]
command = "glider"
args = ["--solution", "src/App.slnx", "--default-timeout", "30m"]
startup_timeout_sec = 30
tool_timeout_sec = 1800config.toml.glidermcp from the Codex app Plugin Directory or from the CLI /plugins browser.codex plugin marketplace add glidermcp/glidermcp.comhttp://localhost:5001/mcp. Use only one glider server entry unless you intentionally want separate stdio and HTTP configs.glider --transport http --default-timeout 30m
# ~/.codex/config.toml
[mcp_servers.glider]
url = "http://localhost:5001/mcp"
tool_timeout_sec = 1800/mcp to confirm the server is available.codex
# Then run: /mcp--solution <path> to the launch arguments in the configuration above so Glider loads your solution or project (a .sln, .slnx, or .csproj file) at startup, instead of waiting for the agent to call load. With it set, server_status shows the workspace as loaded — or, on a large workspace, still loading in the background under workspaceLoading — from the first message, so the agent can wait for that load to finish instead of stopping with a "No solution loaded. Use load first." message and reaching for text search. Put the flag after -- for claude mcp add, add it to the args array in JSON and Codex TOML configs, or to the single command array for OpenCode. For worktrees, prefer a relative path and launch the server from the selected worktree root. Relative paths use the server launch directory, not the config file directory. An absolute path intentionally pins one checkout.# From the selected worktree root; replace src/App.slnx with your solution path.
glider --solution src/App.slnx --default-timeout 30m
# Add --workspace <dir> to watch a different root, or --no-watch to disable file watching..mcp.json, Codex .codex/config.toml (trusted projects), Cursor .cursor/mcp.json, or VS Code .vscode/mcp.json. Include portable config files in version control, or copy local config files into each worktree. Git does not copy ignored files. Use absolute paths only when you intentionally want one fixed checkout, such as a global Claude Desktop configuration.git rev-parse --show-toplevel in the client terminal, then ask server_status for the server workspace. Confirm that the loaded solution or workspace belongs to that worktree before you query or change code. For a wrong root, explicitly load the intended workspace or restart the server with the correct path. git rev-parse --show-toplevelsrc/App.slnx with your solution path. On Windows, use the relative configuration above and set the MCP launch directory to the worktree root. This launcher cannot identify your worktree if the client starts outside its directory tree.# .codex/config.toml in each worktree
[mcp_servers.glider]
command = "sh"
args = ["-c", "repo_root=$(git rev-parse --show-toplevel) && exec glider --solution \"$repo_root/src/App.slnx\" --default-timeout 30m"]
startup_timeout_sec = 120
tool_timeout_sec = 1800When working in C#/.NET workspaces, prefer glider mcp semantic tools for symbol identity, code relationships, diagnostics, dependencies, impact analysis, and preview-first refactors. Use Scout for repository retrieval and raw text questions. Use the .NET CLI for build and test commands. Preload the solution with --solution, or call load before semantic queries.