Skip to content

feat: configurable timezone for docker in time server #639

Open
@S1M0N38

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"
    }
  }
}

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