S Stubborn

Stubborn Broker

Branch-aware contract governance

A server for Stubborn Contract that verifies every contract, on every branch, across every service, and tells you when it's safe to deploy.

Try the Broker Demo View on GitHub
terminal

$ docker run -p 8080:8080 mgrzejszczak/stubborn

Stubborn broker started on port 8080

Dashboard: http://localhost:8080

Contract tests pass on your machine. But across ten services and five feature branches, can you actually deploy? Without a broker, nobody knows.

Stubborn fixes this. One server. Every contract. Every branch. Every service.

Dependency graph showing service relationships and verification status

Everything you need to govern contracts

Built for Spring Cloud Contract from day one. Not bolted on after.

Branch-Aware Governance

Verify contracts per feature branch. Pending contracts don't block until the provider catches up.

stubborn can-i-deploy --app orders --version 2.1.0 --env prod --branch main

AI Contract Generation

Capture HTTP traffic, get Spring Cloud Contract YAML back. No manual writing.

POST /capture → { "contract": "shouldReturnOrder.yml" }

AI Agent Integration

Your coding assistant manages contracts natively via MCP: publish, verify, check deployments.

@tool stubborn_can_i_deploy { app: "orders", version: "2.1.0" }

Cross-Language SDK

Java, Kotlin, JavaScript, TypeScript. One broker, every team.

import { setupStubs } from '@stubborn-dev/stub-server'

How it works

Three steps from contract to safe deployment.

01

Publish

Producer pushes contracts via Maven/Gradle plugin or CLI. Contracts are stored with version, branch, and content hash.

02

Verify

Consumer runs Stub Runner against the broker. Verification results are recorded automatically per branch.

03

Deploy

can-i-deploy gate in your CI pipeline. Green means every contract is verified. Safe to ship.

See It in Action

A real dashboard for real teams. Explore the live demo.