Google AdSense

io.github.SirMacke/adsense-mcp

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

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "adsense-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@sirmacke/adsense-mcp@0.2.0"
      ],
      "env": {
        "ADSENSE_ACCESS_TOKEN": "<your ADSENSE_ACCESS_TOKEN>",
        "ADSENSE_CLIENT_SECRET": "<your ADSENSE_CLIENT_SECRET>",
        "ADSENSE_REFRESH_TOKEN": "<your ADSENSE_REFRESH_TOKEN>"
      }
    }
  }
}
Environment variables
  • ADSENSE_ACCESS_TOKENsecretOptional short-lived OAuth access token.
  • ADSENSE_CLIENT_SECRETsecretOAuth desktop client secret. Required when not using an access token.
  • ADSENSE_REFRESH_TOKENsecretOAuth refresh token. Required when not using an access token.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.2.0
Registry
active
Published
9/22/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that Google AdSense is listed here — it’s also the link we check for a free listing.

Google AdSense — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-sirmacke-adsense-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Google AdSense — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![Google AdSense — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-sirmacke-adsense-mcp?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.