Skip to main content
Glama

SocialData MCP Server

setup.sh1.97 kB
#!/bin/bash echo "🚀 Setting up SocialData MCP Server" echo "===================================" # Check if Python is installed if ! command -v python3 &> /dev/null; then echo "❌ Python 3 is required but not installed" exit 1 fi # Create virtual environment if it doesn't exist if [ ! -d "venv" ]; then echo "🔧 Creating virtual environment..." python3 -m venv venv if [ $? -eq 0 ]; then echo "✅ Virtual environment created successfully" else echo "❌ Failed to create virtual environment" exit 1 fi else echo "✅ Virtual environment already exists" fi # Activate virtual environment echo "🔌 Activating virtual environment..." source venv/bin/activate # Install dependencies echo "📦 Installing dependencies..." pip install -r requirements.txt if [ $? -eq 0 ]; then echo "✅ Dependencies installed successfully" else echo "❌ Failed to install dependencies" exit 1 fi # Check for API key if [ -z "$SOCIALDATA_API_KEY" ]; then echo "" echo "⚠️ API Key Setup Required" echo "==========================" echo "You need to set your SocialData API key as an environment variable." echo "" echo "1. Get your API key from your SocialData dashboard" echo "2. Set the environment variable:" echo " export SOCIALDATA_API_KEY='your_api_key_here'" echo "" echo "3. Add it to your shell profile (~/.bashrc, ~/.zshrc, etc.) to persist:" echo " echo 'export SOCIALDATA_API_KEY=\"your_api_key_here\"' >> ~/.zshrc" echo "" else echo "✅ SOCIALDATA_API_KEY environment variable is set" fi echo "" echo "🎉 Setup complete!" echo "" echo "To activate the virtual environment:" echo " source venv/bin/activate" echo "" echo "To run the server (with venv activated):" echo " python server.py" echo "" echo "To deactivate the virtual environment when done:" echo " deactivate" echo "" echo "For more information, see README.md"

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/TheSethRose/SocialData-MCP-Server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server