#!/bin/bash
# Futurama Quote Machine MCP Server Launcher
# This script activates the virtual environment and runs the MCP server
# Get the directory where this script is located
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# Path to the virtual environment
VENV_PATH="$SCRIPT_DIR/venv"
# Path to the Python server script
SERVER_SCRIPT="$SCRIPT_DIR/server.py"
# Check if virtual environment exists
if [ ! -d "$VENV_PATH" ]; then
echo "Error: Virtual environment not found at $VENV_PATH" >&2
echo "Please ensure the virtual environment is set up correctly." >&2
exit 1
fi
# Check if server script exists
if [ ! -f "$SERVER_SCRIPT" ]; then
echo "Error: Server script not found at $SERVER_SCRIPT" >&2
exit 1
fi
# Activate virtual environment and run the server
source "$VENV_PATH/bin/activate"
# Verify Python and required packages are available
if ! python -c "import mcp, httpx" 2>/dev/null; then
echo "Error: Required packages (mcp, httpx) not found in virtual environment" >&2
echo "Please run: pip install mcp httpx" >&2
exit 1
fi
# Run the MCP server
exec python "$SERVER_SCRIPT"
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/BitsofJeremy/fqm_mcp_server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server