Skip to content
VS Code

loadbearing for VS Code

io.github.andypgray/loadbearing

Checks .NET solutions against a fluent C# architecture spec and explains the rules to agents.

client:VS Code transport:stdio runtime:nuget

Install loadbearing in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "loadbearing-solution-path",
      "description": "LOADBEARING_SOLUTION_PATH",
      "password": true
    }
  ],
  "servers": {
    "loadbearing": {
      "type": "stdio",
      "command": "dnx",
      "args": [
        "Zphil.LoadBearing.Cli",
        "--yes"
      ],
      "env": {
        "LOADBEARING_SOLUTION_PATH": "${input:loadbearing-solution-path}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

loadbearing in other clients