simple-time-mcp-server
0
This project is a simple MCP server that provides time-related services, allowing users to retrieve the current time and time in specific timezones using JSON-RPC 2.0 protocol. It offers endpoints for server status checks and can be configured for different running modes.
Simple MCP Server for Time Service
This repository contains a simple MCP (Method Call Protocol) server that provides a service to get the current time. The server implements the JSON-RPC 2.0 protocol for method calls.
Installation
- Clone the repository and install dependencies using npm.
Starting the Server
- Start in development mode with hot reload or in production mode.
Available Methods
- getCurrentTime: Returns the current time in a specified format.
- getTimeInTimezone: Returns the current time in a specified timezone.
Server Status Check
- An endpoint at
/health
is available to monitor if the server is running correctly.
License
- MIT License