
Amazon Ads
com.getmcpads由 getmcpads.com 发布v1.0.1更新于 Oct 26, 2026
Amazon Ads MCP server: 31 read tools, 77 opt-in preview-first writes.
概览
本地 stdio MCP 服务器,让助手读取 Amazon Ads 的商品推广、品牌推广和展示推广数据、拉取报告,并准备需先预览的变更。
- 可以做什么
- 列出并读取广告配置档案,含站点、币种与时区
- 读取商品推广的广告活动、广告组、商品广告、关键词、定向与否定项
- 读取品牌推广与展示推广的广告活动、广告组、广告、创意、关键词与定向
- 申请异步效果报告,并在完成后读取报告行
- 检索创意素材库,读取所推广商品的元数据
- 开启写入后可创建、更新、重命名、归档广告及上传创意,每次操作先预览再确认
- 适用场景
- 适合希望在 Claude Desktop、Claude Code 或 Cursor 等支持 stdio 的客户端中查看亚马逊广告账户与报表的用户,也可用于以预览加确认方式暂存广告活动改动。前提是已具备亚马逊广告 API 凭证,并希望限定在固定的配置档案白名单内。
- 运行要求
- 以 npm 包形式在本地通过 stdio 运行,需要 Node.js 22.23.4、24.22.1、26.12.1 或更新版本。需要具备亚马逊广告 API 权限的 Login with Amazon 应用,通过 AMAZON_ADS_CLIENT_ID、AMAZON_ADS_CLIENT_SECRET 和 AMAZON_ADS_REFRESH_TOKEN 提供,另需 AMAZON_ADS_REGION(NA、EU 或 FE)与 AMAZON_ADS_PROFILE_IDS。不含 OAuth 浏览器授权流程,需能访问亚马逊广告 API。
安装
在 SourceWeft 中
- 打开 控制台中的 Amazon Ads,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Amazon Ads MCP server
Bring your Amazon Ads profiles into your MCP client.
Read Sponsored Products, Brands and Display configuration, request performance reports and prepare changes for explicitly selected advertising profiles.
[Release] [CI] [License: Apache 2.0] [Node]
Watch the film · What's new · Install · Tool reference · Try hosted getmcpads
[Watch the getmcpads film: every ad account in one conversation with your AI assistant]
The film shows hosted getmcpads with sample data. Its MCP Apps, from creative galleries and alerts to Google Sheets exports and bulk launches, belong to the hosted product. This repository provides the standalone native API tools.
31 read tools · 77 write tools, disabled by default.
Run locally with your own Login with Amazon application and a client that supports stdio MCP, such as Claude Desktop, Claude Code or Cursor. Your requests go directly to the Amazon Ads API. For managed connections, including supported ChatGPT setups, use the hosted option.
What's new
v1.0.1: Zod 4 security update · October 26, 2026
- Update
zodto 4.6.7. Every Zod release before 4.6.6 is covered by the high-severity advisory GHSA-mrhx-c7xc-m3w5: validating an oversized constrained collection can exhaust memory, and no Zod 3 release carries the fix.npm audit --omit=devreports no vulnerability again. - Keep the Zod 3 validation behaviour. A parameter default is still validated and completed before use, so an omitted object must still supply its required fields.
- Keep each parameter's own description when the parameter is optional or has a default. Zod 4 stores a description on the wrapped schema only, so the shared fallback description could otherwise replace it.
- Tool names, parameters and descriptions published over MCP are unchanged.
server-card.jsonis regenerated with Zod 4's JSON Schema output, which spells some constraints differently.
Earlier releases
Source synchronization: SOURCE_SYNC.md.
Upgrade notes
Requires Node.js 22.23.4, 24.22.1, 26.12.1 or a newer release. These carry the October 2026 security fixes, and the server prints a warning on stderr when it runs on an older one. CI covers Node 22, 24 and 26.
This is the first release. Arguments saved from hosted getmcpads use region-qualified account IDs such as EU:1234567890; they are accepted when the region matches AMAZON_ADS_REGION.
Install this release
This is a GitHub source release. npm and MCP Registry versions are published separately. The commands below select this exact version; unpinned npx examples later in this document select the version currently available on npm.
Configure your MCP client to run node with the absolute path to dist/cli.js and the credentials documented below.
Prefer a managed connection? Use Amazon Ads with hosted getmcpads. Connect your account, select the data your assistant may access and use the hosted MCP connection. See the site for current features and plans.
Configuration
Provide these environment variables through the client's secret configuration:
To obtain these values, follow Amazon's own guides:
- Onboard to the Amazon Ads API and note the client ID and secret of your Login with Amazon security profile.
- Create an authorization grant with the scope
advertising::campaign_management, then generate access and refresh tokens. Amazon documents that refresh tokens issued on or after July 30, 2026 expire 365 days after advertiser consent. - Retrieve your profile IDs and list the ones this server may use in
AMAZON_ADS_PROFILE_IDS.
This package does not run an OAuth browser flow. It exchanges the refresh token for access tokens in memory, renews them a minute before they expire and keeps any refresh token Amazon returns in memory only. When the refresh token is revoked or expires, authorize again, update the variable and restart the server.
A Claude Desktop entry looks like this:
With a source install, replace npx and its arguments with node and the absolute path to dist/cli.js. Run npm run doctor to check the configuration without contacting Amazon; it never prints a value.
Safety and coverage
Writes preview by default. Most writes return a previewToken bound to the exact change and to the entity as read from Amazon at preview time. Repeat the call with confirm: true and that token within ten minutes. A changed request, a changed entity or an expired token is refused before anything is sent. amazon_ads_update_campaign_status uses expectedStatus from its preview instead, and the rename tools need only confirm: true.
New Sponsored Products campaigns, ad groups, product ads, keywords and targets are created paused. Sponsored Brands and Display creates that carry a state must be paused, and creates without a state field require a paused parent. Negative keywords and targets start enabled because they suppress traffic. Previews mark a change that starts delivery with activationMaySpend. Archiving is irreversible.
An HTTP 207 response with any item error is reported as a failure. A change whose outcome is uncertain is never retried automatically; read the entity and reconcile it first. A read that receives HTTP 401 renews the access token once and repeats; a change does not. HTTP 429 responses report Amazon's Retry-After value and are not retried.
The profile allowlist is checked before every request, and amazon_ads_list_profiles returns only allowlisted profiles. Unknown arguments are refused. Amounts are in the profile currency, not micros. Large integer IDs are kept as strings so no digit is lost. Configuration lists return one page and say so with partial; follow nextToken or nextStartIndex.
Reports are asynchronous. amazon_ads_create_report returns a jobToken; call amazon_ads_get_report about 30 seconds later. A pending report is not an empty account. Sponsored Products purchases and sales use the click attribution window you choose. Brands and Display use their native 14-day attribution. Report files and asset uploads use signed Amazon S3 URLs, which must be HTTPS S3 hosts, are fetched without any Amazon credential and never follow a redirect.
This server covers Sponsored Products, Sponsored Brands, Sponsored Display, Reporting v3, the creative asset library and product metadata. It does not cover DSP, Amazon Marketing Cloud, billing, account management or portfolios. Hosted creative galleries, alerts, exports, the campaign launcher and MCP Apps UI are excluded. Use tools/list, server-card.json or the amazon-ads://write-contracts resource for exact schemas, and Amazon's API reference for provider details.
Amazon's own MCP server
Amazon announced the Amazon Ads MCP Server in open beta on February 2, 2026, for Amazon Ads partners with active API credentials. The comparison below uses only Amazon's own pages: the announcement, the overview, Connecting to the Amazon Ads MCP Server, the Lite version, Connecting using OAuth 2.1 and the MCP tool reference, as read on October 23, 2026.
Use Amazon's server for DSP, Amazon Marketing Cloud, billing or account management, which this server does not cover.
Hosted option
getmcpads for Amazon Ads manages the hosted connection and account selection. Hosted and source releases can differ. Contact: [email protected].
Development
All tests run offline with a mocked fetch and synthetic responses. No live account is read or changed.
Tools
Every tool is listed below. See server-card.json for complete parameter and output schemas.
31 read tools
Profiles
Sponsored Products configuration
Sponsored Brands configuration
Sponsored Display configuration
Reporting
Creative assets and catalog
77 write tools
Registered only with AMAZON_ADS_ENABLE_WRITES=true. Every call previews unless confirm: true is passed, and most writes also need the previewToken from that preview.
Sponsored Products
Sponsored Brands
Sponsored Display
Archive (irreversible)
Creative asset uploads
Renames
Resources
License
Apache License 2.0. See NOTICE.
More from getmcpads
Meta Ads · Google Ads · Google Analytics 4 · Google Search Console · TikTok Ads · Pinterest Ads · X Ads
Maintained by Emmanuel at getmcpads. Questions: [email protected].
来源:README.md,提交 7d9ca80
工具
0版本历史
2- v1.0.1最新Oct 26, 2026
- v1.0.0Oct 23, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分