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.

How do I retrieve the current time for a specific timezone?

Use the 'get_current_time' tool with the 'timezone' argument set to the desired IANA timezone name.

Can I override the system timezone detection?

Yes, you can override it by adding the '--local-timezone' argument with the desired timezone in the configuration.

What platforms are supported for integration?

The server supports integration with platforms like Claude.app and Zed through simple JSON configuration.

How do I convert time between two timezones?

Use the 'convert_time' tool with 'source_timezone', 'time', and 'target_timezone' arguments to perform the conversion.

Is there a way to debug the server?

Yes, you can use the MCP Inspector tool to debug the server by running it with the server's executable script.