MCP server for Amazon Ads API - manage campaigns, keywords, bids, and performance reports
MCP server for Amazon Ads API - manage campaigns, keywords, bids, and performance reports
Valid MCP server (2 strong, 4 medium validity signals). 2 known CVEs in dependencies (0 critical, 2 high severity) Package registry verified. Imported from the Official MCP Registry.
7 files analyzed · 3 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Set these up before or after installing:
Environment variable: AMAZON_ADS_CLIENT_ID
Environment variable: AMAZON_ADS_CLIENT_SECRET
Environment variable: AMAZON_ADS_REFRESH_TOKEN
Environment variable: AMAZON_ADS_REGION
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-cprice70-amazonads-mcp": {
"env": {
"AMAZON_ADS_REGION": "your-amazon-ads-region-here",
"AMAZON_ADS_CLIENT_ID": "your-amazon-ads-client-id-here",
"AMAZON_ADS_CLIENT_SECRET": "your-amazon-ads-client-secret-here",
"AMAZON_ADS_REFRESH_TOKEN": "your-amazon-ads-refresh-token-here"
},
"args": [
"-y",
"amazonads-mcp"
],
"command": "npx"
}
}
}From the project's GitHub README.
A Model Context Protocol (MCP) server that provides tools for interacting with the Amazon Advertising API. This server enables AI assistants to access and manage Amazon Ads campaigns, keywords, performance data, and more.
This MCP server provides the following tools:
We provide a helper script to obtain your refresh token through the OAuth flow:
Create a .env file in the project root:
AMAZON_ADS_CLIENT_ID=your_client_id_here
AMAZON_ADS_CLIENT_SECRET=your_client_secret_here
Run the OAuth helper script:
npm run get-token
Your browser will open to Amazon's authorization page
Sign in and authorize the application
The script will display your refresh token - copy it to your .env file
Determine your advertising region:
git clone <your-repo-url>
cd amazonads-mcp
npm install
npm run build
Create a .env file or set the following environment variables:
AMAZON_ADS_CLIENT_ID=your_client_id
AMAZON_ADS_CLIENT_SECRET=your_client_secret
AMAZON_ADS_REFRESH_TOKEN=your_refresh_token
AMAZON_ADS_REGION=NA # Options: NA, EU, FE
AMAZON_ADS_SANDBOX=false # Set to true for testing with sandbox API
Add this server to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"amazonads": {
"command": "node",
"args": ["/absolute/path/to/amazonads-mcp/build/index.js"],
"env": {
"AMAZON_ADS_CLIENT_ID": "your_client_id",
"AMAZON_ADS_CLIENT_SECRET": "your_client_secret",
"AMAZON_ADS_REFRESH_TOKEN": "your_refresh_token",
"AMAZON_ADS_REGION": "NA"
}
}
}
}
Once configured in Claude Desktop, you can ask Claude to:
amazonads-mcp/
├── src/
│ ├── index.ts # Main MCP server implementation
│ └── amazon-ads-client.ts # Amazon Ads API client
├── build/ # Compiled JavaScript output
├── package.json
├── tsconfig.json
└── README.md
npm run build
Watch for changes and rebuild automatically:
npm run watch
Run the server directly:
npm start
The server communicates over stdio and expects MCP protocol messages.
This server currently supports:
Rate Limiting: The Amazon Ads API has rate limits. The client does not currently implement rate limiting logic.
Reporting API: The get_campaign_performance tool uses a simplified implementation. For production use, you should implement the full async reporting flow:
Error Handling: API errors are returned to the caller. Ensure proper credential configuration to avoid authentication errors.
Regions: Make sure to set the correct region (NA, EU, FE) based on your Amazon Ads account.
.env file or expose API credentialsMIT
Contributions are welcome! Please feel free to submit a Pull Request.
Be the first to review this server!
by Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
by Microsoft · Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption
by mcp-marketplace · Developer Tools
Scaffold, build, and publish TypeScript MCP servers to npm — conversationally
by mcp-marketplace · Finance
Free stock data and market news for any MCP-compatible AI assistant.