Universal Commerce Protocol by Google. Agentic shopping: product search, cart, checkout, order tracking, and delivery.
UCP gives your agent 20 tools it calls directly β pick the ones it needs, in Claude, Cursor, or any MCP client.
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 reviewscheck_availability β Check product stock and delivery availability for a specific location// Your agent calls a tool directly β no glue code.
// CodeSpar's managed tier handles OAuth2, token rotation and rate limits.
const result = await session.call("search_products", { /* ... */ });$ npm install @codespar/mcp-ucpAdd this entry to your claude_desktop_config.json (or any MCP-compatible client config).
{
"mcpServers": {
"ucp": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-ucp"
],
"env": {
"UCP_API_KEY": "<your_ucp_api_key>"
}
}
}
}After restart, your agent can call any of the 20 tools below β try search_products first.
Required to authenticate the server. Stored encrypted when using CodeSpar managed hosting.
UCP_API_KEYAPI key for ucp
Each tool is independent β your agent loads only what it needs to reduce context and response time.
search_productsget_productcheck_availabilitylist_merchantscreate_cartadd_to_cartremove_from_cartget_cartMCP is a protocol β any framework that speaks it can mount this server.