Skip to content

feat: configurable timezone for docker in time server #639

Open
@S1M0N38

Description

I'd like to set the timezone in the src/servers/time server when using a docker installation. Right the entry point of the docker file does not include the available args:

ENTRYPOINT ["mcp-server-time"]

I'd like to be able to set --local-timezone using a env variable. That is

"mcpServers": {
  "time": {
    "command": "docker",
    "args": [
      "run",
      "-i",
      "--rm",
      "-e",
      "LOCAL_TIMEZONE",
      "mcp/time"
    ],
    "env": {
      "LOCAL_TIMEZONE": "America/New_York"
    }
  }
}

Activity

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

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions