About Resharper MCP
Resharper MCP is an MCP server in the Commerce category: an MCP server that lives inside Rider and exposes Resharper-powered tools for AI agents that allow working with actual codebase semantics instead of `grep` approximations.
Install
git clone https://github.com/joshua-light/resharper-mcpThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (19)
browse_namespaceBrowse namespace hierarchy: child namespaces and types
Parameters not published.
complete_atGet code completion suggestions at a caret position
Parameters not published.
find_implementationsFind implementations of interfaces/abstract classes and overrides
Parameters not published.
find_usagesFind all references to a symbol
Parameters not published.
fix_usingsFix missing using directives in C# files
Parameters not published.
flowDescribe control flow of a method or type: execution steps, branches, loops, error paths, inlined call targets
Parameters not published.
format_fileFormat, clean up, or apply code style to a file
Parameters not published.
get_call_hierarchyBuild an incoming (callers) or outgoing (callees) call hierarchy tree for a method
Parameters not published.
get_diagnosticsRun daemon inspections on a file; reports severity, inspection id, message, location, and quick-fix availability
Parameters not published.
get_file_errorsGet compile errors and unresolved references
Parameters not published.
Show all 19 tools
get_solution_structureList projects, target frameworks, and project references
Parameters not published.
get_symbol_infoDetailed symbol info: kind, type, params, docs, base types, members
Parameters not published.
get_symbol_sourceGet the full declaration source code of a symbol (not just a snippet)
Parameters not published.
get_type_hierarchyGet the inheritance hierarchy of a type: supertypes (base/interfaces) or subtypes
Parameters not published.
go_to_definitionNavigate to a symbol's declaration with source text
Parameters not published.
list_quick_fixesList the ReSharper quick-fixes (bulb actions) available at a position
Parameters not published.
list_solutionsList all open solutions across Rider instances
Parameters not published.
list_symbols_in_fileList all declarations in a file
Parameters not published.
search_symbolSearch symbols by name (substring match) across the solution
Parameters not published.
Ask AI
Ask AI about Resharper MCP
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
ReSharper MCP Server
An MCP (Model Context Protocol) server that runs inside the ReSharper/Rider backend process, exposing code intelligence features to AI assistants via HTTP.
Supports C#, F#, VB, and any language with a ReSharper PSI implementation.
Tools
| Tool | Description |
|---|---|
find_usages |
Find all references to a symbol |
get_symbol_info |
Detailed symbol info: kind, type, params, docs, base types, members |
find_implementations |
Find implementations of interfaces/abstract classes and overrides |
get_file_errors |
Get compile errors and unresolved references |
search_symbol |
Search symbols by name (substring match) across the solution |
go_to_definition |
Navigate to a symbol's declaration with source text |
get_solution_structure |
List projects, target frameworks, and project references |
browse_namespace |
Browse namespace hierarchy: child namespaces and types |
list_symbols_in_file |
List all declarations in a file |
list_solutions |
List all open solutions across Rider instances |
fix_usings |
Fix missing using directives in C# files |
format_file |
Format, clean up, or apply code style to a file |
flow |
Describe control flow of a method or type: execution steps, branches, loops, error paths, inlined call targets |
Symbol resolution
Tools that operate on a symbol accept two modes:
- By position —
filePath+line+column(1-based) - By name —
symbolName(e.g."MyClass","Namespace.MyClass","MyClass.MyMethod")
An optional kind filter ("type", "method", "property", "field", "event") helps disambiguate. When multiple symbols match, tools return an ambiguity error listing all candidates with their qualified names, kinds, and locations.
Batch mode
Most tools support batch mode — processing multiple inputs in a single call. This reduces round-trips when querying several symbols or files at once:
- Symbol-based tools (
find_usages,get_symbol_info,find_implementations,go_to_definition) accept asymbolsarray of{symbolName, kind, filePath, line, column}objects. - File-based tools (
get_file_errors,list_symbols_in_file,fix_usings,format_file) accept afilePathsarray of strings. search_symbolaccepts aqueriesarray of strings.browse_namespaceaccepts anamespaceNamesarray of strings.
Results are concatenated with === [N/total] label === separators. Shared options (e.g. maxResults, kinds, mode) apply to all items in the batch. Original single-input parameters remain for backward compatibility.
Installation
From JetBrains Marketplace
Install the plugin from Rider: Settings → Plugins → Marketplace → search for "MCP Server for Code Intelligence".
From source
./install-rider.sh
# Restart Rider
The script builds the plugin and copies it to your local Rider plugin directory.
MCP client configuration
Add to your MCP client config (e.g. Claude Code settings.json):
{
"mcpServers": {
"resharper": {
"type": "http",
"url": "http://127.0.0.1:23741/"
}
}
}
The server starts automatically when you open a solution in Rider.
Set RESHARPER_MCP_PORT environment variable to override the default port.
Building
# Build the .NET backend
dotnet build src/ReSharperMcp/ReSharperMcp.csproj -c Release
# Build a distributable plugin ZIP
./build-plugin.sh
Architecture
- Runs as a ReSharper
SolutionComponent(activated when a solution opens, stopped when it closes) - Hosts an HTTP server on
127.0.0.1:23741implementing MCP over JSON-RPC 2.0 - Uses ReSharper's PSI (Program Structure Interface) APIs for code analysis
- Two-part Rider plugin: minimal JVM JAR (plugin descriptor) + .NET backend DLL
- Targets
net472(required by the ReSharper host process)
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.