Amazon MCP
Enables shopping on Amazon: search products, view details and variants, manage the cart, preview and place orders with user confirmation, view recent orders and tracking, and set price-drop watches.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Read this first
Not affiliated with Amazon. "Amazon" is a trademark of Amazon.com, Inc., named only to describe what this works with.
Amazon's Conditions of Use apply to you, and they restrict automated access. Amazon may challenge, sign out or block agents like this one. Use it for your own shopping, at human pace, at your own risk.
Nothing is bought without your confirmation. See How buying works.
What you can ask
"Find me good gel pens under $15 and add the best one to my cart"
"What's in my cart?" / "Remove the stapler"
"Find this shirt" (with a photo) → "medium, navy" → "add it"
"Buy the ticked items" → you approve the order in a confirmation
"Where's my package?" / "Reorder the coffee filters"
"Tell me when the Lamy Safari drops under $25"
In apps that support MCP Apps (Claude on the web, desktop and phone, ChatGPT, VS Code), results show as cards with photos and + Cart, Details, size and colour pickers, and a checkout card. Elsewhere you get text and images.

Related MCP server: Amazon MCP Server
Install
You need Bun (curl -fsSL https://bun.sh/install | bash).
Claude Code
claude mcp add -s user amazon -- bunx @frostn/amazon-mcpClaude Desktop (Settings → Developer → Edit Config), Cursor (~/.cursor/mcp.json) and most other apps:
{
"mcpServers": {
"amazon": {
"command": "bunx",
"args": ["@frostn/amazon-mcp"]
}
}
}If the app can't find bunx, use its full path: ~/.bun/bin/bunx, written out as /Users/you/.bun/bin/bunx.
Sign in once. Ask your agent to "sign me in to Amazon", or run:
bunx @frostn/amazon-mcp signinA browser window opens on Amazon's real sign-in page and you sign in there. The agent never sees your password. Before the first sign-in, install the browser it uses:
bunx playwright install chromiumWithout a sign-in, everything works on an anonymous guest cart. That cart moves into your account cart when you sign in.
Use it from your phone
Claude on the phone can't start programs on your computer, so the computer runs the server and the phone connects to it.
On your computer, install cloudflared (
brew install cloudflared), then run:bunx @frostn/amazon-mcp serveIt prints a URL like
https://something.trycloudflare.com/mcp/3f9c….On claude.ai, open Settings → Connectors → Add custom connector and paste the URL.
It now works in the Claude iPhone and Android apps too. To sign in from the phone, ask Claude to "sign me in to Amazon". You get a one-time link to Amazon's real sign-in page.
Good to know:
The URL is the key. It contains a random secret, and every other path returns 404. Don't share it.
serve --new-urlmakes a new one, after which you update the connector.The computer must stay on and awake while you use it, with the window open.
The address changes on restart with the free quick tunnel. For a fixed one, point your own URL at the port and pass it in. For example, with Tailscale Funnel:
tailscale funnel 8765bunx @frostn/amazon-mcp serve --public-url https://your-mac.your-tailnet.ts.netA named Cloudflare tunnel or your own server works the same way.
--portpicks the local port (default 8765), and--localskips the tunnel.
How buying works
The agent can ask to buy, but only you can say yes.
The agent ticks the cart items and calls
amazon_order_buy. It reads Amazon's real order page: items, address, card (brand and last 4 digits), delivery and total.Your app shows you a confirmation with those details. The order is placed only if you accept it there. The first time, you also accept TERMS.md.
Some apps can't show a confirmation (for example, the Claude Code tab). Then the order card shows a 6-digit code that only you can see, because the code never goes to the model. You type "confirm 123456" in the chat. The code works once, lasts 10 minutes and allows 3 tries.
Before placing anything it re-reads the order page. If the total or the items changed, it stops. It sends exactly one place-order request.
You can always cancel in Amazon → Your Orders. Everything else (search, cart, orders, tracking, price watch) never buys.
Tools
tool | does |
| results with photos, prices and ratings; |
| autocomplete |
| details for an ASIN or any Amazon product link, including size and colour options |
| pick options ("medium", "navy") and get that exact version's price and stock |
| your Amazon cart (or a guest cart when signed out); tick which items to buy |
| order card: address, card, delivery, total (read-only) |
| buy with your confirmation (see above) |
| recent orders, Buy again, where's my package |
| price-drop alerts ( |
| sign-in and session |
Command line
Every tool has a command too:
bunx @frostn/amazon-mcp search fountain pen --max 30bunx @frostn/amazon-mcp cart viewbunx @frostn/amazon-mcp helpAdd --json for raw data.
Privacy and identification
Your session lives in
~/.amazon-agent/session.json(mode 600) on your computer. Nothing is sent anywhere except Amazon, plus the tunnel when you useserveor the sign-in link.Every request says it comes from an AI shopping agent:
amazon-mcp/1.0 (AI shopping agent; +https://github.com/Frostn1/amazon-mcp)is added to the user agent. It never pretends to be a person. You can change the text withAMAZON_AGENT_TAG.It never tries to get past a CAPTCHA or bot check. If Amazon challenges a request, it says so and stops.
Requests are throttled to human pace.
Sign-in options
Window (default when you're at the computer): a visible Chromium window on Amazon's sign-in page.
Link (default in
servemode; setAMAZON_SIGNIN_LINK=onfor stdio): a one-time link to a live view of Amazon's sign-in page running on your computer, so you can sign in from your phone.It's a 256-bit token. It expires in 10 minutes and locks to the first device that opens it.
The remote browser can only open Amazon pages.
Everything closes once you're signed in.
It needs
cloudflared, or setAMAZON_SIGNIN_PUBLIC_URL/AMAZON_SIGNIN_PORTto your own URL.
Keep-alive: Amazon rotates session tokens, and each rotation is saved. An idle session is refreshed after 12 hours. When a sign-in really expires, the agent tells you and offers a new link.
Settings
env | default | |
|
|
|
|
| session, browser profile, serve secret |
| off (stdio), on (serve) | allow the sign-in link |
|
|
|
| see above | the agent identification text |
Development
git clone https://github.com/Frostn1/amazon-mcp && cd amazon-mcp && bun installbun testbun run smokebun run viewbun testruns offline tests on hand-made page fixtures.bun run smokeis a live check of the MCP tools on a guest session.bun run viewpreviews the cards at http://127.0.0.1:4877/.API_MAP.md documents the Amazon web endpoints it uses.
Amazon changes its pages often. If something breaks, open an issue with the command you ran and the error.
License
MIT. Not affiliated with, endorsed by or sponsored by Amazon.
This server cannot be deployed
Maintenance
Related MCP Connectors
Shopping MCP for AI agents: search, compare, Amazon buy links. Auto-register.
AMZScout Skill + MCP gives AI agents live access to real Amazon marketplace data across 14 Amazon marketplaces. Analyze any ASIN, validate product ideas, research niches, compare competitors, discover profitable keywords, and build data-driven PPC strategies using trusted Amazon insights instead of AI assumptions. Works with Claude, ChatGPT, Cursor, and any other MCP-compatible AI client. To connect, you'll need an AMZScout API plan and authorize your account. Get access and view pricing here: https://learn.amzscout.net/amazon-product-api-for-ai-agents
Connect Amazon Seller Central to Claude or ChatGPT via MCP. Orders, inventory, pricing, fees, FBA.
Amazon competitor research for Claude, ChatGPT and other MCP clients: complaint topics from Amazon's "Customers say" summary of all reviews, 90-day price/rank/review history, listing audits (0-100), keyword rankings with who's advertising, and daily Competitor Watch emails when a rival's price, stock, rank or complaints change. 12 Amazon marketplaces, plus Shopify store teardowns and tracking. 25 free credits. Sample: zonrival.com/sample
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 interaction with Amazon services through AI assistants, allowing users to search products, manage their cart, view order history, and place orders using natural language.3 npmMIT
- 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.3 npm57MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to search products, manage cart, place orders, and track shipments on Amazon via browser automation.9 npm2MIT