Skip to content

Add Dockerfile and GHCR publishing for MCP server#350

Merged
kvz merged 1 commit intomainfrom
mcp-docker
Mar 3, 2026
Merged

Add Dockerfile and GHCR publishing for MCP server#350
kvz merged 1 commit intomainfrom
mcp-docker

Conversation

@kvz
Copy link
Copy Markdown
Member

@kvz kvz commented Mar 3, 2026

Summary

  • Adds packages/mcp-server/Dockerfile — lightweight image using node:22-alpine + npm install
  • Adds .github/workflows/docker-mcp.yml — auto-publishes to ghcr.io/transloadit/mcp-server on release
  • Includes patch changeset to trigger a release

Why

  • Glama directory requires a Docker image for health checks (blocks punkpeye/awesome-mcp-servers PR #1912)
  • Unlocks Docker MCP Catalog submission (github.com/docker/mcp-registry)
  • Gives users a containerized self-hosting option

Verified locally

$ docker build -t test packages/mcp-server/
$ echo '{"jsonrpc":"2.0","id":1,"method":"initialize",...}' | docker run -i test
{"result":{"protocolVersion":"2025-03-26","capabilities":{"tools":{"listChanged":true}},"serverInfo":{"name":"Transloadit MCP","version":"0.3.7"}},"jsonrpc":"2.0","id":1}

🤖 Generated with Claude Code

Adds a lightweight Docker image (node:22-alpine + npm install) for
containerized MCP server usage. GHCR workflow auto-publishes on release.

Unblocks Glama directory listing and Docker MCP Catalog submission.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@kvz kvz merged commit 997b917 into main Mar 3, 2026
10 checks passed
@kvz kvz deleted the mcp-docker branch March 3, 2026 10:08
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 26b1df34ee

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@@ -0,0 +1,4 @@
FROM node:22-alpine
RUN npm install -g @transloadit/mcp-server@latest
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Pin npm package version in Docker image build

The image always installs @transloadit/mcp-server@latest, so the binary inside the container is not tied to the GitHub release tag being published. If latest differs from the release version (for example, rerunning an older release workflow or any dist-tag drift), ghcr.io/transloadit/mcp-server:<release-version> will contain the wrong server code, which breaks version correctness and reproducibility for users pulling pinned image tags.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant