Anragde/simple-time-mcp-server
If you are the rightful owner of simple-time-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This repository contains a simple MCP (Method Call Protocol) server that provides a service to obtain the current time using JSON-RPC 2.0 protocol.
The Simple Time MCP Server is designed to offer a straightforward service for retrieving the current time. It leverages the JSON-RPC 2.0 protocol to handle method calls, making it easy to integrate into various applications. The server is built with Node.js and can be run in both development and production modes. It provides two main methods: `getCurrentTime` for fetching the current time in a specified format, and `getTimeInTimezone` for obtaining the time in a specific timezone. Additionally, a health check endpoint is available to monitor the server's status.
Features
- Implements JSON-RPC 2.0 protocol for method calls.
- Provides current time in customizable formats.
- Supports timezone-specific time retrieval.
- Health check endpoint for server monitoring.
- Configurable server port via environment variable.