Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 39 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ Universal Commerce Protocol (UCP).

## Sample Implementations

### Python
### REST Bindings

#### Python (REST)

A reference implementation of a UCP Merchant Server using Python and FastAPI.

Expand All @@ -39,7 +41,7 @@ A reference implementation of a UCP Merchant Server using Python and FastAPI.
* A script demonstrating a full "happy path" user journey (discovery ->
checkout -> payment).

### Node.js
#### Node.js (REST)

A reference implementation of a UCP Merchant Server using Node.js, Hono, and
Zod.
Expand All @@ -49,6 +51,41 @@ Zod.
* Demonstrates implementation of UCP specifications for shopping,
checkout, and order management using a Node.js stack.

### MCP Binding (Model Context Protocol)

A reference implementation using the [Model Context Protocol](https://modelcontextprotocol.io/)
for AI agent integration.

* **Server & Client**: [Documentation](mcp/python/README.md)

* Located in `mcp/python/`.
* Exposes UCP shopping capabilities as MCP tools and resources.
* Enables AI agents (Claude, GPT, etc.) to perform commerce operations.
* Includes example client demonstrating complete shopping flow.

**Key Features:**
* Tools for product discovery, checkout, payment, and order management
* Resources for read-only access to catalogs, sessions, and orders
* Prompts for reusable conversation patterns
* Support for stdio, HTTP, and SSE transports

### A2A Binding (Agent-to-Agent)

An example Business A2A Agent implementing the UCP Extension.

* **Agent & Client**: [Documentation](a2a/README.md)
* Located in `a2a/`.
* Demonstrates agent-to-agent communication for commerce operations.
* Includes chat client for interactive testing.

## Protocol Binding Comparison

| Binding | Use Case | Transport | Best For |
|---------|----------|-----------|----------|
| REST | Traditional APIs | HTTP | Web/mobile apps, service integration |
| MCP | AI Agents | stdio/HTTP/SSE | LLM integration, conversational commerce |
| A2A | Agent Communication | HTTP | Multi-agent systems, automated workflows |

## Getting Started

Please refer to the specific README files linked above for detailed instructions
Expand Down
Loading