test_appsflyer_connection
Verify connectivity to the AppsFlyer API by testing the server status, ensuring integration readiness for AppsFlyer analytics data retrieval and secure authentication.
Instructions
Test the connection to AppsFlyer API and return server status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Input Schema (JSON Schema)
{
"properties": {},
"title": "test_appsflyer_connectionArguments",
"type": "object"
}
Implementation Reference
- appsflyer_mcp/server.py:68-74 (handler)The main implementation of the 'test_appsflyer_connection' tool handler. This async function is decorated with @mcp.tool() to register it and executes the logic to test AppsFlyer API credentials configuration.@mcp.tool() async def test_appsflyer_connection(): """Test the connection to AppsFlyer API and return server status.""" if not AF_API_BASE_URL or not AF_TOKEN: return "Error: AppsFlyer API credentials not configured." return f"AppsFlyer MCP server is running. API Base URL: {AF_API_BASE_URL}, Token configured: {'Yes' if AF_TOKEN else 'No'}"