Pact Tooling for Cursor
io.github.pact-community-organization/pact
Pact 5 tooling: REPL test runs, trap scanning, gas estimation, interface diff, format checks.
client:Cursor
transport:stdio
runtime:npm
Install Pact Tooling in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"pact": {
"type": "stdio",
"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>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs