Skip to main content
U

UCP

@codespar/mcp-ucp Β· v0.1.5

🌐 GlobalProtocolsAuth · API Keybeta20 tools4 env varsdeprecated on npm

Universal Commerce Protocol by Google. Agentic shopping: product search, cart, checkout, order tracking, and delivery.

Deprecated on npm: No live endpoint: UCP is a spec; commerce.googleapis.com serves no API. See https://github.com/codespar/mcp-dev-latam/tree/main/packages/payments/ucp

MIT Β· deprecated on npm

Limitations

  • The package manifest does not declare 3 of the 4 variables the code reads.
  • The npm package ships no server.json manifest.
Package
@codespar/mcp-ucp
Version
0.1.5
npm dist-tag
latest
Category
Protocols
Auth
API Key
Country
🌐 Global
License
MIT
Transport
stdio Β· streamable-http

Quickstart

Before you use it.

This package is deprecated on npm, so this page offers no install command or client config. No live endpoint: UCP is a spec; commerce.googleapis.com serves no API. See https://github.com/codespar/mcp-dev-latam/tree/main/packages/payments/ucp

Environment variables4 variables
UCP_API_KEYAPI key for ucprequiredsecret
UCP_BASE_URLRead by the code; the package manifest does not declare it.
UCP_MERCHANT_IDRead by the code; the package manifest does not declare it.
UCP_SANDBOXRead by the code; the package manifest does not declare it.

Names read from the package code (@codespar/mcp-ucp@0.1.5). Descriptions and flags come from its manifest. Self-hosted, you hold the credentials.

Tools

What your agent can call.

20 tools, as the package's tools/list returns them.

search_products

Search merchant product catalog. Supports text query, category filters, price range, and sorting.

get_product

Get detailed product information including pricing, variants, availability, and reviews

check_availability

Check product stock and delivery availability for a specific location

list_merchants

List UCP-compatible merchants with optional category and region filters

create_cart

Create a new shopping cart for a merchant

add_to_cart

Add an item to the shopping cart

remove_from_cart

Remove an item from the shopping cart

get_cart

Get cart contents, item totals, taxes, and shipping estimates

clear_cart

Remove all items from the cart

get_delivery_options

Get available shipping and delivery options for a cart

initiate_checkout

Start the checkout process for a cart. Returns a checkout session with payment options.

apply_payment

Apply a payment method to the checkout session. Supports card, AP2 token, or x402.

Names and descriptions come from the package's tools/list (@codespar/mcp-ucp@0.1.5). A kind (read, write, delete) is shown only when the package annotates its tools or each tool was verified one by one; neither exists for this server yet.

Compatibility

MCP is a protocol. Any client that speaks it can mount this server.

The CodeSpar runtime does not route this server. Mount it in your client over stdio Β· streamable-http.

Protocol

Any MCP client

stdio Β· streamable-http

Questions

Before you install.

How do I install the UCP MCP server?

The npm package @codespar/mcp-ucp is deprecated, so this page shows no install command for it. The registry says: No live endpoint: UCP is a spec; commerce.googleapis.com serves no API. See https://github.com/codespar/mcp-dev-latam/tree/main/packages/payments/ucp

What can my agent do with UCP?

UCP exposes 20 tools for protocols. Your agent calls them directly; the full list is above.

How does UCP authenticate, and how are credentials stored?

UCP uses API Key. Self-hosted, you hold the credentials: the server reads them from its environment variables.

How does UCP handle upstream API changes?

Every server is versioned independently on npm. This one is deprecated (see the notice above), so the page does not suggest pinning a version.

Is UCP open source? How do I report a bug?

Yes. UCP is MIT-licensed and published on npm as @codespar/mcp-ucp, source on GitHub (link in the Details panel). Report issues on the package repository; security issues go to security@codespar.dev, and we respond within 24 hours.

Start in seconds.

This package is deprecated on npm; read the notice above before using it.

UCP β€” MCP server Β· 20 tools | CodeSpar