Skip to content
Windsurf

Google AdSense for Windsurf

io.github.sirmacke/adsense-mcp

Read AdSense Management API v2 accounts, inventory, payments, policy, and reports through MCP.

client:Windsurf transport:stdio runtime:npm

Install Google AdSense in Windsurf

~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "adsense-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@sirmacke/adsense-mcp"
      ],
      "env": {
        "ADSENSE_ACCESS_TOKEN": "<ADSENSE_ACCESS_TOKEN>",
        "ADSENSE_CLIENT_ID": "<ADSENSE_CLIENT_ID>",
        "ADSENSE_CLIENT_SECRET": "<ADSENSE_CLIENT_SECRET>",
        "ADSENSE_REFRESH_TOKEN": "<ADSENSE_REFRESH_TOKEN>",
        "ADSENSE_ACCOUNT": "<ADSENSE_ACCOUNT>"
      }
    }
  }
}

Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs

Google AdSense in other clients