Skip to content

Conversation

@bluzy
Copy link

@bluzy bluzy commented Sep 12, 2025

Added Dockerfile to run MCP using docker.

docker build -t mcp-server-datahub:latest .

The image can be used by setup mcp.json like this:

{
  "servers": {
    "datahub": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "DATAHUB_GMS_URL",
        "-e",
        "DATAHUB_GMS_TOKEN",
        "datahub-mcp-server:latest"
      ],
      "env": {
        "DATAHUB_GMS_URL": "http://localhost:8080",
        "DATAHUB_GMS_TOKEN": ""
      }
    }
  }
}

sse or http mode may be available after #29 merged.

docker run --rm \
-e DATAHUB_GMS_URL="http://localhost:8080" -e DATAHUB_GMS_TOKEN="" \
-e TRANSPORT=sse
datahub-mcp-server:latest

@bluzy
Copy link
Author

bluzy commented Oct 13, 2025

PTAL @mayurinehate @hsheth2

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