Linux 软件免费装

Vixns Commerce Profile for Universal Commerce Protocol

开发者 vixns
更新时间 2026年9月9日 16:50
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce discovery well-known ucp ai-agents

下载

详情介绍:

Vixns Commerce Profile for Universal Commerce Protocol writes an honest business profile JSON to a static file at /.well-known/ucp, can expose UCP catalog REST (search / lookup / product), and can publish keys[] (JWK Set) with rotation for Web Bot Auth type=jwks_uri interop. This is a third-party WooCommerce integration by Vixns. It is not an official Universal Commerce Protocol product.

安装:

  1. Install and activate WooCommerce.
  2. Upload the vixns-commerce-profile-ucp folder to /wp-content/plugins/ (or install the ZIP via Plugins → Add New).
  3. Activate Vixns Commerce Profile for Universal Commerce Protocol.
  4. Configure your web server to serve /.well-known/ucp as static JSON with Cache-Control: public, max-age≥60 and no redirects.
  5. Open WooCommerce → Settings → Vixns UCP, set the canonical HTTPS host if needed, then Generate now.
Example nginx location (adjust root): ` location = /.well-known/ucp { default_type application/json; add_header Cache-Control "public, max-age=300" always; add_header Access-Control-Allow-Origin "*" always; add_header Access-Control-Allow-Methods "GET, HEAD" always; try_files /.well-known/ucp =404; } Deny private key material (nginx ignores .htaccess): location ^~ /wp-content/uploads/vixns-commerce-profile-ucp/private/ { deny all; return 403; } `

常见问题:

How do I serve /.well-known/ucp?

See the nginx example under Installation. Do not apply www↔apex redirects to this URI — UCP platforms do not follow 3xx on the profile URL.

Web Bot Auth

Use: Signature-Agent: sig1="https://yoursite/.well-known/ucp";type=jwks_uri Omitting type defaults to directory, which does not read this static profile.

Catalog REST

Base: /wp-json/ucp/v1 — POST /catalog/search, /catalog/lookup, /catalog/product. Requires header: UCP-Agent: profile="https://yoursite/.well-known/ucp". There is no WordPress cookie auth on these routes (agent discovery). Disable Catalog REST in settings if you do not want them.

Where are private keys stored?

Default: wp-content/uploads/vixns-commerce-profile-ucp/private/. Prefer a path outside the document root via the vixns_ucp_private_key_dir filter. On nginx, always deny the default directory explicitly.

Is this an official Universal Commerce Protocol plugin?

No. It is developed by Vixns as a third-party WooCommerce integration.

更新日志:

0.4.0 0.3.0 0.2.0 0.1.0