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

Capabilities

Features and capabilities supported by this server

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ailumia/amazon-sp-api-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server