We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/talknerdytome-labs/google-ads-library-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
#!/bin/bash
# Google Ads Library MCP Server Installation Script
# This script automates the setup process for the MCP server
set -e # Exit on any error
echo "π Google Ads Library MCP Server Installation"
echo "==============================================="
echo
# Check if Python 3.12+ is available
echo "π Checking Python version..."
if command -v python3 &> /dev/null; then
PYTHON_VERSION=$(python3 -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
echo " Found Python $PYTHON_VERSION"
# Check if version is 3.12 or higher
if python3 -c 'import sys; exit(0 if sys.version_info >= (3, 12) else 1)' 2>/dev/null; then
echo " β
Python version is compatible"
else
echo " β οΈ Warning: Python 3.12+ recommended, found $PYTHON_VERSION"
fi
else
echo " β Python 3 not found. Please install Python 3.12+ first."
exit 1
fi
# Check if pip is available
echo
echo "π¦ Checking pip availability..."
if command -v pip3 &> /dev/null; then
echo " β
pip3 found"
PIP_CMD="pip3"
elif command -v pip &> /dev/null; then
echo " β
pip found"
PIP_CMD="pip"
else
echo " β pip not found. Please install pip first."
exit 1
fi
# Install dependencies
echo
echo "π Installing Python dependencies..."
$PIP_CMD install -r requirements.txt
echo " β
Dependencies installed successfully"
# Create .env file from template
echo
echo "π§ Setting up configuration..."
if [ -f ".env" ]; then
echo " β οΈ .env file already exists, skipping creation"
echo " π‘ If you need to reset it, delete .env and run this script again"
else
if [ -f ".env.template" ]; then
cp .env.template .env
echo " β
Created .env file from template"
echo " π Please edit .env file and add your API keys"
else
echo " β .env.template not found"
exit 1
fi
fi
# Get current directory for MCP configuration
CURRENT_DIR=$(pwd)
MCP_CONFIG_PATH="$CURRENT_DIR/mcp_server.py"
echo
echo "βοΈ MCP Server Configuration"
echo "============================"
echo
echo "Add this configuration to your Claude Desktop or Cursor:"
echo
echo "For Claude Desktop (~/.config/Claude/claude_desktop_config.json or ~/Library/Application Support/Claude/claude_desktop_config.json):"
echo
cat << EOF
{
"mcpServers": {
"google_ads_library": {
"command": "python3",
"args": [
"$MCP_CONFIG_PATH"
]
}
}
}
EOF
echo
echo "For Cursor (~/.cursor/mcp.json):"
echo
cat << EOF
{
"mcpServers": {
"google_ads_library": {
"command": "python3",
"args": [
"$MCP_CONFIG_PATH"
]
}
}
}
EOF
echo
echo "π Next Steps:"
echo "=============="
echo "1. π Edit the .env file and add your API keys:"
echo " - SCRAPECREATORS_API_KEY (required) - Get at: https://scrapecreators.com/"
echo " - GEMINI_API_KEY (optional for video analysis) - Get at: https://aistudio.google.com/app/apikey"
echo
echo "2. π Copy the MCP configuration above to your Claude Desktop or Cursor config"
echo
echo "3. π Restart Claude Desktop or Cursor"
echo
echo "4. π You're ready to use the Google Ads Library MCP server!"
echo
echo "π‘ Need help? Check the README.md file for troubleshooting tips."
echo
echo "β
Installation completed successfully!"