mcp-ucp
MCP server by codespar Community
Wraps Google's Universal Commerce Protocol (UCP) as an MCP server for agentic shopping, cart, checkout, orders, delivery and identity. It is deprecated, and its default host did not answer when checked on 2026-09-27.
Install mcp-ucp
Built from the published package, never by AI.
claude mcp add mcp-ucp -e UCP_API_KEY=YOUR_UCP_API_KEY -- npx -y @codespar/mcp-ucpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"mcp-ucp": {
"env": {
"UCP_API_KEY": "YOUR_UCP_API_KEY"
},
"args": [
"-y",
"@codespar/mcp-ucp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"mcp-ucp": {
"env": {
"UCP_API_KEY": "YOUR_UCP_API_KEY"
},
"args": [
"-y",
"@codespar/mcp-ucp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"mcp-ucp": {
"env": {
"UCP_API_KEY": "YOUR_UCP_API_KEY"
},
"args": [
"-y",
"@codespar/mcp-ucp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add mcp-ucp --env UCP_API_KEY=YOUR_UCP_API_KEY -- npx -y @codespar/mcp-ucp{
"mcpServers": {
"mcp-ucp": {
"env": {
"UCP_API_KEY": "YOUR_UCP_API_KEY"
},
"args": [
"-y",
"@codespar/mcp-ucp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add mcp-ucp npx -y @codespar/mcp-ucpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mcp-ucp block.
About
mcp-ucp is an MCP server published by codespar. It wraps Google's Universal Commerce Protocol (UCP) and is described as covering agentic shopping, cart, checkout, orders, delivery and identity. The LATAM catalog README lists it with 20 tools and places it in the Agentic Payment Protocols group.
The package is deprecated on npm and has no live endpoint. The README says its default host, commerce.googleapis.com, returned a generic Google 404 page, and the sandbox host failed the TLS handshake. The maintainers note that UCP is an open specification rather than an API Google hosts. The server is kept for reference and is left out of the catalog quick start.
Written from the project's README and checked against it.
What you need
| Setting | Needed | What it is |
|---|---|---|
UCP_Environment variable, secret | Required | API key for ucp |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Show me how a UCP cart and checkout flow is structured
- Explain which steps an agent would take to place an order with UCP
- Compare UCP with Stripe ACP for agentic checkout
Good to know
- Deprecated on npm and kept for reference only.
- No live endpoint: the default host returned a 404 when checked on 2026-09-27.
- UCP is an open specification, not an API hosted by Google.
- Left out of the catalog quick start and decision tree.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
What you can do with it
- Reference for Google UCP commerce flows
- Studying agentic checkout design
- Reviewing cart and order concepts
Alternatives to mcp-ucp
All alternatives →Spree is an open-source headless commerce platform for B2B, wholesale and multi-vendor marketplace stores. Its built-in MCP server lets Claude, ChatGPT, Cursor or any MCP client manage a store in natural language.
Spree Commerce provides developer docs and agent skills that help AI coding agents build headless ecommerce on its APIs. It also connects agents to a documentation MCP server so they can search the latest docs.
Crossly MCP servers give an AI agent the Crossly APIs as tools. The seller package runs a reselling account, and the buyer package manages a shopper's cart, orders, wishlists and offers.
A command line tool for setting up Shopify Dev MCP server
Lets an AI agent design, fill with real store data, render and publish pages for a Store Builder site. It runs as a local MCP stdio server with no manual clicking needed.
Shopping agent: compares Amazon, Walmart, eBay, Best Buy, Target, Shopify; buys only with your OK
Compare with Spree Commerce: open-source B2B and marketplace ecommerce, Spree Commerce developer docs for AI agents or Crossly
mcp-ucp: common questions
Is mcp-ucp usable today?
The source says no. The package is deprecated and its default host did not serve a working API when checked on 2026-09-27.
What protocol does mcp-ucp cover?
It covers Google's Universal Commerce Protocol, described as agentic shopping, cart, checkout, orders, delivery and identity.
Why was mcp-ucp deprecated?
The README says the default host returned a generic 404 page and the sandbox host failed the TLS handshake. It also notes that UCP is an open specification, not an API Google hosts.
How do I install mcp-ucp?
In Claude Code run claude mcp add mcp-ucp -e UCP_API_KEY=YOUR_UCP_API_KEY -- npx -y @codespar/mcp-ucp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is mcp-ucp the official server?
mcp-ucp is a community project by codespar, not verified by a company domain.
Is mcp-ucp free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is mcp-ucp safe to use?
It scores 82 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to mcp-ucp?
Similar MCP servers: Spree Commerce: open-source B2B and marketplace ecommerce, Spree Commerce developer docs for AI agents, Crossly, Dev MCP.
Does mcp-ucp work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
