Skip to content

MCP server

Amazon Selling Partner API MCP server

Amazon's SP-API MCP server helps sellers and developers explore the Selling Partner API, generate code and run API calls, with approval for writes.

At a glance

Maintained by
Amazon
Tools exposed
6 listed below
Reviewed
September 24, 2026

Why it matters

What it does and why it matters

Amazon's Selling Partner API is how sellers and their developers automate listings, orders, inventory and reports. It is large and complex. Amazon's MCP server for it lets an assistant look up API references, explore the catalog, run API calls, generate code samples, help migrate from older APIs and suggest optimizations.

For sellers with a developer or agency, it shortens the time to build integrations. For operations, it can answer questions using live API data.

The execute tool can call live endpoints. On the hosted connector, Amazon drafts write actions for human approval, which is a sensible default. We keep that approval step for anything that changes listings, prices or inventory, and use sandbox credentials while building.

Use cases

Best business use cases

Integration building

Generate code samples for SP-API tasks.

Catalog exploration

Look up catalog data for products.

API migrations

Plan moves from deprecated APIs.

Report questions

Answer operational questions from API data.

Optimization tips

Get suggestions to use the API more efficiently.

Tools

Available tools

Tool names as published by the maintainer at review time. Versions change, so check the repository for the current list.

Read and write: Read and write: sp_api_execute can call live SP-API endpoints. On the remote connector, write actions are always drafted for human approval.

  • sp_api_reference

    Searches official SP-API documentation in plain language.

  • sp_api_explore_catalog

    Browses endpoints, parameters, schemas and examples.

  • sp_api_execute

    Runs live SP-API requests with auth and signing.

  • sp_api_generate_code_sample

    Generates code samples in Python, Java, JavaScript, C# or PHP.

  • sp_api_migration_assistant

    Helps migrate code between API versions.

  • sp_api_optimize

    Reviews code for SP-API best practices.

Workflows

Example workflows

Build an inventory sync

  1. 1

    Describe the sync needed.

  2. 2

    The assistant finds the right API operations.

  3. 3

    It generates a code sample.

  4. 4

    The developer tests with sandbox credentials.

  5. 5

    The team reviews before going live.

Update a listing safely

  1. 1

    Ask to change a listing attribute.

  2. 2

    The assistant drafts the API call.

  3. 3

    The connector holds it for approval.

  4. 4

    A person approves.

  5. 5

    The change is applied and confirmed.

Prompts

Example prompts

  • “Which SP-API operations do I need to update inventory quantities?”

  • “Generate a Python sample to fetch yesterday's orders.”

  • “We use a deprecated reports API. What should we migrate to?”

Setup

Installation and configuration

Examples for Claude Desktop and Claude Code. Replace the placeholder values with your own keys, and store secrets outside version control.

Claude Desktop: claude_desktop_config.json

{
    "mcpServers": {
        "sp-api-dev-assistant": {
            "command": "npx",
            "args": [
                "-y",
                "@amazon-sp-api-release/sp-api-dev-mcp",
                "sp-api-dev-assistant-mcp-server"
            ],
            "env": {
                "SP_API_CLIENT_ID": "your-client-id",
                "SP_API_CLIENT_SECRET": "your-client-secret",
                "SP_API_REFRESH_TOKEN": "your-refresh-token"
            }
        },
        "sp-api-workflow": {
            "command": "npx",
            "args": [
                "-y",
                "@amazon-sp-api-release/sp-api-dev-mcp",
                "sp-api-workflow-mcp-server"
            ],
            "env": {
                "SP_API_CLIENT_ID": "your-client-id",
                "SP_API_CLIENT_SECRET": "your-client-secret",
                "SP_API_REFRESH_TOKEN": "your-refresh-token"
            }
        }
    }
}

Claude Code: terminal

claude mcp add sp-api-dev-assistant -e SP_API_CLIENT_ID=your-client-id -e SP_API_CLIENT_SECRET=your-client-secret -e SP_API_REFRESH_TOKEN=your-refresh-token -- npx -y @amazon-sp-api-release/sp-api-dev-mcp sp-api-dev-assistant-mcp-server
  • Hosted server: https://sellingpartner-ai.amazon.com/mcp (Amazon Selling Partner Connector, from github.com/amzn/selling-partner-agentic-toolkit).
  • Local server: npx -y @amazon-sp-api-release/sp-api-dev-mcp sp-api-dev-assistant-mcp-server.
  • Needs: Local: SP-API LWA app credentials (SP_API_CLIENT_ID, SP_API_CLIENT_SECRET, SP_API_REFRESH_TOKEN). Remote connector: Seller Central OAuth consent, limited to the user's Seller Central roles..

Security

Security considerations

  • Restricted keys

    Use restricted keys or scoped sign-in that allow only the actions a workflow needs.

  • Test mode first

    Build and test in sandbox or test mode before touching live money.

  • Approve money movement

    Refunds, payouts, payments and deletions need a person to approve them.

  • Audit trail

    Keep a record of API calls, especially writes to listings and inventory.

Related servers

Servers that pair well with it

Shopify Dev

Shopify's Dev MCP server helps developers build for Shopify: it searches Shopify docs and API schemas and validates GraphQL, components and themes.

WooCommerce

WooCommerce's official MCP support, in preview, exposes store abilities for products and orders through the WordPress MCP Adapter.

QuickBooks Online

Intuit's official QuickBooks Online MCP server lets AI search and create customers, invoices, bills and payments and pull financial reports.

Keep exploring

FAQ

Questions people ask us

Have a question that is not here? Ask us directly.

Start a project

Want this connected to your own systems? We build AI workflows with MCP.

Send a short brief. We reply with questions, a suggested plan and an estimate you can compare with other offers.

Your privacy choices

We use necessary storage to run this site. With your permission we also use Google Analytics to see which pages help people, and load maps from Google. You can change this at any time. Read the cookie policy.