{"id":"pactfoundation-pact-stub-server","name":"pact-stub-server","homepage":"https://hub.docker.com/r/pactfoundation/pact-stub-server","repo_url":"https://hub.docker.com/r/pactfoundation/pact-stub-server","category":"testing","subcategories":[],"tags":["testing","contract-testing","pact","stub-server","mocking"],"what_it_does":"A Pact stub server that serves mock responses for consumer-driven contract tests (Pact) so a consumer can be tested against predictable provider behaviors without calling the real provider.","use_cases":["Local development of consumer applications using Pact contract tests","CI testing where provider availability is not required","Simulating provider responses for different scenarios described by Pact contracts","Debugging consumer behavior against contract-defined interactions"],"not_for":["Production use as an always-accurate replacement for the real provider","Running full provider verification (this is for stubbing/consumer-side testing, not verifying provider implementations)","Use as a general-purpose API mocking platform beyond Pact interactions"],"best_when":"You want a lightweight way to run consumer tests using Pact contracts and deterministic mock provider responses.","avoid_when":"You need real provider integrations, strict runtime authorization/tenancy policies, or comprehensive API documentation/SDKs beyond Pact interaction contracts.","alternatives":["Pact Broker with provider test verification tooling","Generic API mocking tools (e.g., WireMock, Mountebank) for non-Pact workflows","Stub services built with OpenAPI/Swagger mocks (for REST-only contracts)"],"af_score":41.5,"security_score":30.5,"reliability_score":35.0,"package_type":"mcp_server","discovery_source":["docker_mcp"],"priority":"low","status":"evaluated","version_evaluated":null,"last_evaluated":"2026-04-04T19:44:38.713491+00:00","interface":{"has_rest_api":true,"has_graphql":false,"has_grpc":false,"has_mcp_server":false,"mcp_server_url":null,"has_sdk":false,"sdk_languages":[],"openapi_spec_url":null,"webhooks":false},"auth":{"methods":[],"oauth":false,"scopes":false,"notes":"Stub servers typically do not provide fine-grained auth by default; authorization behavior (if any) is usually incidental or configured for test usage rather than implementing production-grade auth."},"pricing":{"model":null,"free_tier_exists":false,"free_tier_limits":null,"paid_tiers":[],"requires_credit_card":false,"estimated_workload_costs":null,"notes":"Open-source style package; no usage-based pricing info provided."},"requirements":{"requires_signup":false,"requires_credit_card":false,"domain_verification":false,"data_residency":[],"compliance":[],"min_contract":null},"agent_readiness":{"af_score":41.5,"security_score":30.5,"reliability_score":35.0,"mcp_server_quality":0.0,"documentation_accuracy":30.0,"error_message_quality":0.0,"error_message_notes":null,"auth_complexity":90.0,"rate_limit_clarity":0.0,"tls_enforcement":30.0,"auth_strength":20.0,"scope_granularity":0.0,"dependency_hygiene":50.0,"secret_handling":60.0,"security_notes":"As a test stub, it likely does not enforce production-grade authz/authn. If exposed beyond a test network, treat it as an unauthenticated service and ensure it is network-restricted. TLS and secret-handling details are not verified here.","uptime_documented":0.0,"version_stability":50.0,"breaking_changes_history":50.0,"error_recovery":40.0,"idempotency_support":"false","idempotency_notes":null,"pagination_style":"none","retry_guidance_documented":false,"known_agent_gotchas":["Focus is on Pact interactions; capabilities and endpoints depend on the Pact contracts loaded.","Mismatch between the request shape and the contract interaction can yield non-intuitive 'no matching interaction' behavior.","Stub behavior may be sufficient for consumers but not for testing authorization/side effects as a real provider would."]}}