MA

mansournorouzi/amazon-sp-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

50 stars 8 forks 품질 73 트렌드 27

mansournorouzi/amazon-sp-mcp는 MCP 서버 후보가 https://github.com/mansournorouzi/amazon-sp-mcp.에서 수입되었습니다

개요

mansournorouzi/amazon-sp-mcp는 MCP 서버 후보가 https://github.com/mansournorouzi/amazon-sp-mcp.에서 수입되었습니다

개요(AI 번역)

SP-API를 통해 Claude를 Amazon 판매자 Central에 연결하는 모델 Context Protocol (MCP) 서버. 판매 데이터, 재고, 보고서, 수수료, reimbursements 및 분석을위한 자연 언어 쿼리를 활성화합니다.

**보안 공지 (3 월 31, 2026) : ** axios npm 패키지는 공급 체인 공격에 대한 간략하게 손상되었습니다. 악성 버전 1.14.1 과 0.30.4] 사이에 게시되었습니다 00:21 과 03:15 UTC 에 행진 31 하기 전에 npm 제거 그들. 이 버전에는 원격 액세스 트로잔을 설치 한 트로잔화 된 의존성 (plain-crypto-js)이 포함되어 있습니다. **이 repo의 axios 의존성은 1.14.0] (마지막 깨끗한 버전)에 덧붙였습니다. ** 공격 창 중 npm install ran node_modules] 폴더를 삭제하고 다시 설치하십시오. 참조 : Snyk 고문, Datadog 분석.

중요한 특징: AWS Credentials 필요 없음

10월 2023일 현재 Amazon SP-API가 더 이상 AWS IAM 자격 증명이 필요합니다. 이 서버는 **LWA (Amazon로 로그인) OAuth 2.0 만 **, 설정 간단한 및 더 안전한 만들기.

특징

핵심 가동

-Orders: 주문, 주문 세부 사항 및 주문 항목 받기

  • Inventory: FBA 재고 요약 및 상세한 건강 메트릭

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

Amazon SP-API MCP Server

A Model Context Protocol (MCP) server that connects Claude to Amazon Seller Central via the SP-API. Enables natural language queries for sales data, inventory, reports, fees, reimbursements, and analytics.

Security Notice (March 31, 2026): The axios npm package was briefly compromised in a supply chain attack. Malicious versions 1.14.1 and 0.30.4 were published between 00:21 and 03:15 UTC on March 31 before npm removed them. These versions contained a trojanized dependency (plain-crypto-js) that installed a remote access trojan. This repo’s axios dependency has been pinned to 1.14.0 (the last clean version). If you ran npm install during the attack window, delete your node_modules folder and reinstall. See: Snyk advisory, Datadog analysis.

Key Feature: No AWS Credentials Required

As of October 2023, Amazon SP-API no longer requires AWS IAM credentials. This server uses LWA (Login with Amazon) OAuth 2.0 only, making setup simpler and more secure.

Features

Core Operations

  • Orders: Get orders, order details, and order items
  • Inventory: FBA inventory summary and detailed health metrics
  • Sales: Sales metrics by day/week/month with totals and averages

Financial Reports

  • Reimbursements: FBA reimbursements for lost/damaged inventory
  • Settlements: Payment disbursement details and breakdowns
  • Fee Estimates: Per-SKU FBA fee estimates
  • Storage Fees: Monthly storage charges
  • Long-term Storage Fees: LTSF for aged inventory

Analytics

  • Sales & Traffic: Sessions, page views, conversion rates, buy box %
  • Search Terms: Brand Analytics search term performance (requires Brand Registry)
  • Inventory Ledger: Track inventory movements and adjustments

Prerequisites

  • Node.js 18+
  • Amazon Seller Central account
  • SP-API application registered in Developer Central
  • LWA credentials (Client ID, Client Secret, Refresh Token)

Installation

git clone https://github.com/mansournorouzi/amazon-sp-mcp.git
cd amazon-sp-mcp
npm install
npm run build

Configuration

Create a .env file with your credentials:

# Copy the example
cp .env.example .env

Required environment variables:

# Login with Amazon (LWA) OAuth 2.0 Credentials
LWA_CLIENT_ID=amzn1.application-oa2-client.xxxxx
LWA_CLIENT_SECRET=your_lwa_client_secret
LWA_REFRESH_TOKEN=Atzr|your_refresh_token

# Seller Information
SELLER_ID=your_seller_id
MARKETPLACE_ID=ATVPDKIKX0DER

# SP-API Endpoint (optional, defaults to North America)
SP_API_ENDPOINT=https://sellingpartnerapi-na.amazon.com

Marketplace IDs

Region Marketplace ID
US Amazon.com ATVPDKIKX0DER
CA Amazon.ca A2EUQ1WTGCTBG2
GitHub에서 전체 README 보기

설치

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

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "amazon-seller": { "command": "node", "args": ["/path/to/amazon-sp-mcp/build/index.js"], "env": { "LWA_CLIENT_ID": "amzn1.application-oa2-client.xxxxx", "LWA_CLIENT_SECRET": "your_secret", "LWA_REFRESH_TOKEN": "Atzr|your_token", "SELLER_ID": "your_seller_id", "MARKETPLACE_ID": "ATVPDKIKX0DER", "SP_API_ENDPOINT": "https://sellingpartnerapi-na.amazon.com" } } } }