#!/usr/bin/env bash
# MCP Integration Testing Script
# Tests MCP tools using the actual MCP client protocol
set -e
echo "🧪 Running MCP Integration Tests..."
echo "=================================="
# Check if virtual environment is active
if [ -z "$VIRTUAL_ENV" ]; then
echo "⚠️ Warning: No virtual environment detected."
echo " Consider activating a virtual environment first."
echo ""
fi
# Run the integration tests
python -m mcp_ahrefs.tests.integration.cli "$@"
# Exit with the same code as the tests
exit $?
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/SAGAAIDEV/mcp-ahrefs'
If you have feedback or need assistance with the MCP directory API, please join our Discord server