#!/bin/bash
# MCP Server Launcher for Claude Desktop
# Get the directory where this script is located
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
cd "$SCRIPT_DIR"
# If not already activated, activate the virtual environment
# Adjust the path based on where mcpclaude is located
if [ -z "$VIRTUAL_ENV" ]; then
# Try common locations
if [ -f "../mcpclaude/bin/activate" ]; then
source ../mcpclaude/bin/activate
elif [ -f "mcpclaude/bin/activate" ]; then
source mcpclaude/bin/activate
fi
fi
# Run the MCP server
python main.py