Skip to main content
Glama
AppLovin MCP Server

AppLovin MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
APPLOVIN_HOSTNoHTTP transport bind address host.127.0.0.1
APPLOVIN_PORTNoHTTP transport bind port.8000
APPLOVIN_DRY_RUNNotrue records writes without sending them.
APPLOVIN_MAX_CPMNoOptional cap in US dollars.
APPLOVIN_TIMEOUTNoTimeout in seconds.60
APPLOVIN_READONLYNoAlias for APPLOVIN_READ_ONLY; true registers only read-only tools.
APPLOVIN_AUDIT_LOGNoAudit log path.~/.applovin-mcp/logs/audit.jsonl
APPLOVIN_KEYS_FILENoWhere setup saves keys.~/.applovin-mcp/secrets/keys.json
APPLOVIN_LOG_LEVELNoLog level.
APPLOVIN_PAGE_SIZENoList page size.100
APPLOVIN_READ_ONLYNotrue registers only read-only tools.
APPLOVIN_TRANSPORTNostdio (default), streamable-http or sse (deprecated).stdio
APPLOVIN_ACCOUNT_IDNoAds Manager account ID; required with APPLOVIN_CAMPAIGN_MANAGEMENT_API_KEY.
APPLOVIN_UPLOAD_DIRNoThe only folder creative files may be uploaded from; required for uploads.
APPLOVIN_TOOL_GROUPSNoads, max, or groups: ads_campaigns, ads_creatives, ads_assets, ads_reporting, max_reporting, max_ad_units, max_ad_review, request. Meta tools are always on.
APPLOVIN_ALLOW_REMOTENotrue (or --allow-remote) lets HTTP bind to a non-loopback address. The server has no sign-in.
APPLOVIN_AD_REVIEW_KEYNoMAX Ad Review Key; required for Ad Review rules.
APPLOVIN_BULK_THRESHOLDNoBatch size above which writes need confirm=APPLY.10
APPLOVIN_MAX_REPORT_KEYNoMAX Report Key; required for MAX reports.
APPLOVIN_MAX_DOWNLOAD_MBNoLargest response or report file held in memory.200
APPLOVIN_ADS_ACCOUNT_TYPENoWhich report endpoint applovin_ads_report uses by default: app or web.app
APPLOVIN_MAX_DAILY_BUDGETNoOptional cap in US dollars.
APPLOVIN_MAX_INCREASE_PCTNoPercentage change above which writes need confirm=APPLY.20
APPLOVIN_REPORT_PAGE_SIZENoReport rows per request.5000
APPLOVIN_REPORTING_API_KEYNoAds Manager Report Key; required for Ads Manager reports.
APPLOVIN_MAX_MANAGEMENT_KEYNoMAX Management Key; required for MAX ad units.
APPLOVIN_AUDIT_RETENTION_DAYSNoDays to keep audit log entries; 0 keeps them.30
APPLOVIN_CAMPAIGN_MANAGEMENT_API_KEYNoCampaign Management API key (whitelist-only); required for Ads Manager writes.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

AppLovin Ads Manager (applovin_ads_*: campaigns, creative sets, assets, reports) and MAX (applovin_max_*: revenue, cohort and user-level reports, ad units, waterfalls). Start with applovin_describe_server and applovin_health_check: they show which keys are set and whether the whitelist-only Campaign Management API accepts yours. Writes change live campaigns, spend and ad revenue. Rehearse in dry-run (applovin_set_dry_run) and show the user what will change first. Removals need confirm='DELETE'; big batches, budget, goal or CPM changes beyond the limit, promotions and raw writes need confirm='APPLY'. Every write is in the audit log (applovin_audit_tail) with a before-snapshot where available. Failed Campaign Management calls count towards a 24-hour AppLovin block, so fix arguments rather than retrying. AppLovin treats report statistics and pricing as confidential: don't share them outside the user's organisation, or merge user-level data with other personal data, unless the user confirms it's allowed. Tools can be limited with APPLOVIN_TOOL_GROUPS ('ads', 'max' or group names) or APPLOVIN_READ_ONLY=true.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
applovin_describe_serverA

Show which AppLovin keys are set (never their values), which side (Ads Manager, MAX) and tool groups are enabled, and the safety settings.

applovin_health_checkA

Check every configured key with one cheap read per AppLovin API.

A 401/403 from the Campaign Management API usually means the account isn't on AppLovin's whitelist yet; the reporting keys work without it.

applovin_audit_lookupA

Look up an audit log entry by ID: the request, response and before-snapshot of a write.

applovin_audit_tailB

Show the most recent audit log entries (writes and dry-run rehearsals).

applovin_set_dry_runA

Turn dry-run on or off for this session. In dry-run, writes are recorded in the audit log and returned as a preview but NOT sent to AppLovin; reads still work.

applovin_ads_list_campaignsA

List Ads Manager campaigns (archived campaigns aren't returned).

ids filters by campaign ID; hashed_ids by external ID (the campaign_id_external column in reports). statuses (LIVE, PAUSED) and name_contains filter the results locally. Budget and goal values are strings of US dollars or ROAS fractions (1 = 100%).

applovin_ads_create_campaignA

Create one Ads Manager campaign. Changes the live account and can spend money.

campaign: the Campaign object as AppLovin documents it. type is APP or WEB. APP needs bidding_strategy, budget, goal, name, package_name, platform, start_date (today or later), targeting, tracking (and itunes_id on iOS); WEB needs bidding_strategy, budget, goal, name, start_date, targeting, website_url. Example budget {"daily_budget_for_all_countries": "500"}; goal {"goal_type": "CHK_ROAS", "roas_day_target": "DAY7", "goal_value_for_all_countries": "0.5"}; targeting [{"country_code": "US"}]. Goal type, bidding strategy, platform and start date can't be changed later.

AppLovin ignores status on create, so with start_paused (default) the server pauses the new campaign straight away; turn it on later with applovin_ads_set_campaign_status. Budgets over APPLOVIN_MAX_DAILY_BUDGET need confirm='APPLY'. Rehearse with dry-run first.

applovin_ads_update_campaignsA

Update Ads Manager campaigns, one request each with progress (up to 50).

items: objects with id plus only the fields to change, e.g. {"id": "123", "budget": {"daily_budget_for_all_countries": "800"}}, {"id": "123", "goal": {"goal_value_for_all_countries": "0.6"}}, {"id": "123", "targeting": [{"country_code": "US"}, {"country_code": "CA"}]}, {"id": "123", "end_date": "2026-12-31T00:00:00"}. type is filled in from the campaign. bidding_strategy, platform, start_date and the goal's goal_type/event_target/roas_day_target can't be changed.

Current values are read first and kept in the audit log. Budget or CPI/CPE/CPP goal rises, and ROAS goal cuts, of more than APPLOVIN_MAX_INCREASE_PCT (or where the current value can't be read), and more than APPLOVIN_BULK_THRESHOLD campaigns, need confirm='APPLY'. A batch stops at its first failure.

applovin_ads_set_campaign_statusA

Pause (PAUSED) or resume (LIVE) Ads Manager campaigns, up to 50.

Resumed campaigns start spending again. More than APPLOVIN_BULK_THRESHOLD campaigns need confirm='APPLY'.

applovin_ads_campaign_historyA

Show who changed which campaigns and how (creates, updates, status changes, archives), newest first, with before/after values for updates.

Dates are YYYY-MM-DD (UTC) within the last 30 days; pass both or neither (default: the last 7 days). campaign_id narrows it to one campaign. Archived campaigns still appear here.

applovin_ads_get_catalog_infoA

List the product catalogs and variant sets available for dynamic ads (web and e-commerce accounts only). Use the IDs as catalog_id and variant_set_id on a WEB campaign.

applovin_ads_list_creative_setsA

List creative sets, with their assets, countries and campaign IDs.

Filter by ids, by hashed_ids (the creative_set_id column in reports), or by campaign_ids (returns the sets grouped by campaign). Pass at most one filter.

applovin_ads_create_creative_setA

Create a creative set. Changes the live account.

creative_set: type (APP or WEB), name and assets ([{"id": ""}] from applovin_ads_list_assets; either a HOSTED_HTML asset, or an IMG_INTER_P image plus a VID_LONG_P or VID_SHORT_P video), and optionally campaign_id, countries, languages, status (APP only), product_page (APP) or creative_set_url / brand_info (WEB). Without campaign_id the set is standalone; add it to campaigns with applovin_ads_add_creative_sets_to_campaigns.

applovin_ads_update_creative_setsA

Update creative sets, one request each with progress (up to 50).

items: objects with id plus the fields to change, e.g. {"id": "56789", "status": "PAUSED"} or {"id": "56789", "countries": ["US", "CA"]}. Setting assets replaces the set's asset list. type is filled in from the set. Current values are kept in the audit log. More than APPLOVIN_BULK_THRESHOLD sets need confirm='APPLY'. Stops at the first failure.

applovin_ads_clone_creative_setA

Copy a creative set into another campaign. The copy is PAUSED unless you pass status='LIVE'. The source set must already belong to a campaign.

applovin_ads_add_creative_sets_to_campaignsA

Add existing creative sets (up to 50) to campaigns (up to 20). Live campaigns start serving them. More than APPLOVIN_BULK_THRESHOLD set-campaign pairs need confirm='APPLY'.

applovin_ads_remove_creative_setsA

Take creative sets out of campaigns so they stop serving there. Needs confirm='DELETE' after the user agrees.

With campaign_ids (up to 20), each set is removed from those campaigns; without, from every campaign. The sets themselves remain and can be added back with applovin_ads_add_creative_sets_to_campaigns; their campaign lists are kept in the audit log. To stop a set temporarily, pause it instead.

applovin_ads_list_assetsB

List uploaded creative assets with their type, review status (IN_REVIEW, REJECTED, ACTIVE, PAUSED), URL and, for rejected ones, violation_reasons.

resource_type: image, html or video. Use asset IDs in creative sets.

applovin_ads_upload_assetsA

Upload creative files (videos, images, HTML playables) to Ads Manager.

paths: absolute paths, or paths relative to APPLOVIN_UPLOAD_DIR; files must be inside that folder. Up to 40 files, 1 GB each, 10 GB in total, with unique names; types .mp4, .mov, .jpg, .png, .gif, .html. AppLovin then processes and reviews them. With wait (default) the tool polls the upload with progress until every file is processed and returns each file's status and asset ID; otherwise use applovin_ads_get_upload_result.

Each file AppLovin rejects counts towards its 100-errors-in-five-minutes block, so check files first. More than APPLOVIN_BULK_THRESHOLD files need confirm='APPLY'.

applovin_ads_get_upload_resultA

Check an asset upload: upload_status (PENDING or FINISHED), a summary count, and per file its status (PENDING, FAILURE, SUCCESS), asset ID and any error message.

applovin_ads_add_assets_to_creative_setsA

Add ACTIVE assets (up to 10) to creative sets (up to 50). Live sets start serving them. More than APPLOVIN_BULK_THRESHOLD asset-set pairs need confirm='APPLY'.

applovin_ads_remove_assetsA

Take assets (up to 10) out of creative sets so they stop serving there. Needs confirm='DELETE' after the user agrees.

With creative_set_ids (up to 50) the assets leave those sets; without, every set. The assets stay in the library and can be added back. A set needs a playable, or an image plus a video, so removing its last one may stop it serving.

applovin_ads_reportA

Run an Ads Manager performance report and return its rows, paging with progress (data is UTC).

kind: 'app' (/report, last 45 days) or 'web' (/webReport, last 90 days); default APPLOVIN_ADS_ACCOUNT_TYPE. Dates are YYYY-MM-DD; end may be 'now'. cohort=true attributes metrics back to the serve day (day_column=day). attribution_mode (web only): 'click' or 'click_and_view'. filters {"country": ["US", "GB"]}, exclude (filter_not_), sort ["cost:DESC"], having e.g. 'impressions > 0 AND cost > 0' (slow), not_zero drops all-zero rows. The deprecated app columns ad and ad_id are refused; use ad_creative_type, creative_set and placement_type.

Useful columns (app campaigns): day, hour, campaign, campaign_id_external, campaign_type, country, platform, creative_set, creative_set_id, ad_creative_type, placement_type, impressions, clicks, ctr, conversions, cost, average_cpa, sales, roas_7d, ad_roas_7d, total_rev_7d, ret_1d, target_event_count. Time-span columns end in _0d, _1d, _3d, _7d, _14d, _30d, _90d or _1y. Useful columns (web campaigns): day, hour, campaign, campaign_id_external, country, creative_set, creative_set_id, impressions, clicks, ctr, cost, average_cpc, sales, sales_7d, roas_7d, chka_usd_7d, cpp_7d, nc_d7_roas, generate_lead_7d, cost_per_lead_7d. Windows: _0d, _1d, _3d, _7d, _14d, _28d.

applovin_ads_asset_reportA

Asset-level performance (impressions, clicks, ctr, cost per asset).

Pass range ('yesterday', 'last_7d' or 'last_month'), or start and end (YYYY-MM-DD, last 45 days). Columns: asset_id, asset_name, asset_url, campaign, campaign_id, campaign_package_name, creative_set, creative_set_id, impressions, clicks, ctr, cost. filters/exclude work on the ID and name columns; greater_than/less_than on metrics, e.g. {"impressions": 100}. Yesterday's data is final after 06:00 UTC.

applovin_ads_spend_reportA

Daily spend in USD by US state or metro area (DMA), per campaign.

geo_type: 'state' or 'metro'. Dates YYYY-MM-DD within the last 365 days; end may be 'now'. Default columns: day, campaign_id_external, campaign, state or metro_code + metro_name, cost. AppLovin documents this endpoint on a page that isn't in its navigation yet, so it may change.

applovin_max_revenue_reportA

Run a MAX revenue report (estimated, aggregated mediation statistics in UTC) and return its rows, paging with progress. Data from the last 1-2 hours may be incomplete.

Dates are YYYY-MM-DD within the last 45 days. filters {"platform": "ios", "max_ad_unit_id": ["abc"]}, sort ["estimated_revenue:DESC"] (applied in order), not_zero drops all-zero rows.

Columns: day, hour (last 30 days), application, package_name, platform, store_id, country, device_type, has_idfa, ad_format, max_ad_unit, max_ad_unit_id, max_ad_unit_test, max_placement, ad_unit_waterfall_name, network, network_placement, custom_network_name, impressions, estimated_revenue, ecpm, requests (not with network columns), attempts, responses and fill_rate (only with network or network_placement, not with max_placement).

applovin_max_cohort_reportA

Run a MAX cohort report: what users who installed on each day went on to earn (kind='revenue'), see (kind='impressions') or do (kind='sessions', including retention_X). Install dates are YYYY-MM-DD within the last 45 days (UTC). Returns rows, paging with progress.

Columns by kind (X is one of 0-7, 10, 14, 18, 21, 24, 27, 30, 45 days since install): revenue: day, application, package_name, platform, country, installs, pub_revenue_X, rpi_X, ads_pub_revenue_X, ads_rpi_X, iap_pub_revenue_X, iap_rpi_X, banner_/inter_/mrec_/reward_ + pub_revenue_X or rpi_X impressions: ... installs, imp_X, imp_per_user_X, user_count_X, banner_/inter_/mrec_/reward_ + imp_X or imp_per_user_X sessions: ... installs, daily_usage_X, session_count_X, session_length_X, user_count_X, retention_X

applovin_max_user_revenueA

Summarise MAX user-level ad revenue for one app and one UTC day.

Pass application (package name / bundle ID) or store_id (numeric iTunes ID or Android package name), and platform (android, fireos or ios). Data for a day is ready 8 hours after it ends (UTC); the last 45 days are available. aggregated=true gives one row per user; false one row per impression.

Returns totals, revenue and impressions by group_by columns (default 'Ad Unit ID'; e.g. ['Placement'], ['Network', 'Country'] for impression rows) and up to max_rows sample rows. IDFA, IDFV, User ID and Custom Data are masked unless include_identifiers=true; only ask for them when the user needs them, and don't merge them with other personal data unless the user confirms their end users consented. Nothing is saved to disk.

applovin_max_list_ad_unitsA

List active MAX ad units (id, name, platform, package_name, ad_format, has_active_experiment).

fields adds detail for every unit: ad_network_settings, frequency_capping_settings, bid_floors (slower; may time out on big accounts, so prefer applovin_max_get_ad_unit for one unit). platform, ad_format and package_name filter the results locally.

applovin_max_get_ad_unitA

Get one MAX ad unit with its networks and CPMs, bid floors, frequency caps, refresh settings and segments (waterfalls).

segment_id: a waterfall's ID (from segments) to get that waterfall. experiment=true gets the ad unit's experiment instead. fields overrides the detail returned.

applovin_max_create_ad_unitA

Create a MAX ad unit. Changes the live account.

platform: ios or android. ad_format: e.g. INTER, REWARD, BANNER, MREC, NATIVE. template_size is for native units only (small_template_1, medium_template_1 or custom_template_1). AppLovin refuses a second active ad unit for the same app, platform and format through the API; use the dashboard for that.

applovin_max_update_ad_unitA

Change a MAX ad unit, one of its waterfalls (segment_id) or its experiment (experiment=true). Changes live ad serving and revenue.

changes: only the fields to change, e.g. {"bid_floors": [...]} (send the full list of floors), {"frequency_capping_settings": [...]}, {"banner_refresh_settings": {"interval": 30}}, or {"ad_network_settings": [{"ADMOB_NETWORK": {"ad_network_app_id": "...", "ad_network_ad_units": [...]}}]}. For a network, include every line you want to keep: AppLovin replaces that network's list. Other networks are untouched. id, name, platform, format and package are filled in from the current ad unit.

The current settings are read first and kept in the audit log. Floor or CPM rises above APPLOVIN_MAX_INCREASE_PCT, values over APPLOVIN_MAX_CPM, disabled networks or lines, dropped lines, and changes whose current value can't be read need confirm='APPLY'. Use applovin_max_create_waterfall, applovin_max_remove_waterfall and applovin_max_end_experiment for those actions.

applovin_max_create_waterfallA

Add a waterfall for a user segment to a MAX ad unit.

segment: {"name": "No-ID iPhones", "id_type": "all|id_only|no_id", "device_type": "all|phones|tablets", "segment_keys": [["+1:2"]]} (keys from data and keyword passing). A segment can't be changed later; remove the waterfall and create a new one instead. settings: optional ad_network_settings, bid_floors and other ad unit fields for the new waterfall. Values over APPLOVIN_MAX_CPM need confirm='APPLY'.

applovin_max_remove_waterfallA

Remove a segment waterfall from a MAX ad unit; its users fall back to the default waterfall. Needs confirm='DELETE' after the user agrees. The waterfall's settings are kept in the audit log.

applovin_max_create_experimentA

Start an A/B experiment on a MAX ad unit (or one of its waterfalls).

The experiment copies the ad unit; changes sets what differs (for example bid_floors or ad_network_settings). test_group_allocation: 50, 25, 10 or 5 (% of users). Only one active experiment per ad unit. Floor or CPM rises above the limit compared with the live ad unit need confirm='APPLY'.

applovin_max_end_experimentA

End a MAX ad unit experiment.

action='promote' makes the experiment's settings the live settings for all users (confirm='APPLY'); action='deprecate' discards the experiment (confirm='DELETE'). Look at its results first (applovin_max_revenue_report with the max_ad_unit_test column). Both settings are kept in the audit log.

applovin_max_list_test_devicesA

List MAX test devices (enabled and disabled) with their network.

applovin_max_set_test_deviceB

Add a test device, or change an existing one's name, network or disabled flag. device_id is the device's advertising ID (IDFA/GAID). network is a Network API name such as APPLOVIN_NETWORK (default for new devices).

applovin_max_list_ad_review_rulesA

List MAX Ad Review rules, active and paused. kind: 'competitors' (block or flag ads by title, store category or advertiser) or 'risky' (risky content rules).

applovin_max_create_ad_review_rulesA

Create MAX Ad Review rules in one request (also re-activates matching paused rules).

Competitor rules look like {"name": "android title rule", "platform": "android", "package_names": ["com.my.app"] (empty = all apps on that platform), "rule_type": "title|store_category|advertiser", "value": ["com.rival.game"]}; names are up to 35 characters. The response lists updated_rules, existing_rules and invalid_rules. More than APPLOVIN_BULK_THRESHOLD rules need confirm='APPLY'.

applovin_read_requestA

Read (GET) any AppLovin API endpoint the other tools don't cover, e.g. the HTML Metrics API (api='ads_reporting', path='/playableMetrics').

api: 'ads' (Campaign Management, https://api.ads.axon.ai/manage/v1), 'ads_reporting' (https://r.applovin.com with the Ads Manager Report Key), 'max_reporting' (https://r.applovin.com with the MAX Report Key), 'max' (Ad Unit Management, https://o.applovin.com/mediation/v1) or 'ad_review' (https://api-safedk.applovin.com). path is relative to that base and starts with '/'. query holds the parameters; lists are sent comma-separated. The key (and account_id for 'ads') are added for you: never pass them.

applovin_requestA

Call any AppLovin API endpoint the other tools don't cover. api: 'ads' (Campaign Management, https://api.ads.axon.ai/manage/v1), 'ads_reporting' (https://r.applovin.com with the Ads Manager Report Key), 'max_reporting' (https://r.applovin.com with the MAX Report Key), 'max' (Ad Unit Management, https://o.applovin.com/mediation/v1) or 'ad_review' (https://api-safedk.applovin.com). GET is a read. Every other method is a write: it follows dry-run, is audited, and needs confirm='APPLY' because this tool can't check what it changes. body is sent as JSON.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 42 tools

Disambiguation4/5

Most tools target distinct AppLovin resources/actions, with product prefixes and detailed descriptions that separate campaigns, creative sets, assets, reports, MAX ad units, waterfalls and experiments. There is some overlap around generic applovin_read_request/applovin_request and applovin_max_update_ad_unit handling waterfall/experiment settings, but descriptions steer agents to dedicated tools.

Naming Consistency4/5

Names are consistently lower snake_case with an applovin_ prefix and product/action grouping (ads_, max_, audit_, etc.). Minor deviations include noun-style report tools (asset_report, spend_report, user_revenue) and singular/plural inconsistency (create_campaign vs update_campaigns).

Tool Count2/5

At 42 tools the surface is heavy for an agent to navigate, even though the domain spans two AppLovin products plus reporting, assets and audit utilities. Many operations are well justified, but the count exceeds a comfortably scoped set and increases selection burden.

Completeness4/5

Core lifecycle coverage is strong across Ads Manager campaigns/creative sets/assets and MAX ad units/waterfalls/experiments, with reporting, audit and generic request fallbacks. Dedicated delete/archive operations for some resources (campaigns, creative sets/assets, ad review rules) are missing, leaving minor gaps that generic tools must cover.