AppsFlyer MCP Server
AppsFlyer MCP Server
A Model Context Protocol (MCP) server for integrating AppsFlyer analytics data with AI assistants.
Features
Fetch aggregate data reports from AppsFlyer Pull API
Support for multiple report types: partners_report, partners_by_date_report, daily_report, geo_report, geo_by_date_report
Secure API token authentication
Type-safe input validation with Pydantic
Installation
git clone https://github.com/ysntony/appsflyer-mcp
cd appsflyer-mcp
uv syncConfiguration
Set up your AppsFlyer API credentials as environment variables:
export APPSFLYER_API_BASE_URL="https://hq1.appsflyer.com"
export APPSFLYER_TOKEN="your_api_token_here"Or create a .env file:
APPSFLYER_API_BASE_URL=https://hq1.appsflyer.com
APPSFLYER_TOKEN=your_api_token_hereUsage
Running the MCP Server
uv run python run_server.pyMCP Configuration
Add to your MCP configuration file:
{
"mcpServers": {
"appsflyer": {
"command": "uv",
"args": ["run", "python", "run_server.py"],
"cwd": "/path/to/appsflyer-mcp",
"env": {
"APPSFLYER_API_BASE_URL": "https://hq1.appsflyer.com",
"APPSFLYER_TOKEN": "your_api_token_here"
}
}
}
}Available Tools
get_aggregate_data: Fetch aggregate data reports from AppsFlyer Pull APItest_appsflyer_connection: Test the connection to AppsFlyer API
Report Types
partners_report: Partner performance datapartners_by_date_report: Daily partner performance datadaily_report: Daily aggregate data (default)geo_report: Geographic performance datageo_by_date_report: Daily geographic performance data
Development
uv sync --dev
pytestLicense
MIT License
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/ysntony/appsflyer-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server