#!/bin/bash
# Tests for Mixpanel MCP Server
# This script helps test and debug the Mixpanel MCP server
echo "=== Mixpanel MCP Server Testing ==="
# Ensure the token is provided
if [ -z "$1" ]; then
echo "Error: Mixpanel token not provided"
echo "Usage: ./test.sh YOUR_MIXPANEL_TOKEN"
exit 1
fi
TOKEN=$1
# Make scripts executable
chmod +x index.js
chmod +x test-mixpanel.js
echo ""
echo "=== Testing Mixpanel connection ==="
node test-mixpanel.js --token $TOKEN
echo ""
echo "=== Testing MCP server directly ==="
echo "You'll need to manually terminate this with Ctrl+C after testing."
echo "Starting the server in debug mode..."
./index.js --token $TOKEN --debug
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/moonbirdai/mixpanel-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server