datetime
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@datetimeWhat's the current date and time?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Clone the repository:
git clone https://github.com/mamisoa/mcp-server.git
cd mcp-serverInstall dependencies with Poetry:
poetry installAdd 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"
]
}
}
}Replace
/path/to/yourwith 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
Documentation Updates 📚
Automatically timestamp when documentation was last updated
Track review cycles for technical documentation
Version Control 🔄
Add timestamps to commit messages
Track when files were last modified
Logging 📊
Generate precise timestamps for application logs
Track execution time of operations
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.
This server cannot be deployed
Maintenance
Related MCP Connectors
Current time, timezone conversion & date math for AI agents. On Cloudflare Workers.
Time and date math for AI agents: Unix timestamp conversion, DST-correct time zone conversion, durations, epoch arithmetic, cron schedules, and holiday countdowns. Eight tools, no key.
A real clock for AI agents: current time, timezone conversion, and DST facts from the IANA tzdb.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides AI assistants with accurate current date and day of week information through simple tools for retrieving ISO-formatted dates and day names.-
- AlicenseAqualityDmaintenanceProvides time-related tools for LLM applications, enabling retrieval of current UTC time in ISO 8601 format and Unix timestamps.12,093 npmMIT
- AlicenseNot gradedqualityDmaintenanceProvides tools to get the current date and time in various formats (ISO, Unix timestamp, human-readable, custom) with configurable timezone support.MIT
- AlicenseNot gradedqualityDmaintenanceA 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