Files
librefang-registry/mcp/time.toml
ixoblakp 331909afc2 fix(mcp): move setup_instructions to the catalog root in all 33 entries
Every `mcp/*.toml` placed `setup_instructions` *after* the `[health_check]`
table, so TOML scoped it to that table rather than to the document root.
`McpCatalogEntry::setup_instructions` therefore deserialised as its
`#[serde(default)]` empty string for all 33 entries, and the install/detail
views that read `entry.setup_instructions` had nothing to show.

Relocate the key above the first table header. The text is byte-identical
and no other key is touched. `scripts/validate.py` passes.
2026-10-18 12:04:57 +03:00

63 lines
1.8 KiB
TOML

id = "time"
name = "Time & Timezone"
description = "Get current time in any timezone, convert between timezones, and calculate time differences"
category = "productivity"
icon = "🕐"
tags = ["time", "timezone", "clock", "datetime", "conversion"]
setup_instructions = """
No API key required. Requires `uv`:
- macOS/Linux: `curl -LsSf https://astral.sh/uv/install.sh | sh`
To set your local timezone, update config.toml:
```toml
[[mcp_servers]]
name = "time"
[mcp_servers.transport]
type = "stdio"
command = "uvx"
args = ["mcp-server-time", "--local-timezone", "Asia/Shanghai"]
```
Supports all IANA timezone names (e.g. `America/New_York`, `Europe/London`, `Asia/Tokyo`).
"""
[transport]
type = "stdio"
command = "uvx"
args = ["mcp-server-time", "--local-timezone", "UTC"]
[health_check]
interval_secs = 60
unhealthy_threshold = 3
[i18n.zh]
name = "时间 & 时区"
description = "获取任意时区的当前时间、时区换算与时差计算。"
[i18n.zh-TW]
name = "時間 & 時區"
description = "取得任意時區的目前時間、時區轉換與時差計算。"
[i18n.ja]
name = "時刻 & タイムゾーン"
description = "任意のタイムゾーンの現在時刻取得、タイムゾーン変換、時差計算。"
[i18n.ko]
name = "시간 & 타임존"
description = "임의 타임존의 현재 시간 조회, 타임존 변환, 시차 계산."
[i18n.de]
name = "Zeit & Zeitzone"
description = "Aktuelle Uhrzeit in beliebigen Zeitzonen, Zeitzonenumrechnung und Zeitdifferenzberechnung."
[i18n.es]
name = "Hora y zona horaria"
description = "Hora actual en cualquier zona horaria, conversión entre zonas y cálculo de diferencias."
[i18n.fr]
name = "Heure & Fuseau"
description = "Heure actuelle dans n'importe quel fuseau, conversion entre fuseaux et calcul des différences."