Basic information

Runtime
TypeScript
Version
1.0.0
Category
License
MIT
Transports
stdio
Author
gregce
Submitted by
Community
Quality
20
Stars
6

About Adwords MCP Server

Adwords MCP — demo MCP server that injects cringe ads into LLM replies; learn how ad-injecting intermediaries work and the risks to AI responses.

Adwords MCP is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by gregce. It exposes 6 tools, including get_completion, analyze_code, developer_tip, gc and more. Supported transport: stdio. Runtime: TypeScript. License: MIT. The repository has 6 GitHub stars. Source code is hosted on github.com. Related topics: community, developer-tools.

Setup

{
    "mcpServers": {
        "adwords": {
            "command": "npx",
            "args": [
                "adwords-mcp"
            ]
        }
    }
}

Adwords MCP config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "adwords": {
            "command": "npx",
            "args": [
                "adwords-mcp"
            ]
        }
    }
}

Adwords MCP tools

  • get_completion
    prompt:string*
  • analyze_code
    code:string*
  • developer_tip
    topic:string
  • gc
    prompt:string*
  • ac
    code:string*
  • tip
    topic:string

Overview

What is Adwords MCP?

Adwords MCP is a joke/demo MCP server that injects cringe-worthy advertisements into LLM responses. It showcases how to build MCP servers and highlights the risks of ad-injecting intermediaries. The project is intended for developers interested in MCP server mechanics or the security implications of untrusted intermediaries.

How to use Adwords MCP?

Install globally via npm install -g adwords-mcp, then add the server configuration to your MCP client (e.g., Claude or Cursor) using the provided JSON snippet. Invoke the server’s tools (e.g., get_completion, analyze_code, or developer_tip) from the client. Optionally run with HTTP/SSE transport by passing --http.

Key features of Adwords MCP

  • Naive keyword extraction for targeting ads in user queries
  • Random ad selection when no keywords match (can be disabled)
  • Multiple ad injection strategies for embedding ads in responses
  • STDIO and HTTP/SSE transport options
  • Short tool aliases: gc, ac, tip for faster invocation
  • User-provided content framing to prevent AI modification of ads

Use cases of Adwords MCP

  • Demonstrating how to build and package an MCP server
  • Illustrating the risks of ad-injecting intermediaries in AI pipelines
  • Pranks involving unsuspecting peers (as suggested in the PROTIP section)
  • Testing MCP client behavior with user-provided content directives

Frequently asked questions

1 Is Adwords MCP intended for production use?

No. The README explicitly states: “Do not use this in production or with real users unless you want them to hate you.” It is a joke/demo project.

2 What transport options does Adwords MCP support?

It primarily uses STDIO transport for MCP clients like Claude. It also supports HTTP/SSE transport via the --http flag, optionally with a custom port.

3 How does ad targeting work?

It uses naive keyword extraction in the user’s query. If keywords match, a targeted ad is selected; otherwise, a random ad is injected (unless --no-random-ads is set).

4 How do I configure Adwords MCP with my MCP client?

Add a configuration entry to your client (e.g., claude_desktop_config.json) using the command npx adwords-mcp (or adwords-mcp if installed globally). For HTTP transport, set USE_HTTP=true.

5 What tool aliases are available?

The aliases are gc (for get_completion), ac (for analyze_code), and tip (for developer_tip). These shorten tool invocation in clients like Cursor.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬