Skip to content
Zed

Google AdSense for Zed

io.github.sirmacke/adsense-mcp

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

client:Zed transport:stdio runtime:npm

Install Google AdSense in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

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

{
  "context_servers": {
    "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>"
      }
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

Google AdSense in other clients