Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

selling-partner-api-samples

> DevOps
Open source

Sample code for Amazon Selling Partner API use cases

186 stars0 likes3 views
WebsiteGitHub

About

Sample code for Amazon Selling Partner API use cases

Amazon Selling Partner API Samples

This repository contains sample code in various programming languages for use cases supported by the Amazon Selling Partner API (SP-API).

[!IMPORTANT]
SP-API code samples are example code that demonstrates practical implementations of SP-APIs for specific use cases and scenarios.

These sample solutions are not supported products in their own right, but educational examples to help our customers use our products for their applications. As our customer, any applications you integrate these examples into should be thoroughly tested, secured, and optimized according to your business's security standards & policies before deploying to production or handling production workloads.

Table of Contents

  • About this Repo
  • Local MCP for SP-API
  • Learning Resources
  • Security
  • License

About this Repo

This repository contains two types of sample code:

  • Code Recipes: Easy to read sample code for common use cases of Amazon Selling Partner API. Recipes are written in multiple programming languages, and you can read or browse through them and copy parts of them over into your codebase.
  • Sample Solutions: More complex solutions to demonstrate specific use cases in more detail. You can easily deploy them in AWS to learn and explore.
  • Labs: Hands-on resources to help you learn and master flows and scenarios through Jupyter code samples, guided tutorials, and full workshop challenges.

We welcome contributions to this repo in the form of fixes or improvements to existing content. For more information on contributing, please see the CONTRIBUTING guide.

This is considered an intermediate learning resource, and should typically be referenced after reading the SP-API Documentation. Please see Learning Resources for additional resources.

Local MCP for SP-API

The @amazon-sp-api-release/sp-api-dev-mcp package is a local MCP (Model Context Protocol) server for SP-API that bundles multiple developer tools into a single npm package. It is published from the sp-api-dev-mcp source in the selling-partner-api-samples GitHub repository.

Installation

bash
npm install -g @amazon-sp-api-release/sp-api-dev-mcp

Available Servers

Server Command
SP-API Dev Assistant sp-api-dev-assistant-mcp-server
SP-API Workflow Builder sp-api-workflow-mcp

Usage with npx

bash
npx -y @amazon-sp-api-release/sp-api-dev-mcp sp-api-dev-assistant-mcp-server
npx -y @amazon-sp-api-release/sp-api-dev-mcp sp-api-workflow-mcp-server

Required secret: NPM_TOKEN — a granular npm access token with read/write permission for @amazon-sp-api-release/sp-api-dev-mcp.

Learning Resources

  • SP-API Website
  • SP-API SDK
  • SP-API Documentation
  • SP-API Developer Support

Security

See CONTRIBUTING for more information.

License

This library is licensed under the MIT-0 License. See the LICENSE file.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Javaamazonfbalistingpricing

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
CategoryDevOps
PricingOpen source

> Related tools

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理