PA

Pact Tooling MCP Server

Published by Pact-Community-Organization

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

Website
CATEGORY
More to explore
DEPLOYMENT
Local package
LATEST SOURCE VERSION
0.4.0
SOURCE CHECKED
Dec 2, 2026

Quick answers

How do I add Pact Tooling MCP Server to Claude Code, Cursor or Codex?

Claude CodeCommand

Run this in your terminal:

claude mcp add --env 'PACT_COMMUNITY_WORKSPACE_ROOT=<your-pact-community-workspace-root>' --transport stdio pact-tooling -- npx -y @pact-community/mcp-pact

Replace the <your-…> placeholder with your own PACT_COMMUNITY_WORKSPACE_ROOT.

Claude Code setup guide
CursorConfig

Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:

{
  "mcpServers": {
    "pact-tooling": {
      "command": "npx",
      "args": [
        "-y",
        "@pact-community/mcp-pact"
      ],
      "env": {
        "PACT_COMMUNITY_WORKSPACE_ROOT": "<your-pact-community-workspace-root>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own PACT_COMMUNITY_WORKSPACE_ROOT.

Cursor setup guide
CodexCommand

Run this in your terminal:

codex mcp add pact-tooling --env 'PACT_COMMUNITY_WORKSPACE_ROOT=<your-pact-community-workspace-root>' -- npx -y @pact-community/mcp-pact

Replace the <your-…> placeholder with your own PACT_COMMUNITY_WORKSPACE_ROOT.

Codex setup guide
VS CodeConfig

Add this to .mcp.json at the root of your workspace:

{
  "mcpServers": {
    "pact-tooling": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@pact-community/mcp-pact"
      ],
      "env": {
        "PACT_COMMUNITY_WORKSPACE_ROOT": "<your-pact-community-workspace-root>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own PACT_COMMUNITY_WORKSPACE_ROOT.

VS Code setup guide
Claude DesktopConfig

Add this to claude_desktop_config.json, then restart Claude:

{
  "mcpServers": {
    "pact-tooling": {
      "command": "npx",
      "args": [
        "-y",
        "@pact-community/mcp-pact"
      ],
      "env": {
        "PACT_COMMUNITY_WORKSPACE_ROOT": "<your-pact-community-workspace-root>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own PACT_COMMUNITY_WORKSPACE_ROOT.

Claude Desktop setup guide
ChatGPTNot available

ChatGPT can't add it from its published details: it connects from the cloud and needs a public address, and this server runs on your computer.

ChatGPT setup guide

Which apps can use Pact Tooling MCP Server?

Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: it connects from the cloud and needs a public address, and this server runs on your computer.

Does Pact Tooling MCP Server need an API key?

To run it on your computer, set PACT_COMMUNITY_WORKSPACE_ROOT first, with values from the publisher.

Is Pact Tooling MCP Server official?

It's published by Pact-Community-Organization. The Official MCP Registry accepts names under io.github.Pact-Community-Organization only from the GitHub account or organisation Pact-Community-Organization. We last checked its listing on Dec 2, 2026. A listing shows where a server comes from; it isn't a security review.

Published packages

npm · @pact-community/mcp-pact@0.4.0
View source repository