Agentic Ads — MCP server for AI agents monetization
Agentic Ads is an MCP server for Claude Code that serves contextual ads. Developers earn a 70% revenue share from every ad click.
MIT ★ 6 updated 2026-04-16
claude mcp add --transport http agentic-ads https://agentic-ads-production.up.railway.app/mcpWhat Agentic Ads does
The service adds a monetization layer to the MCP ecosystem by inserting ads based on user context. It avoids tracking or cookies, relying solely on keyword matching to present relevant offers.
To integrate, register at https://agentic-ads-production.up.railway.app/dev/register to receive an API key. Add the server URL https://agentic-ads-production.up.railway.app/mcp to your client configuration or use npx agentic-ads to get started.
What it helps with
- monetize functional MCP servers
- display relevant ads in agent responses
- track ad-driven revenue in real time
Example prompts for the agent
- Call
search_adswith a query like 'running shoes' to fetch relevant sponsored links. - Invoke
report_eventwith type 'click' when a user selects an ad link.
How to install Agentic Ads
1Platform CLI: remote server
claude mcp add --transport http agentic-ads https://agentic-ads-production.up.railway.app/mcp2Platform CLI
claude mcp add agentic-ads -- npx -y agentic-ads1Platform CLI: remote server
codex mcp add agentic-ads --url https://agentic-ads-production.up.railway.app/mcp2Platform CLI
codex mcp add agentic-ads -- npx -y agentic-adsConfig file
{
"mcpServers": {
"agentic-ads": {
"url": "https://agentic-ads-production.up.railway.app/mcp"
}
}
}{
"mcpServers": {
"agentic-ads": {
"command": "npx",
"args": [
"-y",
"agentic-ads"
]
}
}
}Config file
{
"servers": {
"agentic-ads": {
"type": "http",
"url": "https://agentic-ads-production.up.railway.app/mcp"
}
}
}{
"servers": {
"agentic-ads": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"agentic-ads"
]
}
}
}1Platform CLI: remote server
gemini mcp add -t http agentic-ads https://agentic-ads-production.up.railway.app/mcp2Platform CLI
gemini mcp add agentic-ads npx -y agentic-adsStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Agentic Ads
How to install Agentic Ads in Claude Code?
Run claude mcp add --transport http agentic-ads https://agentic-ads-production.up.railway.app/mcp or claude mcp add agentic-ads -- npx -y agentic-ads.
What does Agentic Ads do?
It provides a monetization layer for AI agents, allowing developers to show contextual ads and earn 70% of the revenue generated from clicks.
What is required to use Agentic Ads?
You need to register for an API key on their website and have Node.js version 22.0.0 or higher installed.