Pact 5 tooling: REPL test runs, trap scanning, gas estimation, interface diff, format checks.
Connect Runs on your machine
claude mcp add pact -e PACT_COMMUNITY_WORKSPACE_ROOT=<PACT_COMMUNITY_WORKSPACE_ROOT> -e PACT_COMMUNITY_PACT_BIN=<PACT_COMMUNITY_PACT_BIN> -- npx -y @pact-community/[email protected]
{
"mcpServers": {
"pact": {
"command": "npx",
"args": [
"-y",
"@pact-community/[email protected]"
],
"env": {
"PACT_COMMUNITY_WORKSPACE_ROOT": "<PACT_COMMUNITY_WORKSPACE_ROOT>",
"PACT_COMMUNITY_PACT_BIN": "<PACT_COMMUNITY_PACT_BIN>"
}
}
}
}
{
"mcpServers": {
"pact": {
"command": "npx",
"args": [
"-y",
"@pact-community/[email protected]"
],
"env": {
"PACT_COMMUNITY_WORKSPACE_ROOT": "<PACT_COMMUNITY_WORKSPACE_ROOT>",
"PACT_COMMUNITY_PACT_BIN": "<PACT_COMMUNITY_PACT_BIN>"
}
}
}
}
{
"servers": {
"pact": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@pact-community/[email protected]"
],
"env": {
"PACT_COMMUNITY_WORKSPACE_ROOT": "<PACT_COMMUNITY_WORKSPACE_ROOT>",
"PACT_COMMUNITY_PACT_BIN": "<PACT_COMMUNITY_PACT_BIN>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
PACT_COMMUNITY_WORKSPACE_ROOTRequired | Workspace root directory; all file access is confined inside it. |
PACT_COMMUNITY_PACT_BINOptional | Path to the pact binary (default: pact on PATH). |
Details
| Package | @pact-community/[email protected] (NPM, stdio) |
| First published | 3 Jul 2026 |
| Last updated | 3 Jul 2026 |
| Registry name | io.github.Pact-Community-Organization/pact |
More developer tools servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
