MCP.so
登录

Adwords MCP

@gregce

关于 Adwords MCP

A cringe-worthy MCP server that serves ads to developers in Cursor, Claude, and other clients

基本信息

分类

其他

许可证

MIT license

运行时

node

传输方式

stdio

发布者

gregce

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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

FAQ from Adwords MCP

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.

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.

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).

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.

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.

评论

其他 分类下的更多 MCP 服务器