Docker mcp gateway (#603)

* Log a message with implicit URI changes

Small update for #542

* Update docker container to default to stdio

Replaces #541
main
Marcus Sanatan 2026-01-21 16:00:11 -04:00 committed by GitHub
parent 810d756be9
commit 1ad4f09d11
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 1 deletions

View File

@ -28,4 +28,9 @@ EXPOSE 8080
ENV PYTHONPATH=/app/Server/src
CMD ["uv", "run", "python", "src/main.py", "--transport", "http", "--http-host", "0.0.0.0", "--http-port", "8080"]
# ENTRYPOINT allows override via docker run arguments
# Default: stdio transport (Docker MCP Gateway compatible)
# For HTTP: docker run -p 8080:8080 <image> --transport http --http-host 0.0.0.0 --http-port 8080
# If hosting remotely, you should add the --project-scoped-tools flag
ENTRYPOINT ["uv", "run", "mcp-for-unity"]
CMD []