Skip to main content

Sliderule

io.github.andypgray/sliderule

v0.3.0Updated Nov 4, 2026stdio · NuGet

A .NET architecture checker that enforces one C# spec and renders the same rules for coding agents.

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add sliderule -- dnx [email protected] --yes -- mcp

Configuration

2 settings.

  • SLIDERULE_SOLUTION_PATH
    Env var· optional
    The solution to check when no solution argument is passed. A config generated from this manifest passes no argument, so set this at install time where the server's walk finds no solution. A committed sliderule.json at the repository root binds the same repository with no install-time setting. A server left unbound still starts, and its session works from the CLI alone. That CLI is spelled through dotnet dnx, because this launch installs no sliderule command.
  • solution
    Argument· optional
    The solution file to check. When it is omitted, the server reads SLIDERULE_SOLUTION_PATH and then walks up from its working directory. A solution passed here beats both. The walk stops at the first directory holding a sliderule.json or exactly one .sln, .slnf or .slnx file. A .slnf next to a .sln or .slnx is not counted. Without a sliderule.json, a solution under src/ is not found, and a directory holding several is passed over. A config generated from this manifest passes none, so where the walk finds no solution, commit a sliderule.json at the repository root. Otherwise give the solution here or in SLIDERULE_SOLUTION_PATH at install time. A server that cannot bind still starts, answers every tool call with the reason, and names the CLI command that reads the same model. That command is spelled through dotnet dnx, because this launch installs no sliderule command.

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