PluginBench
MCP Server
Active
Apache-2.0

Pact Tooling MCP Server

io.github.Pact-Community-Organization/pact

What is the Pact Tooling MCP server?

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

How to install Pact Tooling

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • PACT_COMMUNITY_WORKSPACE_ROOT
    required

    Workspace root directory; all file access is confined inside it.

  • PACT_COMMUNITY_PACT_BIN

    Path to the pact binary (default: pact on PATH).

Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "pact": {
      "command": "npx",
      "args": [
        "-y",
        "@pact-community/mcp-pact"
      ],
      "env": {
        "PACT_COMMUNITY_WORKSPACE_ROOT": "<YOUR_PACT_COMMUNITY_WORKSPACE_ROOT>",
        "PACT_COMMUNITY_PACT_BIN": "<YOUR_PACT_COMMUNITY_PACT_BIN>"
      }
    }
  }
}
Cursor
~/.cursor/mcp.json
{
  "mcpServers": {
    "pact": {
      "command": "npx",
      "args": [
        "-y",
        "@pact-community/mcp-pact"
      ],
      "env": {
        "PACT_COMMUNITY_WORKSPACE_ROOT": "<YOUR_PACT_COMMUNITY_WORKSPACE_ROOT>",
        "PACT_COMMUNITY_PACT_BIN": "<YOUR_PACT_COMMUNITY_PACT_BIN>"
      }
    }
  }
}
Windsurf
~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "pact": {
      "command": "npx",
      "args": [
        "-y",
        "@pact-community/mcp-pact"
      ],
      "env": {
        "PACT_COMMUNITY_WORKSPACE_ROOT": "<YOUR_PACT_COMMUNITY_WORKSPACE_ROOT>",
        "PACT_COMMUNITY_PACT_BIN": "<YOUR_PACT_COMMUNITY_PACT_BIN>"
      }
    }
  }
}
VS Code
.vscode/mcp.json
{
  "servers": {
    "pact": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@pact-community/mcp-pact"
      ],
      "env": {
        "PACT_COMMUNITY_WORKSPACE_ROOT": "<YOUR_PACT_COMMUNITY_WORKSPACE_ROOT>",
        "PACT_COMMUNITY_PACT_BIN": "<YOUR_PACT_COMMUNITY_PACT_BIN>"
      }
    }
  }
}
Claude Code
claude mcp add pact --env PACT_COMMUNITY_WORKSPACE_ROOT=<YOUR_PACT_COMMUNITY_WORKSPACE_ROOT> --env PACT_COMMUNITY_PACT_BIN=<YOUR_PACT_COMMUNITY_PACT_BIN> -- npx -y @pact-community/mcp-pact

Related MCP servers

Chainweb HTTP API: local sim, pre-signed send, poll, table reads, SPV proofs, module deploys.

0
TypeScript
Apache-2.0
View repository →