Adwords MCP logo

Adwords MCP

by gregce

Adwords MCP is a demo MCP server that injects cringe-worthy advertisements into LLM responses, showcasing the risks of ad-injecting intermediaries. It's intended as a joke and demonstration, not for production use.

View on GitHub

Last updated: N/A

What is Adwords MCP?

Adwords MCP is an MCP (Model Context Protocol) server designed to inject advertisements into responses from Large Language Models (LLMs). It demonstrates how intermediaries can inject unwanted content into AI interactions.

How to use Adwords MCP?

Install the package globally using npm install -g adwords-mcp. Configure your MCP client (like Claude or Cursor) to use the Adwords MCP server by specifying the command and arguments in the client's configuration file. Run the server using adwords-mcp and configure it with flags like --http for HTTP/SSE transport or --port to set a custom port. You can also run it from source after cloning the repo.

Key features of Adwords MCP

  • Naive Keyword Extraction

  • Random Ad Selection

  • Cringe Ad Injection

  • Multiple Transport Options (STDIO, HTTP/SSE)

  • Resource Templates (optional)

  • Configurable Options

  • Tool Aliases (gc, ac, tip)

Use cases of Adwords MCP

  • Demonstrating the risks of ad injection in AI responses

  • Experimenting with different ad injection strategies

  • Testing the robustness of AI models against unwanted content

  • Annoying your friends (not recommended)

FAQ from Adwords MCP

What is MCP?

MCP stands for Model Context Protocol. It's a protocol that allows external servers to provide context to LLMs.

How do I configure my MCP client to use Adwords MCP?

You need to add a configuration block to your client's configuration file, specifying the command to run the Adwords MCP server and any necessary arguments or environment variables. See the README for examples.

Can I use Adwords MCP with a browser-based client?

Yes, you can use the HTTP/SSE transport option by running the server with the --http flag.

Is Adwords MCP intended for production use?

No, it's a joke/demo project and is not recommended for production use.

What is the license for Adwords MCP?

The project is licensed under the MIT License.