mcp-pact

hhagenbuch/mcp-pact
★ 0 stars Java AI/LLM Updated today
Consumer-driven contract testing for MCP servers: record tool interactions, verify in CI, catch breaking changes
View on GitHub → 🔍 Audit Wallet Slippage →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "mcp-pact": {
      "command": "npx",
      "args": [
        "-y",
        "hhagenbuch/mcp-pact"
      ]
    }
  }
}

README Excerpt

> When an MCP server renames a tool, tightens a parameter, or subtly changes > response shape, nothing fails at deploy time — the agents depending on it > just quietly get worse. `mcp-pact` brings consumer-driven contract testing > to MCP: agents record the tool interactions they rely on into a pact file;

Topics

ai-agentscontract-testingjavamcpmodel-context-protocoltesting