Skip to main content
Glama
leeguooooo
by leeguooooo
run.sh665 B
#!/bin/bash # MCP Email Service startup script # Automatically detects and uses uv if available, otherwise falls back to python3 set -euo pipefail # Change to script directory to ensure correct working directory SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" cd "$SCRIPT_DIR" # Try hardcoded uv path first (for Cursor MCP environment) if [ -x "/Users/leo/.local/bin/uv" ]; then exec /Users/leo/.local/bin/uv run python -m src.main "$@" # Then check PATH elif command -v uv >/dev/null 2>&1; then exec uv run python -m src.main "$@" else echo "Warning: uv not found in PATH; falling back to system python3." >&2 exec python3 -m src.main "$@" fi

Latest Blog Posts

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/leeguooooo/email-mcp-service'

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