WP Manifestindependent plugin directory
manifest / ecommerce / ucp-woocommerce

UCP for WooCommerce (Reference Implementation)

EXPERIMENTAL/TEST ONLY - Reference implementation of UCP for WooCommerce. NOT official. Will be deprecated.

by Reference · github.com/jameswlepage/ucp-woocommerce

1stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/jameswlepage/ucp-woocommerce/archive/refs/heads/main.zip

DISCLAIMER: This is an experimental/test implementation only. It is NOT an official WooCommerce plugin and will be deprecated. Do not use in production.

Reference implementation of the Universal Commerce Protocol (UCP) 2026-01-11 for WooCommerce.

Features

  • Business profile at /.well-known/ucp
  • A2A agent-card stub at /.well-known/agent-card.json
  • REST endpoints (native checkout):
    • POST /wp-json/ucp/v1/checkout-sessions
    • PATCH /wp-json/ucp/v1/checkout-sessions/{id}
    • POST /wp-json/ucp/v1/checkout-sessions/{id}/complete
  • MCP (JSON-RPC 2.0) endpoint:
    • POST /wp-json/ucp/v1/mcp

Requirements

  • WordPress 6.0+
  • PHP 8.0+
  • WooCommerce

Security

  • All transport must be HTTPS (the plugin checks webhook URLs and platform profile URLs are https)
  • Optional bearer auth: set WordPress option ucp_wc_bearer_token to require Authorization: Bearer <token> on REST endpoints

Notes

  • This implementation creates WooCommerce orders on complete and stores payment credentials opaquely in order meta
  • It does not attempt to capture funds; integrate with your PSP/gateway to process the received credential

License

GPLv2 or later