Time MCP Server by PHP
@uzulla
Time MCP Server by PHP について
A PHP sample implementation of an MCP (Model Context Protocol) server for retrieving time information.
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"mcp-time-php": {
"command": "npx",
"args": [
"@modelcontextprotocol/inspector",
"./bin/time-server"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is Time MCP Server by PHP?
A PHP‑based MCP (Model Context Protocol) server that provides current time retrieval and timezone conversion using IANA timezone names. It automatically detects the system timezone and is designed for use by LLMs such as Claude.
How to use Time MCP Server by PHP?
Clone the repository, run composer install, then configure your MCP host (e.g., Claude.app or Zed) to execute php /path/to/bin/time-server. Optionally pass --local-timezone=Zone to override the system timezone.
Key features of Time MCP Server by PHP
get_current_timetool: returns the current time in a given IANA timezone.convert_timetool: converts a time between two IANA timezones.- Automatic system timezone detection.
- Customizable local timezone via command‑line argument.
- Debugging support with the MCP inspector.
Use cases of Time MCP Server by PHP
- An LLM answering “What time is it?” using the system timezone.
- An LLM providing the current time for a specific city (e.g., “Tokyo time?”).
- Converting a time from one timezone to another (e.g., “4 PM in New York to London”).
- Calculating time differences between two timezones.
FAQ from Time MCP Server by PHP
What runtime does it require?
PHP must be installed on the system. Composer is used to install dependencies.
Does it store any data?
No. The server only returns live time information based on the server’s clock and timezone data.
How does it communicate with the MCP host?
It uses standard I/O (stdio) as the transport layer.
Is authentication required?
No authentication is mentioned; the server runs locally on the same machine as the MCP host.
Are there any known limitations?
The README does not list any limits, but the tools require valid IANA timezone names and 24‑hour format for time input.
「生産性」の他のコンテンツ
MCP Windows Desktop Automation
mario-andreschakA Model Context Protocol (MCP) server for Windows desktop automation using AutoIt.
Google Calendar MCP Server
takumi0706Google Calendar MCP server for Claude Desktop integration
Todo List MCP Server
RegiByteAn MCP server for managing todos within LLMs, created for educational purposes
Swift MCP GUI Server
NakaokaReiMCP server that can execute commands such as keyboard input and mouse movement on macOS
Task Manager MCP Server
tradesdontlieA task management MCP server that provides comprehensive project and task tracking capabilities
コメント