# @sirmacke/adsense-mcp

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

- **Type:** MCP server
- **Trust:** 60/100 (B), scored on the package rubric
- **Verification:** community-indexed — nobody has claimed this listing
- **Version:** 0.2.0
- **Author:** io.github.SirMacke
- **License:** MIT
- **npm:** @sirmacke/adsense-mcp
- **Source:** https://github.com/SirMacke/adsense-mcp
- **Compatible clients:** claude-code, cursor, copilot, gemini (basis: transport)

## Trust

60/100 (B), scored on the package rubric
- Publisher verified: no
- Install scripts: nothing suspicious found
- Prompt-injection scan: not run
- Obfuscation scan: not run
- Evidence age: 30 days

## Security scan

- **Status:** clean
- **Scanned:** 2026-09-05T13:32:09.521Z
- **Version scanned:** 0.1.3
- **CVEs:** none found by OSV at scan time

## Tools

3 declared. Statically extracted from the shipped source — a floor on the surface, not a census.
- `adsense_list_accounts` — List AdSense accounts available to the authenticated user.
- `adsense_get_account` — Get one AdSense account by resource name, e.g. accounts/pub-123.
- `adsense_generate_report` — Extract any ad-hoc AdSense report. Supply API v2 dimensions, metrics, filters, dates, sorting, and other report parameters. Account is discovered automatically 

## Install

**Verdict: review** — Installable, but 1 thing to check first: No publisher has proved control of this listing; it is indexed, not vouched for.
**Cautions** (coverage gaps and advisories — never blocking)
- No publisher has proved control of this listing; it is indexed, not vouched for.
**Config** (claude-code):
```json
"{\n  \"mcpServers\": {\n    \"adsense\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"@sirmacke/adsense-mcp\"\n      ],\n      \"env\": {\n        \"ADSENSE_ACCESS_TOKEN\": \"<YOUR_ADSENSE_ACCESS_TOKEN>\",\n        \"ADSENSE_CLIENT_SECRET\": \"<YOUR_ADSENSE_CLIENT_SECRET>\",\n        \"ADSENSE_REFRESH_TOKEN\": \"<YOUR_ADSENSE_REFRESH_TOKEN>\"\n      }\n    }\n  }\n}"
```
**Credentials it will ask for** (names only — Forge never holds a value):
- `ADSENSE_ACCESS_TOKEN` — Adsense Access Token (optional)
- `ADSENSE_CLIENT_SECRET` — Adsense Client Secret (optional)
- `ADSENSE_REFRESH_TOKEN` — Adsense Refresh Token (optional)
Placeholders only. Forge never holds, brokers, or transmits a credential value — replace each <YOUR_NAME> in your own config file. Do not send a value back to Forge; no Forge endpoint accepts one.
- This entry needs 3 credentials (0 required). The generated config carries placeholders, so it will fail in the editor rather than at runtime if they are left unset.

## Blast radius

Moderate blast radius — holds an oauth grant; runs on your machine.
- Floor 31, ceiling 31 (tier: moderate)
- This is impact, not likelihood. A high radius is not a defect: a filesystem server is supposed to write files. It is never part of the trust score.

## Machine-readable views of this entry

- Signed JSON: https://forgeregistry.com/api/v1/packages/%40sirmacke%2Fadsense-mcp
- Install plan: https://forgeregistry.com/api/v1/packages/%40sirmacke%2Fadsense-mcp/install-plan
- Alternatives: https://forgeregistry.com/api/v1/alternatives/%40sirmacke%2Fadsense-mcp
- HTML page: https://forgeregistry.com/registry/%40sirmacke%2Fadsense-mcp
- MCP: POST https://forgeregistry.com/api/mcp → `forge_get_package` / `forge_install_plan`

## About this document

Generated by Forge (https://forgeregistry.com) — a compact rendering of the same record served, signed, at the JSON URL above. Trust and scan facts are the registry's own measurements; anything Forge did not measure is named as unmeasured rather than omitted.
