At a glance: AppsFlyer MCP connects your AppsFlyer data to large language models (LLMs), such as Claude, ChatGPT, Gemini CLI, Copilot CLI, and VS Code. Ask questions, get performance insights, and retrieve AppsFlyer information directly in your AI chat or development environment.
Disclaimer
The AppsFlyer MCP Server is a service currently in beta phase, provided by AppsFlyer for evaluation purposes.
By using it to connect third-party AI tools, you agree that AppsFlyer has no responsibility or liability for such tools, their outputs, results, performance, operation, legality, or reliability. AppsFlyer does not control, endorse, or verify these tools or their results and expressly disclaims all warranties, express or implied, relating thereto. AppsFlyer is not responsible for data storage, retention, processing, or use by such tools. You are solely responsible for ensuring compliance with applicable laws and your own internal policies. You represent that you have all necessary rights and consents to connect these tools to the MCP Server and provide them access to your data. The service is provided “as-is” for supported use cases only. Use outside this scope is at your sole risk. Use is subject to the terms of the Master Services Agreement, or if a definitive agreement has been signed, then the terms of such agreement.
What is AppsFlyer MCP?
AppsFlyer MCP lets you securely connect LLMs to the AppsFlyer platform so you can interact with your marketing data through simple conversation. AppsFlyer MCP helps you make smarter, faster decisions based on real-time data.
With MCP, you can:
- Get instant campaign performance, trends, and KPI information.
- Compare metrics like ROAS, installs, and LTV.
- Audit and troubleshoot OneLink templates, links, and Audiences connections.
- Retrieve setup guidance or product documentation.
Set up AppsFlyer MCP
AppsFlyer MCP can connect to chat assistants, CLIs, IDEs, automation platforms, and self-hosted agents. Setup depends on the client you use and the authentication method it supports.
Note
Some platforms might require admin approval to connect MCP servers. If you don’t see the setup options described below, contact your IT or workspace admin.
Authentication methods
AppsFlyer MCP supports two authentication methods. Use the method that matches how you plan to connect to AppsFlyer MCP.
| Authentication method | Used by | Best for | Access duration |
|---|---|---|---|
| Browser-based OAuth login | Gemini CLI, Copilot CLI, ChatGPT, Claude.ai, and Claude Desktop | Ad hoc questions, exploratory analysis, and one-off reports | Requires re-authentication approximately every 10 hours |
| Bearer token authentication | Claude Code, automation platforms, self-hosted agents, and integrations | Automations, scheduled tasks, background agents, and non-interactive workflows | Valid until manually revoked |
Browser-based OAuth login
Browser-based OAuth login lets you connect interactively through your browser. When you connect, the MCP client opens a browser window and asks you to log in to AppsFlyer. After you approve access, the client connects to your AppsFlyer account.
Use this method for interactive sessions, exploratory analysis, and one-off reports.
Bearer token authentication
Bearer token authentication lets non-interactive tools connect to AppsFlyer MCP by using an AppsFlyer MCP token. The token is passed in the request header:
Authorization: Bearer <YOUR_MCP_TOKEN>Use this method for automations, scheduled tasks, background agents, and integrations that can’t use a browser login.
To create a token, go to Account menu > Security Center > AppsFlyer Tokens and create an MCP token.
Set up by client
Claude.ai and Claude Desktop
Use Claude.ai and Claude Desktop with browser-based OAuth login. These instructions apply to Claude on web and desktop.
Note
For Team and Enterprise plan users, only Owners or Admins can add organization-wide integrations.
Set up Claude.ai and Claude Desktop
- Click your name in the lower-left corner and select Settings. Alternatively, in a new chat, click Search & tools > Manage connectors.
- Open the Connectors tab.
- Switch to the Organization connectors tab.
- In the connectors section, click Add connector.
- Enter the following connector details:
- Connector name: AppsFlyer
-
Connector URL:
https://mcp.appsflyer.com/auth/mcp
- Click Add.
- Switch to the Your connectors tab.
- In the connectors section, click Connect next to the AppsFlyer connection.
- Log in to AppsFlyer when prompted.
Test the Claude connection
- In any chat window, click the settings button.
- If AppsFlyer MCP was set up correctly, the AppsFlyer tools appear in the menu.
Claude Code
Use Claude Code with bearer token authentication for automation, scheduling, and non-interactive workflows.
Add AppsFlyer MCP to Claude Code
- In AppsFlyer, go to Account menu > Security Center > AppsFlyer Tokens.
- Create an MCP token.
-
In Terminal, add the AppsFlyer MCP server:
claude mcp add-json appsflyer '{"type":"http","url":"https://mcp.appsflyer.com/auth/mcp","headers":{"Authorization":"Bearer YOUR_APPSFLYER_MCP_TOKEN"}}' -
Start Claude Code:
claude . -
Verify that the MCP server was added:
claude mcp list - Confirm that
appsflyerappears in the list of configured MCP servers. -
Ask an AppsFlyer question. For example:
What apps are in my AppsFlyer account?What were my top media sources in the US last week for "Mypets.android.com"?Create a summary of the performance of "Mypets.android.com" in the last day, segmented by campaign.
Cursor IDE
Use Cursor IDE to connect AppsFlyer MCP from your local development environment.
- Create or open a configuration file, depending on the scope:
-
Global configuration:
~/.cursor/mcp.json -
Project-specific configuration:
.cursor/mcp.json
-
Global configuration:
-
Add the following entry under the
mcpServersfield in your JSON file:{ "mcpServers": { "appsflyer": { "url": "https://mcp.appsflyer.com/auth/mcp" } } } - Restart Cursor IDE to apply the new configuration.
- Authenticate when prompted to access AppsFlyer MCP services.
VS Code
- Press
Cmd+Shift+PorCtrl+Shift+Pto open the Command Palette. - Select Configure MCP Servers.
-
In
.vscode/mcp.json, add the AppsFlyer MCP server configuration:{ "servers": { "appsflyer": { "url": "https://mcp.appsflyer.com/auth/mcp" } } } - Save the file and restart Copilot Chat.
ChatGPT
There are two ways to use ChatGPT with AppsFlyer MCP.
- Custom GPT: Best for simple access to an AppsFlyer assistant.
- MCP in ChatGPT: Best for users who want to bring AppsFlyer data into ChatGPT conversations.
Add the AppsFlyer custom GPT
- Click AppsFlyer custom GPT.
- Save the GPT to your sidebar for easy access.
- Open the custom GPT.
-
Ask a question. For example:
Show me my Meta campaign performance from last week.
Add AppsFlyer MCP in ChatGPT
Note
Admin setup might be required to add and publish a connector to your organization.
- Add a connector and publish it to your organization.
- Enter the following connector details:
- Name: AppsFlyer MCP
-
URL:
https://mcp.appsflyer.com/auth/mcp - Authentication: OAuth
- To connect for the first time, go to Settings > Apps & Sources > AppsFlyer MCP.
- Connect to AppsFlyer MCP.
- Follow the steps to connect and log in with your AppsFlyer credentials.
After setup, open a chat, select Sources or Connectors, and turn on the AppsFlyer connection.
For security, AppsFlyer MCP disconnects approximately every 10 hours. To reconnect, repeat the connection flow.
Gemini CLI
Use Gemini CLI with browser-based OAuth login.
Add AppsFlyer MCP to Gemini CLI
-
In Terminal, add the AppsFlyer MCP server:
gemini mcp add appsflyer https://mcp.appsflyer.com/auth/mcp -t http -
Start Gemini CLI:
gemini -
In the Gemini CLI prompt, enter:
auth - Complete the authentication flow in your browser, and then return to Terminal.
-
Ask an AppsFlyer question. For example:
What apps are in my AppsFlyer account?
Troubleshoot Gemini CLI authentication
If authentication fails, start Gemini CLI in debug mode:
GEMINI_LOG_LEVEL=debug gemini
Then enter auth again in the Gemini CLI prompt.
Copilot CLI
Use Copilot CLI with browser-based OAuth login.
Add AppsFlyer MCP to Copilot CLI
- Open Terminal.
-
Start Copilot CLI:
copilot -
If you’re not logged in, enter the following command in the Copilot CLI prompt:
/login - Complete the browser login.
-
In the Copilot CLI prompt, enter:
/mcp add -
Enter the following MCP server details:
Field Value Server Name appsflyerServer Type HTTPURL https://mcp.appsflyer.com/auth/mcpTools * - Press Ctrl+S to save the configuration.
- When prompted, complete the AppsFlyer authentication flow in your browser.
- Return to Terminal.
-
Ask an AppsFlyer question. For example:
What apps are in my AppsFlyer account?
Third-party and self-hosted platforms
Use an MCP token to authenticate third-party or self-hosted systems with AppsFlyer MCP. This supports automation and AI integrations with platforms like n8n, Make, or your own LLM-powered agents.
The MCP token is an account-level bearer token that inherits the permissions of the admin who created it. You can access and manage it from Security Center > AppsFlyer Tokens.
MCP connection details
To connect your automation or agent platform to AppsFlyer MCP, use the following configuration:
- Auth Type: Bearer Token
-
Base URL / Endpoint:
https://mcp.appsflyer.com/auth/mcp - Bearer Token: Your MCP token
Note
Never share or publish your token publicly. Treat it as a private credential. Your MCP token grants direct access to your MCP environment.
Example use cases
| Category | Example |
|---|---|
| Custom agents | Build an AI agent that uses MCP to fetch data, analyze it, and send recommendations. |
| LLM integrations | Let a self-hosted LLM query campaign performance metrics through MCP. |
Other platforms
By default, only the platforms listed above are enabled. To connect a different platform, contact your CSM or send an email to hello@appsflyer.com.
Use AppsFlyer MCP
Use cases and prompts
AppsFlyer MCP gives you a set of tools and resources designed to help you retrieve marketing analytics, performance insights, and configuration information.
Important!
Answers generated through AppsFlyer MCP are only reliable when used for the supported use cases listed below. Responses outside of these use cases have not been validated by AppsFlyer and might be inaccurate or misleading. We can’t guarantee the precision or correctness of AI-generated answers that fall outside the intended scope of the AppsFlyer MCP integration.
Some example use cases and prompts are:
Analyze performance
Explore aggregated marketing performance data in real time. You can identify top- and low-performing campaigns, run comparisons, spot trends, and uncover insights to help guide decision-making.
Prompt: "What were my top media sources in the US last week for Mypets.android.com?"
Expected AI response: The AI retrieves top-performing media sources, including installs, revenue, and ROAS.
Prompt: "What is the best campaign in terms of ROAS where total installs are at least 5000?"
Expected AI response: The AI identifies and ranks campaigns meeting the criteria with performance insights.
Prompt: "How many installs did we have yesterday in China for Mypets.android.com app?"
Expected AI response: The AI fetches the number of installs in China for that day and app.
Prompt: "Create a summary of the performance of Mypets.android.com in the last day, segmented by campaign."
Expected AI response: The AI returns a campaign-segmented performance report for that app.
Prompt: "Compare D1 retention last week vs. the week before, grouped by media source."
Expected AI response: The AI performs a week-over-week comparison of D1 retention rates, grouped by media source.
Analyze SKAN performance
Gain insights into iOS campaign performance using Apple’s SKAdNetwork framework. Identify top-performing campaigns and analyze KPI trends to support decision-making.
Prompt: "What was the ROI by network for the last month?"
Expected AI response: The AI retrieves ROI results for the selected period and highlights the top networks.
Prompt: "Which campaigns have the lowest CPI?"
Expected AI response: The AI identifies campaigns with the lowest CPI, ranking the top performers.
Prompt: "What were the weekly conversion rates for the event af_subscribed in the last month?"
Expected AI response: The AI provides a week-by-week breakdown of conversion rates for the event and indicates the overall trend.
Prompt: "Which networks have the highest null rates, and which campaigns under them show the highest null rates?"
Expected AI response: The AI identifies networks with the highest null rates and outlines the campaigns contributing most to those rates.
OneLink management
Query and audit your OneLink templates and links to support consistent routing and accurate user journeys. MCP can help you troubleshoot issues and verify link setup at scale.
Prompt: "Audit the HolidayPush2025 template and show all links with parameters."
Expected AI response: The AI returns a CSV table with short links and associated parameter values.
Prompt: "Why does this OneLink redirect to the App Store for existing users?"
Expected AI response: The AI returns troubleshooting insights based on link parameters and fallback logic.
Prompt: "List all QR-enabled OneLinks for app TravelBuddy."
Expected AI response: The AI returns a list of generated OneLinks with QR links and associated metadata.
Knowledge base and developer support
Quickly access AppsFlyer documentation and DevHub resources. Get answers about SDK setup, product behavior, and measurement logic directly in your AI chat.
Prompt: "How do I set up in-app event deduplication on Android?"
Expected AI response: The AI provides setup steps, code snippets, and best practices.
Prompt: "What’s the attribution lookback window for TikTok installs?"
Expected AI response: The AI explains the latest platform-specific attribution rules.
Prompt: "What’s the best way to optimize my app's ROAS using AppsFlyer?"
Expected AI response: The AI outlines strategic levers like segmentation, partner optimization, and LTV measurement best practices.
Apps management
Retrieve key app configuration details such as attribution windows, session timeouts, re-engagement settings, and more. Use this information to audit and compare app settings across your portfolio.
Prompt: "What is the attribution window set for my gaming apps?"
Expected AI response: The AI returns a list of apps with their configured attribution windows, highlighting any deviations from the standard.
Prompt: "In which of my apps do I have a different lookback window?"
Expected AI response: The AI surfaces apps with non-standard lookback windows and shows their configured values.
Prompt: "List all of my iOS pinned apps that are active."
Expected AI response: The AI returns a list of pinned iOS apps that are currently active, including app IDs and names.
Prompt: "What is the current session timeout setting for the AppsFlyer gaming app and could it affect my re-engagement from being attributed?"
Expected AI response: The AI returns the session timeout setting and explains its impact on re-engagement.
Audiences management
Gain visibility into audience structure, ownership, partner connections, and active tests. Use this information to streamline cross-functional campaign management.
Prompt: "Give me all active audiences for the FinancePro app."
Expected AI response: The AI returns a list of audiences with metadata such as creation date, owner, and partners.
Prompt: "Who last updated the audience Churned Users - Tier A?"
Expected AI response: The AI returns the user ID or email with the timestamp of the last modification.
Prompt: "List all audiences currently in a split test with Meta and TikTok."
Expected AI response: The AI returns a list of active audiences with test configuration and split percentages.
Feedback tool
Submit feedback about your experience using AppsFlyer MCP directly through the assistant interface. Your feedback helps us improve and shape the future of the product.
Prompt: "The analytics provided in the analysis tool are amazing and helpful for our decision-making. I’d like to see in-app event measurement added as an option in the analysis."
Expected AI response: The AI submits the feedback to the AppsFlyer MCP product team.
Cost configuration integration
Gain visibility and control over your cost data with the Cost Configuration MCP. This integration helps you maximize cost coverage, detect integration gaps early, and keep cost data complete and accurate across ad networks.
Prompt: "What active cost integrations do I have in my AppsFlyer account?"
Expected AI response: The AI lists all enabled cost integrations in your AppsFlyer account, along with their linked app IDs and current status.
Prompt: "Show me the issues I have in my active cost integrations."
Expected AI response: The AI displays active cost integrations that had issues in the last 7 days, ordered by ad network and connected apps.
Prompt: "Which cost integrations should I connect based on my recent attribution data?"
Expected AI response: The AI shows ad networks that support cost integration but aren’t connected yet, ranked by recent traffic volume by app.
Ad revenue integrations
Gain visibility and control over your ad revenue integrations using AppsFlyer MCP. You can use MCP to confirm which ad revenue integrations are enabled, monitor their health, detect gaps early, and keep ad revenue data flowing consistently across your apps and monetization partners.
Prompt: "What active ad revenue integrations do I have in my AppsFlyer account?"
Expected AI response: The AI lists all enabled ad revenue integrations in your AppsFlyer account, including connected apps and current integration status.
Prompt: "Show me the issues I have in my active ad revenue integrations."
Expected AI response: The AI displays enabled ad revenue integrations that had issues in the last 7 days, grouped by mediation partner, integration type, and app.
User management and role control
Retrieve user and role information from your AppsFlyer account. This helps administrators maintain a clear user database and manage access controls efficiently.
Prompt: "List any inactive users who haven't logged into AppsFlyer in the last 6 months."
Expected AI response: The AI returns users with last login dates older than 6 months, or no login at all, including email addresses, roles, and last login timestamps.
Prompt: "Show me all users grouped by their permission levels and highlight any admin users."
Expected AI response: The AI organizes users by role type and highlights admin users, including associated apps and geographical access permissions.
Prompt: "One of the team members has complained they can't log into AppsFlyer. Can you check if their user exists and what their current status is?"
Expected AI response: The AI verifies whether the user exists and returns the user’s current role, associated apps, last login date, and potential access restrictions.
Prompt: "Which users have access to more than 5 apps, and what are their roles?"
Expected AI response: The AI returns users with extensive app access, their roles, and the full list of apps they can access.
Other information
Privacy and security
AppsFlyer MCP lets your selected AI tool query AppsFlyer data based on your existing permissions.
Data processing
AppsFlyer MCP acts as a secure proxy. It fetches AppsFlyer data in real time and returns the data needed to answer the query. AppsFlyer MCP doesn’t archive or store query results long term.
Credentials
Your AppsFlyer login lets AppsFlyer MCP make API calls on your behalf. Your AppsFlyer credentials aren’t shared with the AI tool.
Permissions
AppsFlyer MCP uses your existing AppsFlyer permissions. Users can only access the apps and data they already have permission to view in AppsFlyer.
There’s no separate permission layer to configure for MCP access.
Read-only access
AppsFlyer MCP is currently read and query only. It doesn’t take action in AppsFlyer without you.
AI provider data usage
The data retrieved by AppsFlyer MCP may be shared with your selected AI tool to answer your query. Only the data needed to generate the response is shared.
AppsFlyer doesn’t control whether your selected AI tool stores, processes, or learns from the data. Review your AI provider’s terms and data usage policies before connecting AppsFlyer MCP.
Certifications
AppsFlyer is ISO 27001 and SOC 2 certified. ISO 42001 certification is in progress.
Tool mapping
By default, all tools are enabled. We recommend keeping them enabled to ensure full functionality and prevent issues during use.
Each tool is mapped to a functional category, such as Analyze performance, apps management, or OneLink management. Some categories might include multiple tools.
See the table below for the complete list of tools and their category mappings.
| Category | Tool | Description |
|---|---|---|
| Analyze performance | fetch_aggregated_data | Retrieves aggregated dashboard data with custom date ranges, groupings, metrics, and filters. |
| Apps management | get_apps | Lists all permitted apps organized by pinned and unpinned status with transfer requests. |
| get_app_settings | Gets app configuration settings including attribution windows, privacy controls, session management, and platform-specific configurations. | |
| Cost configuration integration |
get_active_cost_integrations list_cost_supported_media_source |
Gets an overview of active cost integration status and missing cost integrations in your account. |
| Ad revenue integrations |
list_adrevenue_supported_media_sources get_active_adrevenue_integrations |
Checks which integrations are enabled, monitors health, detects configuration gaps, and helps keep ad revenue data consistent. |
| SKAN performance | skan_get_app_data | Retrieves aggregated SKAN performance data grouped by network, campaign, or event across custom date ranges. |
| OneLink management | get_onelink_templates | Lists all OneLink templates. |
| get_onelink_template_links | Gets all OneLink links created from a specific template. | |
| get_onelink_details | Gets configuration details for a specific OneLink. | |
| Audiences management | list_active_audiences | Lists all active audiences that are calculated daily. |
| list_audiences_connections | Lists advertising partner integrations for audience data. | |
| get_audience_connections | Gets partner connections for a specific audience. | |
| Knowledge base and developer support | get_public_knowledge | Searches AppsFlyer Knowledge Base and DevHub documentation. |
| Feedback tool | send_feedback | Submits feedback about the tools or system. |
| User management and role control | get_users | Lists users and roles from AppsFlyer. |
Traits and limitations
| Trait | Description |
|---|---|
| Multi-account use | AppsFlyer MCP uses data from the default account only. |
| OneLink links |
|
| Rate limits |
|
| Date range |
|
| Groupings |
|
| App limits |
|
| Supported dimensions | Analytics supports all dimensions available in My Dashboards. |
| Aggregated data | Aggregated data is supported. This includes weekly and monthly granularity levels and custom metrics. |
| Freshness | SKAN data is available with up to a 3-day delay, in UTC. |
| Currency and time zone | SKAN data is available in USD by default. Alternative currencies are supported by using revenue_alt = true. Data is reported in UTC. |
| Disabling MCP |
|
Troubleshoot connection issues
If the AppsFlyer MCP connection isn’t working, follow the steps for your authentication method.
Browser-based OAuth login
Use this section for clients that connect through browser login, such as Gemini CLI, Copilot CLI, ChatGPT, Claude.ai, and Claude Desktop.
- Re-authenticate your session. OAuth sessions expire approximately every 10 hours. Re-run the connection flow and complete the browser login again.
- Complete the authentication flow. Make sure the browser login completes successfully. When prompted, click Allow or Approve, and then return to your MCP client.
- Restart the session. Restart your CLI, chat, or application session. Then reconnect to the MCP server.
-
Verify the MCP server configuration. Confirm the following values:
Field Value Server Type HTTPURL https://mcp.appsflyer.com/auth/mcp - Check user permissions. Make sure your AppsFlyer user has access to the relevant apps and requested data.
Bearer token authentication
Use this section for Claude Code, n8n, Make, self-hosted agents, and other automation tools.
- Check whether the token was revoked. Tokens can be manually revoked. Tokens created before March 10, 2026, 19:00 UTC might no longer work.
-
Create a new MCP token. To restore access:
- Log in to AppsFlyer.
- Go to Account menu > Security Center > Token Management.
- Locate revoked tokens.
- Delete the revoked token.
- Create a new MCP token.
- Update your MCP client or automation with the new token.
-
Check the Authorization header. Make sure the header uses this exact format:
Authorization: Bearer <YOUR_MCP_TOKEN> -
Verify the MCP server configuration. Confirm the following values:
Field Value URL https://mcp.appsflyer.com/auth/mcpTransport HTTPHeader Authorization: Bearer <YOUR_MCP_TOKEN> -
Verify that the server is registered. For Claude Code, run:
claude mcp list -
Re-add the MCP server, if needed.
claude mcp remove appsflyer claude mcp add-json appsflyer '{"type":"http","url":"https://mcp.appsflyer.com/auth/mcp","headers":{"Authorization":"Bearer YOUR_APPSFLYER_MCP_TOKEN"}}' - Check token permissions. The MCP token inherits permissions from the admin who created it. Make sure the token has access to the relevant apps and requested data.
Access and permission issues
If authentication succeeds but access still fails:
- MCP access might be restricted by your AppsFlyer admin.
- If you don’t have access to Account & Profile settings, MCP access might be blocked.
- Contact your AppsFlyer admin to enable access.
- Make sure your user or token has access to the relevant apps and requested data.
General checks
If the issue persists:
- Make sure your client supports MCP.
- Check whether network or firewall restrictions block the MCP endpoint.
-
Confirm that the MCP URL is correct:
https://mcp.appsflyer.com/auth/mcp - Try reconnecting from a new session or environment.