How to make Claude, Cursor, and OpenClaw shop on Amazon, Walmart, and Target
Step-by-step guide to give any AI coding agent the ability to buy products from major retailers. Works with Claude Code, Cursor, Codex, Windsurf, and OpenClaw.
Want your AI agent to buy you things from Amazon? Here's how to set it up in under 2 minutes for every major agent.
Claude Code
The fastest setup. One command:
$ npx skills add agentmallsh/agentmallNow in Claude Code:
You: /agentmall buy a 64GB USB drive from Amazon, ship to 123 Main St SF CA 94105, max $25Claude finds the product, confirms the price, places the order via AgentMall, and returns your order ID.
Cursor
Add the AgentMall MCP server to your Cursor config:
- Open
.cursor/mcp.jsonin your project - Add:
{
"mcpServers": {
"agentmall": {
"command": "npx",
"args": ["@agentmall/mcp"]
}
}
}- Restart Cursor
- Ask: "Use agentmall to buy headphones from Amazon under $30"
Cursor will use the lookup_product and create_purchase MCP tools automatically.
OpenClaw
Install from ClawHub:
$ openclaw skills install agentmallOr manually:
$ mkdir -p ~/.openclaw/skills/agentmall
$ curl -o ~/.openclaw/skills/agentmall/SKILL.md \
https://raw.githubusercontent.com/agentmallsh/agentmall/main/SKILL.mdThen ask any OpenClaw agent to buy something. The skill handles the rest.
Codex (OpenAI)
Same MCP setup as Cursor. Add to your Codex MCP config:
{
"mcpServers": {
"agentmall": {
"command": "npx",
"args": ["@agentmall/mcp"]
}
}
}Windsurf
Windsurf supports MCP natively. Add the same config block to your Windsurf MCP settings.
Any agent (raw API)
If your agent can make HTTP requests, it can use AgentMall directly:
$ curl -X POST https://api.agentmall.sh/api/purchases \
-H "Content-Type: application/json" \
-d '{
"items": [{"product_url": "https://amazon.com/dp/B0DDQJLVJW", "quantity": 1}],
"delivery_address": {
"first_name": "Jane", "last_name": "Doe",
"address_line1": "123 Main St",
"city": "San Francisco", "state": "CA",
"postal_code": "94105",
"phone_number": "+14155550100",
"country": "US"
},
"max_budget": 2500
}'The 402 MPP flow handles payment. No API keys needed.
What you can buy
500M+ products across 11 retailers: Amazon, Walmart, Target, Best Buy, Home Depot, eBay, Lowe's, Wayfair, Ace Hardware, 1-800-Flowers, and Pokemon Center.
One product URL. One API call. We handle the rest.
Read more: https://www.agentmall.sh/api-reference