test_appsflyer_connection
Verify the AppsFlyer API connection and check server status to ensure data integration is functional.
Instructions
Test the connection to AppsFlyer API and return server status.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- appsflyer_mcp/server.py:68-75 (handler)The handler function that implements the 'test_appsflyer_connection' tool logic. It checks if AppsFlyer API credentials are set and returns a status message. Registered via the @mcp.tool() decorator.@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'}"
- run_server.py:70-76 (handler)Duplicate handler function for the 'test_appsflyer_connection' tool in the standalone server runner script.@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'}"