AdMob MCP Server
Exposes the Google AdMob API as tools for generating network and mediation reports, listing ad units and apps, and retrieving account information.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@AdMob MCP Serverlist my top performing apps from last week"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
AdMob MCP Server
This is a server that exposes the Google AdMob API as a set of tools for the Model Context Protocol (MCP).
Prerequisites
Node.js
npm
Related MCP server: Google Ads MCP Unofficial
Installation
Clone the repository:
git clone https://github.com/kunny/admob-mcp-server.git cd admob-mcp-serverInstall the dependencies:
npm installBuild the server:
npm run build
Configuration
Enable the AdMob API
a. Go to the Google API Console.
b. From the projects list, select a project or create a new one.
c. In the API Library, search for "AdMob API".
d. Select "AdMob API" and click the "Enable" button.
Create OAuth 2.0 Credentials
a. Go to the Credentials page in the Google API Console.
b. Click "Create Credentials" and select "OAuth client ID".
c. Select "Desktop app" for the "Application type".
d. Enter a name for the credential (e.g., "AdMob MCP Server").
e. Click "Create".
f. A "Client ID" and "Client Secret" will be displayed. Click "Download JSON" to download the client secret file.
Set up the Credentials
a. Create a
credentialsdirectory in the root of the project:mkdir credentialsb. Move the downloaded JSON file to the
credentialsdirectory and rename it toclient_secret.json.Set the Publisher Code (Optional)
Create a
.envfile in the root of the project and add your AdMob publisher ID:PUBLISHER_CODE=pub-xxxxxxxxxxxxxxxx
Authentication
Run the following command to authenticate with your Google account:
npm run authThis will open a browser window for you to log in and grant permission to the application.
After you have authenticated, a token.json file will be created in the credentials directory.
Running the Server
To start the server, run the following command:
npm startThe server will be running on stdio.
Capabilities
Prompts
top_performing_apps_last7d: List top performing apps in the last 7 days, sorted by estimated earnings.top_performing_ad_units_last7d: Lists top performing ad units with estimated earnings for all mediated networks over the last 7 days, sorted by estimated earnings.
Tools
generate_network_report: Generates an AdMob Network report based on the provided report specification.generate_mediation_report: Generates an AdMob Mediation report based on the provided report specification.get_account: Gets information about the AdMob publisher account.list_ad_units: Lists the ad units under the AdMob publisher account.list_apps: Lists the apps under the AdMob publisher account.
Usage with AI Agents
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"admob": {
"command": "node",
"args": [
"{PATH_TO_SERVER}/build/index.js"
],
"env": {
"CREDENTIALS_DIR": "{PATH_TO_SERVER}/credentials",
"PUBLISHER_CODE": "pub-xxxxxxx"
}
}
}
}Gemini CLI
Add to your ~/.gemini/settings.json:
{
"mcpServers": {
"admob": {
"command": "node",
"args": [
"{PATH_TO_SERVER}/build/index.js"
],
"env": {
"CREDENTIALS_DIR": "{PATH_TO_SERVER}/credentials",
"PUBLISHER_CODE": "pub-xxxxxxx"
}
}
}
}License
This project is licensed under the Apache License, Version 2.0. See the LICENSE file for details.
This server cannot be installed
Maintenance
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
- Alicense-qualityFmaintenanceMCP server for Google AdSense management. Create ad units, generate framework-specific ad code, manage earnings reports, and automate ads.txt — all from your AI assistant.Last updated17MIT
- AlicenseAqualityBmaintenanceUnofficial Google Ads MCP for campaigns, keywords, budgets, reports and gated mutations.Last updated30322MIT
- AlicenseAqualityCmaintenanceA Model Context Protocol server for the Google AdMob API, enabling reading and writing of AdMob accounts, apps, ad units, mediation settings, and reports.Last updated19MIT
- AlicenseAqualityBmaintenanceEnables natural language queries and management of AdMob apps, ad units, reports, and mediation through the Google AdMob API.Last updated18542MIT
Related MCP Connectors
Automate Google Ad Manager: campaigns, line items, creatives, inventory, reporting — 51 tools.
34 production API tools over one hosted MCP endpoint.
Provide seamless access to Appfolio Property Manager Reporting API through a standardized MCP serv…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/kunny/admob-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server