npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

ads-manager-mcp

v1.0.4

Published

MCP server for Advertising Management

Readme

Amazon Ads MCP Server

An MCP server that provides access to Amazon Advertising data through standardized resources and tools.

Overview

This MCP server connects to your Amazon Advertising data and enables natural language interactions through Claude Desktop. It provides:

  • Campaign performance analysis
  • Ad group management
  • Metrics tracking and visualization
  • AI-powered recommendations

Installation

npm install amazon-ads-mcp

Local Development

Prerequisites

# Required environment variables
DATABASE_URL=your_postgresql_database_url

Local Testing Steps

  1. Clone and install dependencies:
git clone https://github.com/amekala/Ads-mcp-server.git
cd amazon-ads-mcp
npm install
  1. Start the development server:
npm run dev
  1. Test the endpoints:
# Test health endpoint
curl http://localhost:5000/health
# Expected: {"status":"ok"}

# Test root endpoint  
curl http://localhost:5000/
# Expected: {"status":"ok","name":"Amazon Ads MCP Server","version":"1.0.0"}

# Test MCP endpoint (requires API key)
curl -H "Authorization: Bearer YOUR_API_KEY" http://localhost:5000/mcp/sse
# Expected: SSE stream connection
  1. Configure Claude Desktop for local testing:
{
  "globalShortcut": "",
  "mcpServers": {
    "amazon-ads": {
      "name": "Amazon Ads Assistant",
      "version": "1.0.0", 
      "description": "MCP Server for Amazon Advertising",
      "command": "curl",
      "args": [
        "-N",
        "--no-buffer",
        "--max-time", "0",
        "-H", "Accept: text/event-stream",
        "-H", "Cache-Control: no-cache",
        "-H", "Connection: keep-alive",
        "-H", "Authorization: Bearer YOUR_API_KEY",
        "http://localhost:5000/mcp/sse"
      ]
    }
  }
}

Production Setup

The MCP server is deployed at: https://mcp-server-sync-abhilashreddi.replit.app

For production use, update your Claude Desktop config to use:

{
  "globalShortcut": "",
  "mcpServers": {
    "amazon-ads": {
      "name": "Amazon Ads Assistant",
      "version": "1.0.0",
      "description": "MCP Server for Amazon Advertising",
      "command": "curl",
      "args": [
        "-N", 
        "--no-buffer",
        "--max-time", "0",
        "-H", "Accept: text/event-stream",
        "-H", "Cache-Control: no-cache",
        "-H", "Connection: keep-alive",
        "-H", "Authorization: Bearer YOUR_API_KEY",
        "https://mcp-server-sync-abhilashreddi.replit.app/mcp/sse"
      ]
    }
  }
}

Available MCP Tools

Data Access

  • getCampaignPerformance: Analyze campaign metrics
  • getAdGroupMetrics: Review ad group performance
  • getAdvertisingProfile: Access profile information

Analysis

  • analyzeTrends: Get performance trends and insights
  • optimizeBudget: Receive budget allocation recommendations
  • forecastPerformance: Project future metrics

Schema & Query

  • schema: Inspect available data structures
  • query: Execute custom data queries

Example MCP Queries

Here are some example queries you can try with Claude Desktop:

# Database Schema
Show me the database schema

# Campaign Analysis  
What's the performance of campaign ABC123?
How is campaign XYZ performing this month?

# Ad Group Metrics
Show metrics for ad group G123
What's the ROI for ad group XYZ?

# Budget Optimization
Give me budget recommendations for profile P456
Which campaigns should increase their budget?

# Performance Trends
Show performance trends for profile P789 over the last 30 days
What are the impression trends for my campaigns?

Security & Database Access

The MCP server handles all database connections internally using secure PostgreSQL credentials. These credentials are:

  • Set via DATABASE_URL environment variable
  • Never exposed to clients
  • Managed through the Neon serverless driver
  • Protected by row-level security

License

MIT

Author

Abhilash Mekala