MCP server for Walmart Connect Ads APIs (Sponsored Search + Display)
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Walmart Connect Advertising APIs.
list_endpointsList operations from the bundled OpenAPI spec for an `ad_type`, with optional filters.
describe_endpointReturn one operation plus the `components.schemas` reachable from it (its `$ref` closure), so request bodies and responses can be built without the full spec.
call_endpointExecute any Walmart Connect Ads API endpoint. Identify it by `operation_id`, or by raw `method` + `path`. Raw method+path also reaches alpha/beta/unpublished endpoints that are not in the bundled specs. The server handles RSA-SHA256 signing.
refresh_specsRe-fetch the bundled OpenAPI specs from ReadMe's public api-registry into a user cache (`~/.cache/mcp-walmart-ads/specs/`) that takes precedence over the bundled copy.
download_display_snapshotDownload a display snapshot file (report or entity). Display snapshot URLs require authenticated requests, so this tool handles the signing automatically. Use the full download URL from the `details` field after polling a display snapshot to `done` status.
MCP server for three Walmart Inc. API families, behind one tool surface:
| Platform | APIs | Auth |
|---|---|---|
walmart:ads β Walmart Connect | Sponsored Products, Display | RSA-SHA256 signature + bearer token |
walmart:marketplace β Walmart Marketplace | 28 domains (orders, items, feeds, reports, β¦) | OAuth2 client_credentials |
samsclub:ads β Sam's Club | Sponsored Products | RSA-SHA256 signature + bearer token |
Four tools over 31 apis and 424 operations β discovery, a generic proxy, and a downloader. An agent finds endpoints in the bundled OpenAPI specs and calls them; the server signs, acquires tokens, and builds headers.
An operation id alone resolves to a host and an auth model. A matching <line>:<name>
suffix means the same surface for another retailer β 13 shared operation ids of 90.
Set up your config (see Configuration), then run the server:
config.json MUST live at ~/.config/mcp-walmart-ads/config.json. The server reads it
once at startup, so a corrected file REQUIRES a restart.
Windows:
~maps to%USERPROFILE%(typicallyC:\Users\<you>), making the full path%USERPROFILE%\.config\mcp-walmart-ads\config.json.
Create the directory and copy the example:
<platform> is the two-segment prefix an api id starts with, so a config key is literally
the value you pass as the platform tool parameter β nothing to translate.
The auth block's shape follows the platform's auth model. There is exactly one shape per platform, so no discriminator field is needed.
Signature platforms (walmart:ads, samsclub:ads):
| Field | Notes |
|---|---|
consumer_id | Partner Network consumer ID |
private_key | Path to the RSA private key (PEM). Relative paths resolve against the config directory |
private_key_version | Key version string (default "1") |
bearer_token | OAuth bearer token |
base_urls.<api> | One per api in the platform's discovery surface. Keys MAY be bare (sponsored-products) or fully qualified (walmart:ads:sponsored-products); extra keys are allowed for the auxiliary specs reached by raw method+path |
Environment names are free-form here β Walmart may issue a tenant only production, or
production and staging.
OAuth2 platform (walmart:marketplace):
environment MUST be production or sandbox; base URLs are fixed by the server and
absent from the file. Advertiser ids nest under the credential that serves them, so a
secret appears exactly once and a dangling advertiser reference is structurally
impossible. partner_id is per-seller because two payments operations require it as
WM_PARTNER_ID; an all-zero value reads as absent, since that is what a generated config
writes for a seller without one, and scripts/backfill_partner_ids.py fills the gaps from
Walmart.
Regions are a namespace, not a route β every walmart:marketplace region reaches the same
hosts. The level exists because advertiser ids are unique only within a region.
A populated walmart:marketplace block runs to tens of kilobytes of credentials, 88% of
the file here, and a stray comma while editing it takes down every platform: a parse
failure precedes per-platform validation. Platforms MAY therefore live in drop-in files
under config.d/, merged over the base:
platforms; server-wide settings stay in config.json.*.json directly in config.d/ is read, so .bak and editor swap files are ignored.private_key paths resolve against config.json's directory either way, so
moving a platform into config.d/ needs no path edits.config.d/ directory means no change in behavior.A malformed block for one platform MUST NOT stop the others loading. Read
wmt://platforms to see which loaded and what regions and environments they declare: one
that failed has no regions, and reading one of its environments returns the loader's own
message β which file, which fields, and that a fix needs a restart.
| Field | Default | Notes |
|---|---|---|
response_cache_ttl | 3600 | Seconds a truncated body or download stays readable at its resource URI |
truncate_threshold | 2048 | Response bytes returned inline before truncating to a preview |
spec_refresh | {"auto": true, "interval": 7} | Background spec refresh. auto turns the sweep on or off; interval is days between sweeps, and MAY be fractional |
wap-tenant-id)Pass tenant on call_endpoint and download_file for non-US walmart:ads markets
(WMT_CA, WMT_MX, WBD_OD, β¦). Omit it for US and for walmart:marketplace.
list_endpointsList operations across every api, with optional filters.
| Parameter | Notes |
|---|---|
query | Case-insensitive substring on operation id, path, or summary |
api | Limit to one api, e.g. walmart:marketplace:order-management |
platform | Limit to one platform β walmart:ads, walmart:marketplace, samsclub:ads (schema enum) |
tag | Filter by OpenAPI tag |
method | Filter by HTTP verb β GET, POST, PUT, PATCH, DELETE (schema enum) |
Returned operation ids are qualified (api:operationId) and pass straight to
describe_endpoint or call_endpoint.
describe_endpointOne operation plus every components.schemas entry reachable from it, so a request body
can be built without the full spec. Server-managed auth and QoS headers are omitted.
| Parameter | Notes |
|---|---|
operation_id | Qualified (api:operationId), or bare when unambiguous |
api | Api to resolve a bare id in, e.g. walmart:ads:sponsored-products |
call_endpointExecute an authenticated request against any configured platform. Signing, token acquisition with per-credential caching and single-flight refresh, and one retry after a 401 all happen server-side.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/walmart-connect-advertising-apis)<a href="https://allmcps.com/mcp/walmart-connect-advertising-apis"><img src="https://allmcps.com/api/badge/walmart-connect-advertising-apis?style=directory" alt="Walmart Connect Advertising APIs on AllMCPs" /></a>