MA

madebydia/amazon-mcp-server

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

22 stars 10 forks 品質 75 トレンド 4MIT

Amazon カートの MCP サーバー Poke.com で作られたが、みんなのために働く.

概要

ローカル MCP (Model Context Protocol) サーバで、AI アシスタントが、ブラウザの自動化を通じて、あなたの個人的な Amazon カートと対話することができます。 Claude Desktop、Poke、およびMCP互換クライアントで動作します。 - Amazonの利用規約に従うことを確実にするために - このプロジェクトは - 商用オートメーションや再販のためにではなく - - - - 著者は、Amazonのポリシーや結果の侵害について一切の責任を負わない - これは独立した非公式ツールです - Amazonは、潜在的な機能の破壊 - 過剰な自動化は、アカウントの制限や禁止に起因する可能性がある、いつでも、ウェブサイトやポリシーを変更することがあります 本ソフトウェアを使用することにより、これらのリスクを認め、承諾するものとします。 - 検索クエリで製品を見つける - ビットコイン - Amazonカートにアイテムを自動追加 - { - 現在のカートのコンテンツとサブトタルをチェック - - シームレスな使用のためにローカルに保存されたセッション - クーポン - ngrokトンネルによるベアラートークン認証 - ノード.

概要(AI 翻訳)

ローカル MCP (Model Context Protocol) サーバで、AI アシスタントが、ブラウザの自動化を通じて、あなたの個人的な Amazon カートと対話することができます。 Claude Desktop、Poke、およびMCP互換クライアントで動作します。

⚠️ 重要な免責事項

このツールは、ブラウザの自動化を使用してAmazon.comとやり取りします。

  • ユーザーは、Amazonの利用規約に従った使用を保証するためにのみ責任を負う
  • このプロジェクトは、個人的、教育的使用のみ** - 商用オートメーションや再販のために -あなた自身のリスクで使用 - 著者は、Amazonのポリシーまたは結果の違反について責任を負わないと仮定します -Amazonと提携していない - これは独立した非公式ツールです
  • Amazonは、ウェブサイトやポリシーをいつでも変更し、潜在的な機能を破壊する可能性があります
  • 過剰な自動化により、アカウントの制限や禁止が生じる場合があります。

本ソフトウェアを使用することにより、これらのリスクを認め、承諾するものとします。

##特徴

  • 検索クエリで製品を探す - ソースを検索
  • d カートに追加* - Amazonカートにアイテムを自動的に追加
  • カートを見る** - 現在のカートの内容とサブトタルのチェック
  • 🔐Login Persistence - シームレスな使用のためにローカルに保存されたセッション

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Amazon Cart MCP Server

Local MCP (Model Context Protocol) server that enables AI assistants to interact with your personal Amazon cart through browser automation. Works with Claude Desktop, Poke, and any MCP-compatible client.

⚠️ Important Disclaimer

This tool uses browser automation to interact with Amazon.com.

  • Users are solely responsible for ensuring their use complies with Amazon’s Terms of Service
  • This project is for personal, educational use only - not for commercial automation or reselling
  • Use at your own risk - the authors assume no liability for any violations of Amazon’s policies or consequences thereof
  • Not affiliated with Amazon - this is an independent, unofficial tool
  • Amazon may change their website or policies at any time, potentially breaking functionality
  • Excessive automation may result in account restrictions or bans

By using this software, you acknowledge and accept these risks.

Features

  • 🔍 Search Amazon - Find products by search query
  • 🛒 Add to Cart - Add items to your Amazon cart automatically
  • 👀 View Cart - Check current cart contents and subtotal
  • 🔐 Login Persistence - Session saved locally for seamless use
  • 🌐 Secure Access - Bearer token authentication via ngrok tunnel

Quick Start

Prerequisites

  • Node.js v20 or higher
  • npm or yarn
  • ngrok account (free tier works)

Installation

  1. Clone the repository:

    git clone https://github.com/madebydia/amazon-mcp-server.git
    cd amazon-mcp-server
    
  2. Install dependencies:

    npm install
    
  3. Configure environment:

    cp .env .env.local  # Optional: keep your settings separate
    

    Edit .env and set:

    • AUTH_TOKEN - Generate a secure random token (required)
    • HEADLESS=false - For first-time login
    • AMAZON_DOMAIN=amazon.com - Or your local Amazon domain
  4. Build the project:

    npm run build
    
  5. Start the server:

    npm start
    
  6. First-time login:

    • A Chrome browser window will open
    • Log into your Amazon account manually
    • Session will be saved in ./user-data/
    • After logging in once, you can:
      • Stop the server (Ctrl+C)
      • Set HEADLESS=true in .env
      • Restart with headless mode
  7. Expose via ngrok (in a separate terminal):

    npm run tunnel
    # Note the HTTPS URL (e.g., https://abc123.ngrok.io)
    

Connecting to Poke

  1. Copy your ngrok URL from the terminal

  2. In Poke, add a custom MCP integration:

    • URL: https://your-ngrok-url.ngrok.io/sse
    • API Key: Your AUTH_TOKEN from .env
    • Type: MCP Server
  3. Important: Always use the /sse endpoint!

  4. Test the connection by asking Poke:

    • “What tools do you have?”
    • “Search Amazon for wireless mouse”
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "amazon-cart": { "command": "node", "args": ["/absolute/path/to/amazon-mcp-server/dist/server.js"], "env": { "AUTH_TOKEN": "your-token-here", "HEADLESS": "true", "AMAZON_DOMAIN": "amazon.com" } } } }