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.
Máy chủ liên quan
Kone.vc
nhà tài trợMonetize your AI agent with contextual product recommendations
IWE
Knowledge graph MCP server for searching, reading, and refactoring hierarchical markdown documents
Notion
Notion official MCP server
InDesign MCP Server
An MCP server for automating Adobe InDesign with ExtendScript.
MCP Redmine
A server integration for the Redmine project management tool.
Airflow MCP
Interact with Apache Airflow using natural language to manage and monitor your data workflows.
TalkToAnki
Seamlessly integrate the Anki flashcard application with AI assistants. Requires Anki desktop with the AnkiConnect plugin.
Logseq
Control and interact with a local Logseq graph for knowledge management and note-taking.
MCP Sharepoint (aisuru)
A Model Context Protocol (MCP) server that exposes core Microsoft SharePoint / Microsoft Graph API functionalities as tools usable by LLM agents (e.g. Claude Desktop).
Paylocity
A server to fetch data from Paylocity API endpoints.
Breezing
Breezing MCP server providing access to the Breezing API: read and update transactions, wallets, assets, and balances across 40+ blockchains and 15+ exchanges. Categorize transactions by mapping contra accounts from the chart of accounts, manage balance sheet mappings, and prepare data for syncing to Xero or QuickBooks.