Skip to content
Zed

Pact Tooling for Zed

io.github.pact-community-organization/pact

Pact 5 tooling: REPL test runs, trap scanning, gas estimation, interface diff, format checks.

client:Zed transport:stdio runtime:npm

Install Pact Tooling in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "context_servers": {
    "pact": {
      "command": "npx",
      "args": [
        "-y",
        "@pact-community/mcp-pact"
      ],
      "env": {
        "PACT_COMMUNITY_WORKSPACE_ROOT": "<PACT_COMMUNITY_WORKSPACE_ROOT>",
        "PACT_COMMUNITY_PACT_BIN": "<PACT_COMMUNITY_PACT_BIN>"
      }
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

Pact Tooling in other clients