timeService-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.
Похожие серверы
Fulcra Context
Fulcra Context MCP server for accessing your personal health, workouts, sleep, location, and more, all privately. Built around Context by Fulcra.
MCP Time Server
A simple server that provides the current UTC time.
Memento-cmp
A Three-Layer Memory Architecture for LLMs (Redis + Postgres + Vector) MCP
MCP Goodnews
An MCP application that delivers curated positive and uplifting news stories using NewsAPI and Cohere LLM.
Chess Stats
An MCP server that provides chess statistics for any player.
openterms-mcp
Ed25519-signed consent receipts + programmable policy engine for AI agents before they take actions.
mcp-server-openai-bridge
Bridge to OpenAI API. Access GPT, GPT-o and other OpenAI models through MCP.
TwelveLabs
The TwelveLabs MCP Server provides seamless integration with the TwelveLabs platform. This server enables AI assistants and applications to interact with TwelveLabs powerful video analysis capabilities through a standardized MCP interface.
Sophtron
Connect to any financial, utility, billing accounts; retrieve balance, transactions, payment and identity data instantly.
Mercury MCP
Mercury MCP lets you ask questions about your banking balances, transactions, cards/recipients, and more