Skip to main content
Glama
ailumia

Amazon SP-API MCP

by ailumia

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoHTTP listener host for Streamable HTTP transport.127.0.0.1
PORTNoHTTP listener port for Streamable HTTP transport.3000
LOG_LEVELNoPino log level.info
SP_API_REGIONYesAmazon SP-API region: na, eu, or fe.na
SP_API_ENDPOINTNoExplicit SP-API endpoint override, primarily for tests and proxies.
MCP_BEARER_TOKENNoOptional HTTP bearer token, minimum 16 characters.
SP_API_CLIENT_IDNoAmazon SP-API LWA client ID.
MCP_ALLOWED_HOSTSNoComma-separated HTTP Host allowlist; required for non-loopback binds.
SP_API_MAX_RETRIESNoRetry limit for 429 and transient 5xx responses.5
SP_API_ACCESS_TOKENNoShort-lived access token; alternative to refresh token credentials. Not refreshed automatically.
SP_API_ARTIFACT_DIRNoLocal artifact storage directory../artifacts
SP_API_CLIENT_SECRETNoAmazon SP-API LWA client secret.
SP_API_REFRESH_TOKENNoAmazon SP-API seller refresh token.
SP_API_MAX_CONCURRENCYNoMaximum concurrent outbound SP-API requests.4
SP_API_MAX_RESPONSE_BYTESNoMaximum inline response size before artifact storage.1048576
SP_API_REQUEST_TIMEOUT_MSNoPer-request timeout.60000

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_accountsA

List safe account metadata, including account names, regions, and marketplace participations. Credentials are never returned.

discover_operationsA

Search the version-aware Amazon SP-API registry. Use this before describe_operation or invoke_operation.

describe_operationA

Return the exact method, path, parameters, request body, and validation schema for an operation ID.

invoke_operationA

Execute an operation using a stable account name. Multiple-account configurations require accountName. Writes require confirm=true unless dryRun=true.

get_artifactA

Read a chunk from a large or binary result saved by invoke_operation or run_report.

run_reportA

Create a report for a stable account name, poll until completion, download and decompress it, then return an artifact reference.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.1/5.0

Scored across 6 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: listing accounts, searching operations, describing an operation, invoking an operation, reading artifacts, and running reports. The overlap between discover_operation and describe_operation is minimal because one is for search and the other for detail.

Naming Consistency5/5

All tool names follow a consistent verb_noun snake_case pattern: list_accounts, discover_operations, describe_operation, invoke_operation, get_artifact, run_report. There are no mixed conventions or vague verbs.

Tool Count5/5

With 6 tools, the set is well-scoped. It provides a minimal but sufficient abstraction for interacting with the large Amazon SP-API surface, covering account management, operation discovery and invocation, and report handling.

Completeness5/5

The tool set covers the full workflow: discover operations, describe them, invoke them, and retrieve artifacts. The run_report tool handles the report lifecycle, and get_artifact reads large results. Given the generic invoke_operation, there are no obvious dead ends.

Maintenance

ActivityMaintained
ResponsivenessNo issues