Reading:
🚀 Introducing the PactFlow MCP Server: AI-Powered Contract Testing, Now in Your IDE

🚀 Introducing the PactFlow MCP Server: AI-Powered Contract Testing, Now in Your IDE

Matt Fellows
Updated

We’re excited to announce the release of the PactFlow MCP Server—a major step forward in bringing intelligent, agentic contract testing tools directly into your development workflow.

With this release, you can now generate, review, and maintain Pact tests—right from your IDE.

No more context switching. Just powerful, developer-first AI tools embedded natively into modern editors like VS Code, Cursor, and Claude Code.

What Is MCP?

MCP (Model Context Protocol) is an emerging open standard that connects LLM-based agents—like Copilot, Cursor, or Claude—to backend services such as PactFlow.

Think of MCP as USB-C for AI: it standardizes how IDEs and assistants access tools and context, without requiring custom plugins or integrations.

Why This Matters

Modern development workflows are rapidly shifting to AI-native, agent-powered tooling.

The PactFlow MCP Server builds on our existing CLI tooling to support this evolution, enabling developers to:

  • Generate contract tests from OpenAPI specs, HTTP traffic, or source code
  • Update tests to reflect source code changes
  • Review and fix tests using AI that understands Pact best practices
  • Fetch and reuse provider states already registered in PactFlow

All from the comfort of the editor you already use—without interrupting your flow.

Teams using PactFlow AI see up to 60% faster test creation and maintenance, improved onboarding, and dramatically better test quality.

See It in Action

What’s Coming Next

This is just the beginning. We're continuing to add guided tools to support the full contract testing lifecycle, including:

  • Consumer project scaffolding
  • Provider test setup
  • Deployment compatibility (can-i-deploy, matrix insights)
  • Test drift and coverage detection, and more

Available Now

The PactFlow MCP Server is available now for:

  • All PactFlow Cloud customers
  • PactFlow on-premises users (HaloAI features excluded)
  • Pact Broker users (HaloAI features excluded)

It works with any modern IDE that supports MCP, and setup takes just a few minutes.

📚 Get Started with the MCP Server →

arrow-up icon