Skip to content
FunCoding

mcp-ucp

Listed in the official MCP Registry

Google UCP — agentic shopping, cart, checkout, orders, delivery

Star
278
Category
Finance
Version
v0.1.4
License
MIT
Last commit
Nov 13, 2026

@codespar/mcp-ucp

Deprecated: no live endpoint. Measured on 2026-09-27: commerce.googleapis.com answers every path with Google's generic Error 404 (Not Found) page, and sandbox.commerce.googleapis.com (used with UCP_SANDBOX=true) fails the TLS handshake, because the certificate served there covers *.googleapis.com and not the extra label. UCP is an open specification, not an API Google hosts. No tool in this server reaches a service. The package is deprecated on npm and stays in this repository for reference only. If you have a working endpoint, point the server at it with UCP_BASE_URL. To bring the package back, open an issue in mcp-dev-latam with the provider's documented base URL.

MCP server for Google UCP — Universal Commerce Protocol for agentic shopping, cart, checkout, orders, and delivery

npm License: MIT

What is UCP?

Universal Commerce Protocol (UCP) is Google's open standard for agentic commerce. It enables AI agents to autonomously discover products, build carts, checkout, manage orders, and track deliveries — without screen-scraping or bespoke merchant integrations.

UCP works alongside AP2 (payment processing) and A2A (agent-to-agent interoperability), with MCP as the transport layer.

Quick Start

Claude Desktop

{
  "mcpServers": {
    "ucp": {
      "command": "npx",
      "args": ["-y", "@codespar/mcp-ucp"],
      "env": {
        "UCP_API_KEY": "your-key",
        "UCP_MERCHANT_ID": "your-merchant-id"
      }
    }
  }
}

Claude Code

claude mcp add ucp -- npx @codespar/mcp-ucp

Tools (20)

ToolPurpose
search_productsSearch merchant product catalog.
get_productGet detailed product information including pricing, variants, availability, and reviews
check_availabilityCheck product stock and delivery availability for a specific location
list_merchantsList UCP-compatible merchants with optional category and region filters
create_cartCreate a new shopping cart for a merchant
add_to_cartAdd an item to the shopping cart
remove_from_cartRemove an item from the shopping cart
get_cartGet cart contents, item totals, taxes, and shipping estimates
clear_cartRemove all items from the cart
get_delivery_optionsGet available shipping and delivery options for a cart
initiate_checkoutStart the checkout process for a cart.
apply_paymentApply a payment method to the checkout session.
confirm_orderConfirm and place the order.
get_orderGet order details including items, status, payment, and shipping info
list_ordersList orders with optional filters
cancel_orderCancel a pending or confirmed order
request_returnRequest a return or refund for a delivered order
track_shipmentGet real-time shipment tracking details for an order
link_identityLink buyer identity for personalization and order history across merchants
get_profileGet buyer profile, preferences, and linked merchants

UCP + AP2 + A2A — The Full Stack

AI Agent
  └── MCP (tool interface)
       └── UCP (commerce: discover → cart → checkout → order → delivery)
            ├── A2A (agent-to-agent discovery & communication)
            └── AP2 (payment: authorize → execute → settle)

Environment Variables

VariableRequiredDescription
UCP_API_KEYYesSent as Authorization: Bearer
UCP_MERCHANT_IDNoSent as the X-Merchant-Id header
UCP_SANDBOXNotrue switches BASE_URL to https://sandbox.commerce.googleapis.com/ucp/v1, which fails TLS

Enterprise

Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.

Authentication

The server sends UCP_API_KEY as an Authorization: Bearer header and UCP_MERCHANT_ID as an X-Merchant-Id header on every request (src/index.ts:78-83).

There is no portal issuing those credentials. The developer portal this README used to link, developers.google.com/agents/commerce, answers HTTP 404.

License

MIT

Similar MCP servers

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 108 tools.

KOkoala73/worldmonitor91k216 new stars in the last 7 days

Featured

CCXT

Connect to 100+ exchanges and prediction markets, fetch market data, manage orders and accounts.

CCccxt/ccxt45k68 new stars in the last 7 days

changedetection.io (official)

Official changedetection.io MCP: web page change tracking, back-in-stock and price alerts.

DGdgtlmoon/changedetection.io36k138 new stars in the last 7 days

Finance Database

Equities, ETFs, indices, currencies and cryptos, categorised.

JEJerBouma/FinanceDatabase9.7k25 new stars in the last 7 days

tradingview-mcp

AI-assisted TradingView chart analysis — connect Claude Code to your TradingView Desktop for personal workflow automation

TRtradesdontlie/tradingview-mcp7.4k66 new stars in the last 7 days

Finance Toolkit

1100+ transparent financial methods calculated from raw statements, not third-party endpoints.

JEJerBouma/FinanceToolkit5.6k13 new stars in the last 7 days