Skip to main content

Resharper CLI MCP

io.github.andypgray/resharper-cli-mcp

v1.8.1Updated Nov 15, 2026stdio · NuGet

ReSharper CLI inspection/cleanup via MCP. Unofficial: not affiliated with or endorsed by JetBrains.

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add resharper-cli-mcp -- dnx [email protected] --yes

Configuration

10 settings.

  • JB_SOLUTION_PATH
    Env var· optional
    Solution to analyse when the working directory holds zero or several. The solutionPath tool argument overrides it for one call.
  • JB_SETTINGS_PATH
    Env var· optional
    Explicit .DotSettings file for jb, mounted as a Custom layer above the solution's and every project's own settings.
  • JB_CACHE_HOME
    Env var· optional
    ReSharper cache directory. Defaults to ~/.jb-cache.
  • JB_EXTENSIONS
    Env var· optional
    Semicolon-separated ReSharper plugin IDs to load.
  • JB_EXTENSION_SOURCE
    Env var· optional
    Custom NuGet source for those ReSharper plugins.
  • RESHARPER_MCP_TIMEOUT_SECS
    Env var· optional
    Cap in seconds on one jb run, and on the wait for one already in flight. Defaults to 600, clamped to 60-86,400.
Show 4 more
  • RESHARPER_MCP_PREWARM
    Env var· optional
    Set to off to stop the background cache pre-warm that runs when a client connects.
  • RESHARPER_MCP_CLEANUP_FILTER
    Env var· optional
    Set to off to run every cleanup against the whole solution rather than a filter of the files' projects.
  • RESHARPER_MCP_LOG_LEVEL
    Env var· optional
    Minimum level for the rolling file log. Defaults to Warning.
  • MAX_MCP_OUTPUT_TOKENS
    Env var· optional
    Output budget the response is rendered to fit. Set by the MCP client rather than by hand; 25,000 characters when unset.

Listed in the official MCP Registry since Nov 15, 2026. Mirrored daily; last checked Nov 26, 2026.