Skip to content

feat: configurable timezone for docker in time server #639

Closed

Description

@S1M0N38

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

  1. added a commit that references this issue on Feb 19, 2025
    f3e1469
  2. added
    server-timeReference implementation for the Time MCP server - src/time
    on May 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestserver-timeReference implementation for the Time MCP server - src/time

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions