mcp-amazon
Search products, manage cart, place orders, and track shipments on Amazon via browser automation.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-amazonSearch for AirPods Pro and add to cart"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@striderlabs/mcp-amazon
Amazon MCP Server by Strider Labs — give AI agents the ability to search products, manage your cart, place orders, and track shipments on Amazon via browser automation.
Features
Product Search — search Amazon with full result details (ASIN, price, ratings, Prime badge)
Product Details — fetch complete product info by ASIN or URL
Cart Management — add items, view cart, clear cart
Order Placement — preview and place orders with dual-confirmation safety
Order Tracking — track shipments with status and carrier info
Order History — retrieve past orders
Prime Status — check Prime membership and benefits
Address Management — set delivery address
Session Persistence — cookies saved to
~/.strider/amazon/across sessionsStealth Mode — random delays, user agent rotation, webdriver masking to reduce bot detection
Related MCP server: Amazon MCP Server
Installation
npm install -g @striderlabs/mcp-amazon
# Install Playwright browsers (required)
npx playwright install chromiumMCP Client Configuration
Claude Desktop (~/.claude/claude_desktop_config.json)
{
"mcpServers": {
"amazon": {
"command": "striderlabs-mcp-amazon"
}
}
}Generic MCP Client
{
"mcpServers": {
"amazon": {
"command": "npx",
"args": ["-y", "@striderlabs/mcp-amazon"]
}
}
}Available Tools
Tool | Description |
| Check login status and session info |
| Initiate login flow (returns URL + instructions) |
| Clear session and cookies |
| Search products by keyword |
| Get product details by ASIN or URL |
| Add product to cart (ASIN, URL, or query) |
| View cart contents and subtotal |
| Remove all items from cart |
| Preview order before placing |
| Place order (requires |
| Track order by ID |
| Get order history |
| Check Prime membership status |
| Set delivery address |
Usage Examples
Search and add to cart
Search for "AirPods Pro" on Amazon
→ amazon_search({ query: "AirPods Pro", maxResults: 5 })
Add the first result to cart
→ amazon_add_to_cart({ asinOrQuery: "B0BDHWDR12", quantity: 1 })Place an order
Preview my order before placing
→ amazon_preview_order()
Place the order (user must confirm first)
→ amazon_place_order({ confirm: true })Track a shipment
Track order 123-4567890-1234567
→ amazon_track_order({ orderId: "123-4567890-1234567" })Authentication Flow
Amazon requires manual login (headless browsers cannot complete Amazon's full auth flow including 2FA):
Run
amazon_login— it returnshttps://www.amazon.com/ap/signinOpen that URL in your browser and log in with your Amazon credentials
Complete any 2-factor authentication
Run
amazon_statusto verify the session is detectedCookies are saved to
~/.strider/amazon/cookies.jsonfor future sessions
Configuration
Session data is stored in:
~/.strider/amazon/
├── cookies.json # Browser session cookies
└── session.json # Cached session metadataTo reset: run amazon_logout or delete the ~/.strider/amazon/ directory.
Order Safety
amazon_place_order requires confirm: true to actually place an order:
Without
confirm: true— returns a preview (same asamazon_preview_order)With
confirm: true— places the order immediately
Never set confirm: true without explicit user consent.
Bot Detection
Amazon has aggressive bot detection. This server includes:
Random delays between actions (500–2000ms)
User agent rotation (Chrome/Safari on macOS/Windows)
Webdriver property masking
Browser plugin/language spoofing
Proper viewport and screen resolution
If you receive a CAPTCHA error: visit amazon.com in your regular browser, complete the CAPTCHA, then retry. Cookies will be re-used in subsequent calls.
Technical Details
Runtime: Node.js 18+, ES modules
Browser: Playwright Chromium (headless)
Transport: MCP stdio
Session storage:
~/.strider/amazon/
Limitations
Requires manual login (no programmatic auth for Amazon)
CAPTCHA challenges must be completed in a real browser
Payment method must be pre-configured on your Amazon account
Amazon's UI changes may break DOM selectors — report issues on GitHub
Not affiliated with Amazon.com, Inc.
Troubleshooting
"CAPTCHA detected" Visit amazon.com in your browser, complete the CAPTCHA, then retry.
"Not logged in"
Run amazon_login, open the URL, log in, then run amazon_status.
"Add to Cart button not found"
The item may be sold by a third-party seller requiring seller selection, or it may be unavailable. Try amazon_get_product first to verify availability.
"Page load timed out" Check your internet connection. Amazon pages can be slow on first load.
Development
git clone https://github.com/striderlabs/mcp-amazon
cd mcp-amazon
npm install
npx playwright install chromium
npm run build
npm startLicense
MIT — see LICENSE
Built by Strider Labs
This server cannot be deployed
Maintenance
Related MCP Connectors
Product search for AI agents: Amazon + Shopify, cart-to-checkout buy path. Pay-per-call, no API key.
Real-time Amazon product, seller, and search data for AI agents across 21 marketplaces.
Control a real browser from AI agents: navigate, click, type, screenshot, read the page.
Web search, browser automation, scraping, crawling and CAPTCHA solving for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to search products, manage shopping carts, place orders, and retrieve order history from Amazon and Target accounts.2MIT
- AlicenseNot gradedqualityDmaintenanceEnables users to search for products, retrieve details, and manage their shopping cart on Amazon through the MCP framework. It also supports viewing order history and provides a demonstration of ordering capabilities within AI interfaces.6 npm54MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to interact with your personal Amazon cart through browser automation, allowing search, add to cart, and view cart functionalities.7 npm22MIT
- AlicenseBqualityFmaintenanceEnables AI agents to search products, manage cart, and track orders on Walmart.com via browser automation.1229 npm4MIT