feat: add mcp server to Dograh OSS (#240)

* feat: add mcp server

* update mcp endpoint
This commit is contained in:
Abhishek 2026-04-16 13:03:29 +05:30 committed by GitHub
parent e31b38122e
commit 79bc91b1e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 442 additions and 74 deletions

View file

@ -278,6 +278,12 @@ if [[ -f ".env" ]]; then
sed -i.bak "/^# Backend URL for UI$/d" .env
# Update TURN_HOST to use domain
sed -i.bak "s|^TURN_HOST=.*|TURN_HOST=$DOMAIN_NAME|" .env
# Update MINIO_PUBLIC_ENDPOINT to use domain (browsers fetch /voice-audio/* here)
if grep -q "^MINIO_PUBLIC_ENDPOINT=" .env; then
sed -i.bak "s|^MINIO_PUBLIC_ENDPOINT=.*|MINIO_PUBLIC_ENDPOINT=https://$DOMAIN_NAME|" .env
else
echo "MINIO_PUBLIC_ENDPOINT=https://$DOMAIN_NAME" >> .env
fi
rm -f .env.bak
echo -e "${GREEN}✓ .env updated with domain name${NC}"
else

View file

@ -207,6 +207,9 @@ cat > .env << ENV_EOF
# Backend API endpoint (public URL the backend uses to build webhook/embed links)
BACKEND_API_ENDPOINT=https://$SERVER_IP
# Public URL browsers use to fetch objects from MinIO (proxied by nginx)
MINIO_PUBLIC_ENDPOINT=https://$SERVER_IP
# TURN Server Configuration (time-limited credentials via TURN REST API)
TURN_HOST=$SERVER_IP
TURN_SECRET=$TURN_SECRET