Skip to main content
Glama
mamisoa

datetime

by mamisoa

MCP DateTime Server 🕒

Overview

MCP DateTime Server is a specialized tool designed to provide datetime functionality within the Cursor IDE environment. It enables accurate timestamp generation and datetime operations, which is particularly useful for maintaining changelogs, documentation versioning, and other time-sensitive operations.

Related MCP server: Time MCP

Features ✨

  • ⏰ Current datetime retrieval in ISO 8601 format

  • 🔌 Integration with Cursor IDE

  • 📝 Useful for automated changelog generation

  • 🏷️ Timestamp generation for documentation

  • 🔄 Version control support

Installation 🚀

Prerequisites

  • 🐍 Python 3.x

  • 📦 Poetry (Python dependency management)

  • 💻 Cursor IDE

Setup

  1. Clone the repository:

git clone https://github.com/mamisoa/mcp-server.git
cd mcp-server
  1. Install dependencies with Poetry:

poetry install
  1. Add the following configuration to your ~/.cursor/mcp.json:

{
  "mcpServers": {
    "datetime": {
      "command": "poetry",
      "args": [
        "run",
        "python",
        "/path/to/your/mcp-server/mcp_server/mcp-datetime.py"
      ]
    }
  }
}
  1. Replace /path/to/your with your actual installation path.

Usage

In Changelogs

When creating or updating changelogs, you can use the datetime server to automatically insert timestamps:

## [Version 1.0.0] - <timestamp>

Other Use Cases

  1. Documentation Updates 📚

    • Automatically timestamp when documentation was last updated

    • Track review cycles for technical documentation

  2. Version Control 🔄

    • Add timestamps to commit messages

    • Track when files were last modified

  3. Logging 📊

    • Generate precise timestamps for application logs

    • Track execution time of operations

  4. Audit Trails 🔍

    • Maintain accurate records of system modifications

    • Track user actions with precise timestamps

Contributing 🤝

Contributions are welcome! Please feel free to submit a Pull Request.

License 📄

This project is licensed under the MIT License - see the LICENSE.md file for details.

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Provides AI assistants with accurate current date and day of week information through simple tools for retrieving ISO-formatted dates and day names.
    -
  • A
    license
    A
    quality
    D
    maintenance
    Provides time-related tools for LLM applications, enabling retrieval of current UTC time in ISO 8601 format and Unix timestamps.
    1
    2,093 npm
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides tools to get the current date and time in various formats (ISO, Unix timestamp, human-readable, custom) with configurable timezone support.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    A lightweight Model Context Protocol server that provides current UTC time in various formats, including ISO 8601 and Unix timestamps. It is designed for seamless integration with Cursor IDE to provide consistent time-related capabilities across all development projects.
    MIT