Es gibt 3 einfache Wege, um eine öffentliche URL für die CompText API zu bekommen:
macOS:
brew install ngrok
Windows:
# Download von [<https://ngrok.com/download>](<https://ngrok.com/download>)
# Oder mit Chocolatey:
choco install ngrok
Linux:
curl -s [<https://ngrok-agent.s3.amazonaws.com/ngrok.asc>](<https://ngrok-agent.s3.amazonaws.com/ngrok.asc>) | \\
sudo tee /etc/apt/trusted.gpg.d/ngrok.asc >/dev/null
echo "deb [<https://ngrok-agent.s3.amazonaws.com>](<https://ngrok-agent.s3.amazonaws.com>) buster main" | \\
sudo tee /etc/apt/sources.list.d/ngrok.list
sudo apt update && sudo apt install ngrok
ngrok config add-authtoken YOUR_AUTH_TOKEN
# Terminal 1: CompText API starten
cd comptext-mcp
python rest_api_[wrapper.py](<http://wrapper.py>)
# Läuft auf [<http://localhost:8000>](<http://localhost:8000>)
# Terminal 2: ngrok Tunnel erstellen
ngrok http 8000
Session Status online
Account dein-account
Version 3.x.x
Region Europe (eu)
Forwarding [<https://abc123def456.ngrok-free.app>](<https://abc123def456.ngrok-free.app>) -> [<http://localhost:8000>](<http://localhost:8000>)
Web Interface [<http://127.0.0.1:4040>](<http://127.0.0.1:4040>)