Sign inSign up

openboatprojects/mcp-datetime-service

By openboatprojects

Updated 6 months ago

This is a docker based MCP service for date and time

Image
0

219

openboatprojects/mcp-datetime-service repository overview

This MCP service provides the current UTC time and date to an AI model. The MCP service is run as an isolated Docker container and is only active during the AI ​​model's runtime, automatically unloading after use. Communication takes place via stdio. The MCP service can be implemented via the AI ​​model's YAML configuration file. An example is shown below.

mcp:
  stdio: |
     {
      "mcpServers": {
        "datetime": {
          "command": "docker",
          "args": [
            "run", "-i", "--rm",
            "openboatprojects/mcp-datetime-service:1.0.2"
          ]
        }
      }
     }

For Curser in Windows with absolut path to datetime-mcp-server.py. Please download the file before use and install mcp with follow command: pip install mcp.

{
  "mcpServers": {
    "datetime": {
      "command": "python",
      "args": ["C:\\Users\\me\\mcp\\datetime-mcp-server.py"]
    }
  }
}

For Cursor in Linux with absolute path:

{
  "mcpServers": {
    "datetime": {
      "command": "python",
      "args": ["/home/user/mcp/datetime-mcp-server.py"]
    }
  }
}

Further details can be found on GitHub:

https://github.com/norbert-walter/mcp-datetime-service

Tag summary

Content type

Image

Digest

sha256:0364063f1

Size

59 MB

Last updated

6 months ago

docker pull openboatprojects/mcp-datetime-service:1.0.2