mcp-time-php

mcp-time-php

12

The Time MCP Server provides a way to get current time and perform timezone conversions using IANA timezone names. It is implemented in PHP and operates as a Model Context Protocol server, ideal for use in various applications needing time-related functionalities.

Overview

This project is a Model Context Protocol (MCP) Server implemented in PHP, offering time and timezone conversion functionalities. It allows LLMs to use IANA timezone names to retrieve current time information and perform timezone conversions. The server automatically detects the system timezone.

Features

  • Get current time in a specific or system timezone.
  • Convert times between different timezones.

Installation

  1. Clone the repository.
  2. Install dependencies using Composer.

Configuration

  • Set up 'Claude.app' or 'Zed' with MCP servers.
  • Customize system timezone settings.

Development

  • Project structure includes executable scripts and source code for services and models.
  • Tests can be run using PHPUnit.

License

Licensed under the MIT License.