supply-ops-agent

supply-ops-agent

A supply-side operations diagnostic MCP server for bid rate analysis, IVT detection, and ads.txt compliance.

Category
Visit Server

README

supply-ops-agent

A supply-side operations diagnostic agent built on AAMP standards, extending the IAB Tech Lab seller agent framework with diagnostic tooling for bid rate analysis, IVT detection, and ads.txt compliance. Built with MCP for integration with any AAMP-compatible client.

What it does

This MCP server exposes five diagnostic tools that help sell-side ad ops teams investigate supply health issues:

Tool Description
diagnose_bid_rate Daily bid rates, anomaly detection vs baseline, win rate and volume
check_ads_txt Declared vs observed sellers, mismatch flagging, detection timestamps
detect_ivt IVT rates broken down by GIVT/SIVT, spike detection above threshold
analyze_demand Per-DSP demand trends, identifies buyer pullbacks and timing
partner_health Composite health score combining all four signal dimensions

Demo

Claude autonomously calls 5 diagnostic tools to investigate a bid rate drop for Partner Bravo.

Architecture

This is an MCP tool server - it exposes diagnostic capabilities (data retrieval and analysis) but does not orchestrate them. The LLM (Claude, GPT, or any MCP-compatible client) decides which tools to call, interprets results, and generates the diagnosis. Separating the intelligence layer from the data layer makes the server interoperable with any AAMP-compatible agent.

LLM (Claude) → MCP protocol → supply-ops-agent → mock data

See also the IAB Tech Lab Seller Agent SDK for the reference supply-side agent implementation that this project complements.

Diagnostic logic is grounded in operational patterns from SSP exchange ops: bid stream anomalies, sellers.json reconciliation, and IVT taxonomy aligned with HUMAN/TAG standards.

Baked-in incidents

The mock data includes three realistic scenarios for testing:

  1. Partner Bravo - Bid rate drops 40% on day 5, caused by undeclared seller IDs in ads.txt
  2. Partner Delta - SIVT spikes to 18% on days 10-12, then returns to baseline
  3. Partner Foxtrot - Two major DSP buyers pull back spend starting day 8

Setup

python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Running

Standalone (stdio)

python server.py

With Claude Desktop

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "supply-ops-agent": {
      "command": "python",
      "args": ["/absolute/path/to/supply-ops-agent/server.py"]
    }
  }
}

With Claude Code

claude mcp add supply-ops-agent python /absolute/path/to/supply-ops-agent/server.py

Example queries

Once connected, try asking:

  • "Check the health of Partner Bravo"
  • "Why did Bravo's bid rate drop?"
  • "Is there any IVT issue with Delta?"
  • "Which DSPs pulled back from Foxtrot?"
  • "Run a full health check on all partners"

Tech stack

  • Python 3.10+
  • MCP Python SDK (mcp)
  • Synthetic mock data (no external dependencies)

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured