AppsFlyer MCP服务器是一个模型上下文协议(MCP)服务器,用于将AppsFlyer分析数据与AI助手集成,为数据分析和应用提供有力支持。
AppsFlyer MCP服务器可帮助你将AppsFlyer的分析数据与AI助手集成。按照以下步骤操作,即可快速启动并使用该服务器。
partners_report)、按日期的合作伙伴报告(partners_by_date_report)、每日报告(daily_report)、地理报告(geo_report)和按日期的地理报告(geo_by_date_report)。git clone https://github.com/ysntony/appsflyer-mcp
cd appsflyer-mcp
uv sync
你可以通过以下两种方式设置AppsFlyer API凭证:
export APPSFLYER_API_BASE_URL="https://hq1.appsflyer.com"
export APPSFLYER_TOKEN="your_api_token_here"
APPSFLYER_API_BASE_URL=https://hq1.appsflyer.com
APPSFLYER_TOKEN=your_api_token_here
uv run python run_server.py
将以下内容添加到你的MCP配置文件中:
{
"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"
}
}
}
}
get_aggregate_data:从AppsFlyer Pull API获取聚合数据报告。test_appsflyer_connection:测试与AppsFlyer API的连接。partners_report:合作伙伴绩效数据。partners_by_date_report:每日合作伙伴绩效数据。daily_report:每日聚合数据(默认)。geo_report:地理绩效数据。geo_by_date_report:每日地理绩效数据。uv sync --dev
pytest
本项目采用MIT许可证。