Using MCP to give your agent shopping superpowers
MCP (Model Context Protocol) lets agents use tools. AgentMall's MCP server gives any compatible agent the ability to look up products, place orders, and track purchases.
MCP — Model Context Protocol — is an open standard for connecting AI agents to external tools. AgentMall ships an MCP server that gives any compatible agent full purchasing capabilities.
Setup
Add to your MCP config (Claude Desktop, Cursor, or any MCP client):
{
"mcpServers": {
"agentmall": {
"command": "npx",
"args": ["@agentmall/mcp"]
}
}
}Available tools
Once connected, your agent gets these tools:
- lookup_product — Check price, availability, variants, and shipping for any product URL
- create_purchase — Place an order with product URL, address, and budget
- get_purchase — Check order status by ID
How agents use it
When you ask your agent "buy me a USB-C cable from Amazon under $15", it:
- Searches for the product (using its own web tools)
- Calls lookup_product to verify price and availability
- Confirms with you
- Calls create_purchase with the URL, your saved address, and budget
- Reports the order ID and estimated delivery
The MPP payment flow happens automatically inside the MCP server.
Compatible agents
Any MCP client works: Claude Desktop, Claude Code, Cursor, Codex, Windsurf, OpenClaw, and more.
Read the full MCP docs: https://www.agentmall.sh/mcp