Content: 00712.zip (21.67 KB)
Uploaded: 28.12.2025

Positive responses: 0
Negative responses: 0

Sold: 0
Refunds: 0

$6.95
# MCP server in n8n for AI agents to fetch and track VAST ads via NPR API

This automation template exposes NPR´s Sponsorship Service API as an MCP-compatible interface for AI agents. Via a simple HTTP webhook endpoint, agents can securely call operations to retrieve VAST sponsorships and submit tracking data, preserving the original API response structure. Ideal for developers integrating media APIs into AI systems without building backend infrastructure.

## Who it´s for
- AI agent developers integrating media APIs
- Media companies using NPR for sponsorship
- Automation engineers working with VAST advertising
- SaaS platforms adding NPR support via AI

## What the automation does
- Sets up an MCP server in n8n accessible via HTTP tool calls from AI agents
- Handles two operations: fetching VAST sponsorships and sending tracking data
- Dynamically populates parameters using $fromAI() from incoming AI requests
- Securely forwards authenticated requests to sponsorship.api.npr.org using header-based auth
- Returns responses in the original NPR API format

## What´s included
- Ready-to-use n8n workflow with MCP logic
- Trigger and handler logic for AI-driven HTTP calls
- Integrations with NPR Sponsorship Service API and AI Agent (via MCP)
- Basic text instructions for deployment and adaptation

## Requirements for setup
- n8n account with workflow creation access
- MCP Server enabled in n8n
- Authentication credentials for NPR Sponsorship Service API (passed via headers)
- AI agent supporting MCP tools (e.g., LangChain-based)

## Benefits and outcomes
- Accelerates AI agent integration with media APIs without backend development
- Maintains compatibility with NPR’s original API structure
- Centralizes access to sponsorship data through a unified MCP interface
- Simplifies testing and debugging via direct chat-based agent calls
- Supports dynamic parameter injection from AI context

## Important: template only
Important: you are purchasing a ready-made automation workflow template only. Rollout into your infrastructure, connecting specific accounts and services, 1:1 setup help, custom adjustments for non-standard stacks and any consulting support are provided as a separate paid service at an individual rate. To discuss custom work or 1:1 help, contact via chat
MCP server in n8n
AI agent integration
NPR Sponsorship API
VAST ads
fetch VAST sponsorships
track sponsorship data
HTTP webhook workflow
LangChain AI agent
dynamic AI parameters
media API automation
ad block management
AI agent tool
request to sponsorship api npr org
header-based authentication
AI agents and VAST
No feedback yet