| # Activate the virtual environment and launch the Gradio MCP app. | |
| # The -X utf8 flag forces UTF-8 I/O so Gradio's emoji startup messages | |
| # render correctly on Windows terminals. | |
| $scriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path | |
| & "$scriptDir\venv\Scripts\python.exe" -X utf8 -u "$scriptDir\app.py" @args | |