Skip to content

Commit 1ad4f09

Browse files
authored
Docker mcp gateway (#603)
* Log a message with implicit URI changes Small update for #542 * Update docker container to default to stdio Replaces #541
1 parent 810d756 commit 1ad4f09

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

‎Server/Dockerfile‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,9 @@ EXPOSE 8080
2828

2929
ENV PYTHONPATH=/app/Server/src
3030

31-
CMD ["uv", "run", "python", "src/main.py", "--transport", "http", "--http-host", "0.0.0.0", "--http-port", "8080"]
31+
# ENTRYPOINT allows override via docker run arguments
32+
# Default: stdio transport (Docker MCP Gateway compatible)
33+
# For HTTP: docker run -p 8080:8080 <image> --transport http --http-host 0.0.0.0 --http-port 8080
34+
# If hosting remotely, you should add the --project-scoped-tools flag
35+
ENTRYPOINT ["uv", "run", "mcp-for-unity"]
36+
CMD []

0 commit comments

Comments
 (0)