Tool

UCP Discovery Profile Validator

By Michael E.Updated Sources checked

Short answer

Agent Commerce Optimization's UCP profile validator checks the JSON your store publishes at /.well-known/ucp against structural rules from the Universal Commerce Protocol specification (version 2026-08-25, checked 2026-11-29) and Google's UCP guides. It flags missing members, bad versions, naming and schema-authority failures, and transport issues. It does not fetch URLs, test checkout, or confirm platform approval.

Key takeaways

  • A UCP business profile needs a top-level ucp object with version, services, and payment_handlers; capabilities is optional.
  • Every dev.ucp capability version must equal ucp.version, and the schema URL host must match the capability's reverse-domain namespace.
  • Google recommends REST as the default transport for Native Checkout; MCP is early access and needs version 2026-04-08 or later.
  • Version 1 checks pasted JSON only. It does not fetch your profile or call endpoints.
  • A structurally valid profile proves only that the document is well formed.

Is our UCP profile valid?

The Universal Commerce Protocol (UCP) is an open specification that lets AI platforms discover a business's commerce capabilities and call them through a declared transport. Discovery starts with a JSON profile at /.well-known/ucp. Paste that JSON below, choose the version you intend to support, and the validator lists structural problems with the JSON path of each one. For background, read the UCP guide.

1. Paste your /.well-known/ucp profile

Runs entirely in your browser. This version does not fetch URLs: paste the profile body yourself (for example from curl https://your-store.com/.well-known/ucp).

What does the validator check, and what can't it prove?

Rules encoded (documented in the UCP spec or Google's guides as of 2026-11-29)
CheckSourceCannot prove
Top-level ucp object with version, services, and payment_handlers present (even when empty)UCP spec, profile structureThat the file is served at the right URL, publicly and without redirects
version values are real YYYY-MM-DD dates; mismatch with the version you selectedUCP spec, versioningThat platforms you target support that version
Service entries: transport is rest, mcp, a2a, or embedded; version and https spec present; endpoint is https with no trailing slashUCP spec, service definitionThat the endpoint responds or implements the operations
Capability entries: version, spec, schema present; extends parents are declaredUCP spec, capability definitionThat the referenced schemas exist or match your implementation
dev.ucp capability version equals ucp.version; no duplicate dev.ucp entriesUCP spec (platforms MUST reject a mismatch)Version negotiation with a specific platform
Namespace authority: reversed schema host must equal or prefix the capability name (dev.ucp.* from ucp.dev)UCP spec, namespace bindingThat the publisher is trustworthy (binding proves provenance only)
Signing keys are JWKs of type EC (P-256/P-384) or OKP (Ed25519) and contain no private key materialUCP spec, signing keysThat signatures verify
MCP entry requires version 2026-04-08 or later; REST missing; transport orderingGoogle UCP FAQ and MCP transport guideThat Google has enabled your account or approved your integration

What does a UCP discovery profile contain?

ucp.version
The UCP version the profile declares, as a date (for example 2026-08-25).
ucp.services
An object keyed by service name (such as dev.ucp.shopping). Each value is an array with one entry per transport: rest, mcp, a2a, or embedded.
ucp.capabilities
An object keyed by reverse-domain capability name, such as dev.ucp.shopping.checkout. Extensions such as fulfillment or discount declare the capability they extends.
ucp.payment_handlers
Payment handlers the business supports, keyed by handler name. Required, even if empty.
ucp.supported_versions
Optional map from an older version to a separate leaf profile URL.
keys
A top-level JWK array beside ucp used to verify signatures. Google's 2026-04-08 example names it signing_keys.
Synthetic minimal profile shape (illustrative; not copied from the spec)
{
  "ucp": {
    "version": "2026-08-25",
    "services": {
      "dev.ucp.shopping": [
        { "transport": "rest", "version": "2026-08-25",
          "spec": "https://ucp.dev/...", "schema": "https://ucp.dev/...",
          "endpoint": "https://shop.example.com/ucp/v1" }
      ]
    },
    "capabilities": {
      "dev.ucp.shopping.checkout": [
        { "version": "2026-08-25", "spec": "https://ucp.dev/...", "schema": "https://ucp.dev/..." }
      ]
    },
    "payment_handlers": {}
  },
  "keys": []
}

Which declared capabilities or references fail checks most often?

These are the failure patterns the validator is built to catch, with the spec rule behind each. They are drawn from the rules, not from a measured sample of live profiles. The UCP profile validation errors guide explains fixes in more depth.

FindingWhy it failsFix
Capability version differs from ucp.versionThe spec says a dev.ucp entry's version must equal ucp.version, and platforms must reject a mismatchUpdate every dev.ucp entry when you bump the profile version; list older versions under supported_versions
Authority binding failsA custom capability like com.example.gift_wrap has its schema on a different domainHost the schema on a domain matching your namespace, or rename the capability to your domain's reverse form
extends points to an undeclared capabilityAn extension without its parent has nothing to attach toDeclare the parent (usually checkout) or remove the extension
Missing payment_handlersRequired even when emptyAdd "payment_handlers": {} or your handlers
MCP entry on an older versionGoogle's MCP guide requires 2026-04-08 or laterUpgrade the profile version, or keep REST only
Private key fields in a JWKThe profile is publicRemove d and other private members, then rotate the key

Why doesn't it fetch my profile URL?

Version 1 does not fetch URLs. Browsers block most cross-site requests, and a server-side fetcher would have to follow the spec's safety rules (no redirects, no private or special-use IP addresses, body-size bounds). We would rather not run that until it is built and tested. To get your profile, run curl -s https://your-store.com/.well-known/ucp and paste the result. While you are there, the spec's hosting rules are worth checking by hand: HTTPS, no 3xx redirects, and a Cache-Control header with public and a max-age of at least 60 seconds.

Is the profile I paste stored?

No. Validation runs in your browser; the JSON is not uploaded or logged. Profiles are public documents anyway, but if you paste a draft with private keys in it, the validator will tell you to remove them before you publish.

Frequently asked questions

Which UCP version does the validator support?

It applies the structural rules of the UCP specification as published at ucp.dev on 2026-11-29, whose latest version is 2026-08-25, plus Google's 2026-04-08 implementation guidance. You can select 2026-08-25, 2026-04-08, or 2026-01-23 as the version you expect. The validator warns if the profile declares something else.

Does a clean result mean Google will enable checkout for our store?

No. Google documents its own onboarding and testing, and its FAQ says Merchant Center self-serve checkout validation supports only REST. A valid profile is one prerequisite. Account eligibility and integration testing happen on Google's side.

Should we use the `keys` or `signing_keys` field?

The 2026-08-25 specification describes a top-level keys JWK array. Google's 2026-04-08 example uses signing_keys. The validator accepts either and tells you which one it found, so check which field your target platform reads.

Is MCP transport supported?

UCP defines rest, mcp, a2a, and embedded transports. Google's guide describes MCP as early access for Native Checkout and Cart: publishing an mcp entry does not activate it, and Google enables it per account after testing. REST is Google's recommended default.

Can we add our own capabilities?

Yes, under your own reverse-domain namespace. The dev.ucp.* namespace is reserved for the UCP governing body. The schema URL's host has to match your namespace for the authority binding to pass.

Will you add live URL checks?

Possibly, once a fetcher that follows the spec's safety rules is built and tested. Until then, the page says plainly that it validates pasted JSON only.

Need the profile backed by working endpoints?

We scope UCP integrations after checking platform eligibility and what your commerce platform already provides.

Sources

  1. Universal Commerce Protocol specification overview
  2. UCP versioning
  3. Google: UCP FAQ
  4. Google: UCP latest updates
  5. Google: Publish your UCP profile (2026-04-08)
  6. Google: UCP MCP transport

Platform capabilities, eligibility, and specifications change. Sources were checked on 2026-11-29; confirm the current primary documentation before scoping an implementation. See our editorial policy and methodology.