UCP profile exists

low

agent_commerce_ucp

Checks if Universal Commerce Protocol (UCP) profile is published.

What does this rule check?

UCP provides a standardized discovery mechanism for content payment capabilities. A UCP profile at /.well-known/ucp declares protocol version, supported services, capabilities, and payment endpoints.

Why is this important?

Without UCP, AI agents cannot discover your content monetization options. UCP enables agents to autonomously purchase content, subscribe, or make micropayments.

How to fix

Serve /.well-known/ucp with protocol version, services, capabilities, and endpoints.

Examples

Incorrect
GET /.well-known/ucp

HTTP/1.1 404 Not Found
Correct
GET /.well-known/ucp

HTTP/1.1 200 OK
Content-Type: application/json

{"protocol": "ucp", "version": "1.0", "services": ["content"], "endpoints": {"checkout": "/ucp/checkout"}}

Agent fix snippet

Copy this snippet and paste it into your AI coding agent to fix this issue automatically.

Serve /.well-known/ucp:

{
  "protocol": "ucp",
  "version": "1.0",
  "services": ["content"],
  "endpoints": {"checkout": "/ucp/checkout"}
}