Skip to content
VS Code

amazonads mcp for VS Code

io.github.cprice70/amazonads-mcp

MCP server for Amazon Ads API - manage campaigns, keywords, bids, and performance reports

client:VS Code transport:stdio runtime:npm

Install amazonads mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "amazon-ads-client-id",
      "description": "AMAZON_ADS_CLIENT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "amazon-ads-client-secret",
      "description": "AMAZON_ADS_CLIENT_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "amazon-ads-refresh-token",
      "description": "AMAZON_ADS_REFRESH_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "amazon-ads-region",
      "description": "AMAZON_ADS_REGION",
      "password": true
    }
  ],
  "servers": {
    "amazonads-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "amazonads-mcp"
      ],
      "env": {
        "AMAZON_ADS_CLIENT_ID": "${input:amazon-ads-client-id}",
        "AMAZON_ADS_CLIENT_SECRET": "${input:amazon-ads-client-secret}",
        "AMAZON_ADS_REFRESH_TOKEN": "${input:amazon-ads-refresh-token}",
        "AMAZON_ADS_REGION": "${input:amazon-ads-region}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

amazonads mcp in other clients