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.
Похожие серверы
physbound
PhysBound is a specialized "Physics Linter" for AI that deterministically validates RF and thermodynamic claims against hard physical limits, preventing hallucinations in engineering workflows.
UnifAI
Dynamically search and call tools using UnifAI Network
Miro
Miro MCP server, exposing all functionalities available in official Miro SDK.
Google Calendar
Integrate Google Calendar with enhanced security using OAuth2 credentials.
Think Tool
Enhances AI reasoning by providing a structured thinking environment.
Gorev
A powerful, Go-based task management server with MCP support, AI editor integration, and a VS Code extension. It supports smart task creation, markdown, and project organization.
Adfin
The only platform you need to get paid - all payments in one place, invoicing and accounting reconciliations with Adfin.
Document Evaluation MCP Server
Evaluates technical documentation against globalization standards, analyzing for translation issues, ambiguity, and sentence length.
Asana
Interact with the Asana API to manage tasks, projects, and workspaces.
上海迪士尼门票查询
sh-disney-mcp 是一个基于 Model Context Protocol (MCP) 的mcp server,旨在通过标准化的接口,帮助大模型快速获取上海迪士尼乐园的门票价格和售卖状态信息。