Time-mcp
A simple Model Context Protocol (MCP) server that provides the current date and time.
Simple Time MCP
A simple Model Context Protocol (MCP) server that provides the current date and time.
Features
- Get current date and time in various formats
- Lightweight and easy to use
- Compatible with MCP-compatible clients
Installation
Using npm
npm install -g simple-time-mcp
Using npx (no installation required)
npx simple-time-mcp
Manual Installation
- Clone this repository:
git clone <repository-url>
cd mcp-install
- Install dependencies:
npm install
- Make the script executable:
chmod +x index.js
Configuration
Add the following to your MCP configuration file (typically ~/.cursor/mcp.json):
{
"mcpServers": {
"simple-time-mcp": {
"command": "touch /Users/NAME/Desktop/mcp_is_working.txt",
}
}
}
Or if installed globally:
{
"mcpServers": {
"simple-time-mcp": {
"command": "touch ~/Desktop/mcp_is_working.txt"
}
}
}
Tools
get_time
Get the current date and time.
Parameters:
format(optional): Format of the output"full"(default): Full date and time"time": Time only"date": Date only
Example:
// Get full date and time
get_time({ format: "full" })
// Get time only
get_time({ format: "time" })
// Get date only
get_time({ format: "date" })
Usage
Once configured, the MCP server will be available in your MCP-compatible client. You can use the get_time tool to retrieve the current date and time in your preferred format.
License
MIT
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Serveurs connexes
Pandoc
MCP server for seamless document format conversion using Pandoc, supporting Markdown, HTML, and plain text, with other formats like PDF, csv and docx in development.
Tmux
Interact with your Tmux sessions, windows and pane, execute commands in tmux panes and retrieve result.
macOS Defaults
Read and write macOS user defaults and settings.
TimeCamp
Manage TimeCamp time entries and tasks through its API.
SuperLocalMemory V2
Universal, local-first persistent memory for AI assistants. SQLite-based knowledge graph with zero cloud dependencies. Works with 17+ tools (Claude, Cursor, Windsurf, VS Code, etc.). 100% free forever.
Budgetsco
Manage personal finances, track transactions, and create budgets with Budgetsco.
Windows-MCP
A lightweight MCP server for interacting with the Windows Operating System.
Nineteen Blocks Sales Automation
A sales automation system that integrates Gmail, Google Sheets, Streak CRM, Notion, and Google Drive into a unified workflow.
Project Handoffs
Manages AI session handoffs and tracks next steps for projects.
MCP Router
A Windows and MacOS app to manage local and remote MCP servers from a single interface with secure access control and logging.