ucp-mock

Community

Spin up a full UCP vending mock locally

Authorfxp
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It lets AI agents and engineers exercise a complete UCP vending-machine purchase flow without needing real hardware, so integration work can proceed safely in a local environment.

Core Features & Use Cases

  • End-to-end purchase simulation: Covers discovery, OAuth 2.0 authentication, cart browsing, checkout creation, checkout completion, order polling, and SSE event streaming.
  • Realistic vending scenarios: Simulates normal dispensing, slow fulfillment, empty-lane rejection, and offline-device errors to test retries and fallback handling.
  • Protocol validation: Exposes UCP envelopes, continue URLs, status transitions, totals, and payment-handler behavior so another agent can verify its client against a predictable mock.

Quick Start

Tell the agent to start the UCP mock server and run a full purchase flow against it using the local checkout and order endpoints.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ucp-mock
Download link: https://github.com/fxp/vending-protocol/archive/main.zip#ucp-mock

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 536,000+ vetted skills library on demand.