Amazon Selling Partner API MCP Server
LocalAbout Amazon Selling Partner API MCP Server
Amazon Selling Partner API MCP Server is a Node.js MCP server that provides tools and resources for accessing Amazon SP-API through a standard interface. It is aimed at developers and sellers who want MCP clients to query or manage Amazon seller data.
Key features
- 01SP-API authentication and authorization
- 02Coverage of catalog, inventory and order endpoints
- 03API documentation resources by category
- 04Secure credential handling
Use cases
- 01Querying Amazon orders and inventory from an MCP client
- 02Generating and retrieving reports
- 03Browsing SP-API documentation by category
MCP support
This project is an MCP server that exposes SP-API tools and amazon-sp-api:// documentation resources to MCP clients.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEAmazon Selling Partner API MCP Server
A Model Context Protocol (MCP) server for interacting with the Amazon Selling Partner API. This server provides tools and resources for accessing Amazon SP-API functionality through a standardized interface.
## Features
- Authentication and authorization with Amazon SP-API
- Comprehensive coverage of SP-API endpoints
- Documentation resources for API reference
- Tools for managing catalog, inventory, orders, reports, and more
- Secure credential handling
## Prerequisites
- Node.js 16 or higher
- Amazon Selling Partner API credentials
- AWS credentials with appropriate permissions
## Installation
```bash
npm install amazon-sp-api-mcp-server
```
Or run directly with npx:
```bash
npx amazon-sp-api-mcp-server
```
## Configuration
Create a `.env` file in the root directory with your Amazon SP-API credentials:
```
SP_API_CLIENT_ID=your_client_id
SP_API_CLIENT_SECRET=your_client_secret
SP_API_REFRESH_TOKEN=your_refresh_token
SP_API_AWS_ACCESS_KEY=your_aws_access_key
SP_API_AWS_SECRET_KEY=your_aws_secret_key
SP_API_ROLE_ARN=your_role_arn
SP_API_MARKETPLACE_ID=ATVPDKIKX0DER
SP_API_REGION=us-east-1
```
## Usage
Start the server:
```bash
npm start
```
For development with auto-restart:
```bash
npm run dev
```
To test with MCP Inspector:
```bash
npm run inspect
```
## Available Tools
The server provides tools for interacting with various aspects of the Amazon Selling Partner API:
- Authentication tools
- Catalog tools
- Inventory management
- Order processing
- Report generation and retrieval
- Feed submission
- Financial data access
- Notification management
- Product pricing
- Listings management
- FBA operations
## Documentation Resources
Access API documentation through the `amazon-sp-api://{category}` resource, where category can be:
- overview
- authentication
- catalog
- orders
- inventory
- reports
- feeds
- finance
- notifications
- productPricing
- listings
- fba
## License
MIT
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.