Time MCP Server
A simple Model Context Protocol Server that exposes the current date and time
Usage
{
"mcpServers": {
"time": {
"command": "npx",
"args": ["-y", "@deanacus/time-mcp"]
}
}
}
OR
{
"mcpServers": {
"time": {
"command": "node",
"args": ["/path/to/repository/dist/index.js"]
}
}
}
Available Tools
get_current_time
Returns the current time in ISO-8601 format
- Parameters: None
- Returns: A text response containing the current time in ISO-8601 format
- Example Response:
Current time: 2025-06-17T12:13:14.159z
Installation
npm install
npm build
Development
npm run build - Build the server
npm run start - Start the server
License
MIT