Skip to main content
Glama
w3wide
by w3wide

Google AdMob Manager MCP Server

npm version License: MIT Model Context Protocol

An enterprise-grade Model Context Protocol (MCP) server providing complete control over Google AdMob REST API (v1beta). Designed for AI Agents (Claude Desktop, Cursor, Antigravity/AGY) to automate AdMob publisher account management, apps, ad units, mediation groups, A/B experiments, bidding ad unit mappings, and performance reporting.


๐ŸŒŸ Key Features

  • 19 Complete REST API Tools: Full matrix covering Accounts, Apps, Ad Units, Ad Unit Mappings, Mediation Groups, A/B Experiments, and Performance Reports.

  • Zero-Config Auto Browser OAuth 2.0: Embedded Google OAuth 2.0 Client credentials (w3wide-auth-services). Automatically opens your system browser for one-click Google AdMob login when unauthenticated.

  • Auto Silent Token Refresh: Tokens are cached at ~/.config/admob-manager-mcp/tokens.json and silently refreshed automatically.

  • Resilient 401/403 Auto-Retry: If tokens expire or permissions change, the server purges cached tokens and seamlessly re-prompts browser authorization.

  • Dual Transport Mode: Supports both standard Stdio transport (npm run mcp) and Streamable HTTP transport with MCP v2 Native Auth (npm run mcp:http).

  • Third-Party Bidding Mapping: Associate Meta Audience Network, Unity Ads, AppLovin, and ironSource Placement IDs with AdMob Ad Units.


Related MCP server: AdMob MCP Server

๐Ÿš€ Quickstart & Installation

Option 1: Run via NPX (Zero Install)

npx @w3wide/admob-manager-mcp

Option 2: Global Installation

npm install -g @w3wide/admob-manager-mcp
admob-manager-mcp

โš™๏ธ MCP Client Configuration Examples

1. Claude Desktop Configuration

Add the following to your claude_desktop_config.json:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

  • Linux: ~/.config/Claude/claude_desktop_config.json

{
    "mcpServers": {
        "admob-manager": {
            "command": "npx",
            "args": ["-y", "@w3wide/admob-manager-mcp"]
        }
    }
}

2. Cursor Configuration (.cursor/mcp.json or Global Settings)

Add to .cursor/mcp.json in your project or global Cursor MCP settings:

{
    "mcpServers": {
        "admob-manager": {
            "command": "npx",
            "args": ["-y", "@w3wide/admob-manager-mcp"]
        }
    }
}

3. Antigravity / AGY / Local MCP Configuration (mcp.json)

Create mcp.json in your workspace directory:

{
    "mcpServers": {
        "admob-manager-mcp": {
            "command": "node",
            "args": ["/absolute/path/to/admob-manager-mcp/dist/index.js"]
        }
    }
}

๐Ÿ” Authentication & Google Cloud Setup

  1. Embedded OAuth Client: Out of the box, the server uses embedded Google OAuth 2.0 Client credentials linked to w3wide-auth-services GCP project.

  2. First Run: When an AI agent executes an AdMob tool, if ~/.config/admob-manager-mcp/tokens.json does not exist:

    • The server spins up a local callback listener on http://localhost:3000/oauth2callback.

    • Your default browser automatically pops up Google's OAuth consent screen.

    • Select your Google Account and click Allow.

    • Tokens are saved locally, and all future tool calls execute seamlessly.


๐Ÿ› ๏ธ Complete MCP Tools Matrix (19 Tools)

Tool Name

Description

Key Parameters

getAdmobAccount

Get AdMob publisher account details

publisherId

listAdmobAccounts

List all AdMob publisher accounts

pageSize, pageToken

listAdmobAdSources

List supported ad sources for mediation

publisherId, pageSize

listAdmobAdSourceAdapters

List adapters for a specific ad source

adSourceParent, pageSize

listAdmobApps

List all apps linked to publisher account

publisherId, pageSize

createAdmobApp

Create a new AdMob app

publisherId, app

listAdmobAdUnits

List ad units for an account

publisherId, filter

createAdmobAdUnit

Create a new Banner/Interstitial/Rewarded ad unit

publisherId, adUnit

listAdmobAdUnitMappings

List bidding mappings for an ad unit

adUnitName, filter

createAdmobAdUnitMapping

Create bidding mapping for Meta/Unity/AppLovin

adUnitName, adUnitMapping

batchCreateAdmobAdUnitMappings

Batch create up to 100 ad unit mappings

publisherId, requests

listAdmobMediationGroups

List mediation groups

publisherId, filter

createAdmobMediationGroup

Create a mediation group

publisherId, mediationGroup

patchAdmobMediationGroup

Update an existing mediation group

mediationGroupName, mediationGroup

createAdmobMediationAbExperiment

Start an A/B mediation experiment

mediationGroupName, mediationAbExperiment

stopAdmobMediationAbExperiment

Stop an active A/B experiment

experimentName, variantChoice

generateAdmobNetworkReport

Generate AdMob Network performance report

publisherId, reportSpec

generateAdmobMediationReport

Generate Mediation revenue & match rate report

publisherId, reportSpec

generateAdmobCampaignReport

Generate Campaign performance report

publisherId, reportSpec


๐Ÿงช Testing with MCP Inspector

Inspect and test all tools interactively in your browser:

npm run inspector

Opens http://localhost:5173 (or active inspector port) with full tool execution UI and parameter schema validation.


๐Ÿ“„ License

This project is licensed under the MIT License.

Install Server
A
license - permissive license
B
quality
A
maintenance

Maintenance

โ€“Maintainers
โ€“Response time
โ€“Release cycle
1Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • -
    license
    -
    quality
    -
    maintenance
    Enables AI assistants to manage Google Ads accounts by providing tools for querying account data and performing write operations such as updating campaign budgets, statuses, and bidding strategies.
    Last updated
    2
  • A
    license
    -
    quality
    B
    maintenance
    Connects Claude to the Google AdMob API to provide a conversational interface for managing and analyzing ad revenue data. It enables users to generate custom network reports, track performance trends, and diagnose revenue fluctuations using natural language.
    Last updated
    2
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    Exposes the Google AdMob API as MCP tools for managing AdMob accounts, generating network and mediation reports, and listing apps and ad units.
    Last updated
    2
    Apache 2.0
  • F
    license
    A
    quality
    C
    maintenance
    Enables querying mobile ad revenue from Google AdMob and Huawei Petal Ads through natural language, with read-only tools for account, app, ad unit, and revenue reports.
    Last updated
    11

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/w3wide/admob-manager-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server