Google UCP — agentic shopping, cart, checkout, orders, delivery
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add ucp --env UCP_API_KEY='<UCP_API_KEY>' -- npx -y @codespar/mcp-ucp~/.codex/config.toml
[mcp_servers.ucp]
command = "npx"
args = ["-y", "@codespar/mcp-ucp"]
env = { UCP_API_KEY = "<UCP_API_KEY>" }
# codex mcp add ucp --env UCP_API_KEY='<UCP_API_KEY>' -- npx -y @codespar/mcp-ucp~/.cursor/mcp.json
{
"mcpServers": {
"ucp": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-ucp"
],
"env": {
"UCP_API_KEY": "<UCP_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"ucp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@codespar/mcp-ucp"
],
"env": {
"UCP_API_KEY": "<UCP_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"ucp": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-ucp"
],
"env": {
"UCP_API_KEY": "<UCP_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"ucp": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-ucp"
],
"env": {
"UCP_API_KEY": "<UCP_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"ucp": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-ucp"
],
"env": {
"UCP_API_KEY": "<UCP_API_KEY>"
}
}
}
}Environment variables
UCP_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.