Glider
Roslyn-powered C# code analysis server for LLMs. Supports stdio and HTTP transports.
Glider MCP
Glider is a Roslyn-powered Model Context Protocol (MCP) server for semantic C# code analysis and refactoring in MCP clients (for example, Claude Code).
For full documentation and setup guides, see https://glidermcp.com.
What you can do with Glider
- Resolve symbols the same way the compiler does (not grep).
- Find usages, implementations, and types (supports wildcards like
*Manager). - Search for symbols and get stable keys to use across tool calls.
- Inspect APIs with detailed type information and method signatures.
- Surface compiler diagnostics for a loaded solution/project.
- Refactor safely: rename symbols and move types/members with reference updates.
- Apply code fixes and deterministic formatting with preview diffs.
- Analyze architecture via dependency and complexity metrics.
- Batch multiple tool calls into a single request.
Tool overview
- Diagnostics:
server_status,get_diagnostics - Solution management:
load_solution,load_project,reload_current,sync_documents,solution_cache - Symbol search & discovery:
search_symbols,get_symbol_at_position,get_symbol_info,find_usages,find_implementation,find_types - Code analysis:
get_type_info,get_method_signature,get_type_source,get_method_source - Refactoring:
rename_symbol,move_type,move_member - Code fixes & formatting:
get_code_fixes,apply_code_fix,organize_usings,format_document - External source:
view_external_definition - Architecture & metrics:
get_type_dependencies,analyze_complexity - Batching:
batch
Installation
Prerequisites
- .NET 10.0 SDK or later
Install / update / uninstall
dotnet tool install --global glider
dotnet tool update --global glider
dotnet tool uninstall --global glider
Running Glider
Glider supports two transports:
- Stdio (default): for local MCP clients like Claude Code
- HTTP: for MCP clients that connect over Streamable HTTP
# Stdio (default)
glider
# Print version and exit
glider --version
glider -v
# HTTP (default port: 5001)
glider --transport http
# Listens on http://localhost:5001/mcp
glider --transport http --port 8080
# Listens on http://localhost:8080/mcp
Using with Claude Code (stdio)
# Project-scoped config (recommended)
claude mcp add --transport stdio glider --scope project -- ~/.dotnet/tools/glider
If you prefer not to call the shim directly:
claude mcp add --transport stdio glider --scope project -- dotnet tool run --global glider
Example prompts
Load the C# solution at /path/to/YourProject.sln
I changed some files on disk. Reload the current solution and then re-run diagnostics.
Find all usages of MyNamespace.MyType.MyMethod
Rename the symbol OldName to NewName (preview the diff first).
Troubleshooting
glider “hangs” when I run it
That’s expected for stdio mode: it’s an MCP server waiting for a client connection. Configure it in your MCP client instead of running it in a terminal by itself.
glider not found after install
Make sure the .NET tools directory is on your PATH:
- macOS/Linux:
export PATH="$PATH:$HOME/.dotnet/tools" - Windows (PowerShell):
$env:PATH += ";$env:USERPROFILE\\.dotnet\\tools"
Solution/project won’t load
Use an absolute path to the .sln / .csproj file.
Related Servers
Scout Monitoring MCP
sponsorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
MCP Design System Extractor
Extracts component information, including HTML, styles, and metadata, from Storybook design systems.
Socket
Scan dependencies for vulnerabilities and security issues using the Socket API.
Laravel MCP Server
A Laravel package for building secure Model Context Protocol servers with real-time communication using SSE.
Gateway MCP Server
A gateway server that intelligently routes MCP requests to multiple backend servers.
Figma
Interact with Figma files to view, comment on, and analyze designs.
Vibe Coder
An advanced MCP server for semantic routing, code generation, workflows, and AI-assisted development.
Figma MCP Server with Chunking
An MCP server for the Figma API, with chunking and pagination to handle large files.
Remote MCP Server on Cloudflare
An example of a remote MCP server deployable on Cloudflare Workers, featuring customizable tools and no authentication.
MCP HTTP Requests
A comprehensive HTTP client for API testing, web automation, and security testing with detailed logging.
DreamFactory MCP
An MCP server for integrating with the DreamFactory API to manage and access data sources.