#!/bin/bash # T6 Mem0 MCP Server Launcher # This script starts the MCP server for Claude Code integration set -e cd "$(dirname "$0")" # Load environment variables if [ -f .env ]; then export $(cat .env | grep -v '^#' | xargs) fi # Override Docker-specific URLs for local execution # Use container IPs instead of Docker hostnames export NEO4J_URI="neo4j://172.21.0.10:7687" # Activate virtual environment if it exists if [ -d "venv" ]; then source venv/bin/activate elif [ -d ".venv" ]; then source .venv/bin/activate fi # Run MCP server exec python3 -m mcp_server.main