Ads for Agents: Measuring Ad-Serving MCP Servers
Shahrooz Pouryousef, Sohini Chakraborty, Ali Montazer, Muoi Tran
Abstract
AI agents call external tools through protocols such as the Model Context Protocol (MCP). Some MCP servers return paid advertisements (ads) into the model's context. The model then decides whether these ads and their disclosures reach the user. We trace these ads from their sources to the agent's tool results across public MCP servers and packages. We find the servers through their public traces in ad networks, package registries, certificate logs, hostnames, MCP directories, and GitHub configurations. We then query the ad-serving servers with read-only requests and inspect their ad links. Ads appear on only 0.57% of 101,363 open MCP endpoints and 0.04% of 122,656 local MCP packages. Although 173 ad networks target agents, operators insert the ads themselves on about half of the 226 ad-returning servers. Nearly all ad-serving packages likewise carry the operator's own affiliate identifier. While ads adapt to the topic and intent of the query, their disclosure stays fixed within each tool. Only 9.3% of the ads carry an explicit sponsored label. Most ad links also hide their destinations. Since operators insert most ads themselves and label them inconsistently, we propose a per-item ad annotation in MCP results. Clients can show this annotation to the user independently of the model's answer.
Create a lesson
Related papers
From FIPS to FPGA with LLM Agents: Measuring What Tests and Reviews Miss in Post-Quantum Cryptographic Hardware
Shared title terminology · Jungmin Park, Eunha Kim, Wooseop Kim et al.
ParseGap: Testing What Coding Agents Authorize and What Shells Execute
Shared title terminology · Jieyu Li
Benchmarking Web Agent Defenses Against Adaptive Visual Prompt Injection
Shared title terminology · Haichuan Zhang, Zhiyuan Zhong, Shih-Chieh Dai et al.
Who Is Prompt-Injecting Coding Agents? An Empirical Study of Hidden AI-Directed Text on GitHub
Shared title terminology · Gabi Nakibly, Zvika Babo
Who Grades the Agent? Privilege Separation for Coding-Agent Benchmarks
Shared title terminology · Nathan Nour Houlamy, Mattia Favretto, Earlence Fernandes et al.
Mjolnir: Finding and Reproducing Vulnerabilities in Root-of-Trust Firmware and RTL with Project-Grounded Agents
Shared title terminology · Collin MacDonald, Carl Lundin, Stephen Herwig et al.