Skip to main content
Glama
thekk1

time-mcp-http

by thekk1

time-mcp-http

これは、公式の modelcontextprotocol/serverstime サーバー(get_current_timeconvert_time)を、stdio の代わりに streamable HTTP で再ホストしたものです。これにより、BOS スタックの他の部分と同じ「すべて Docker・すべて HTTP」の MCP サーバー群に組み込まれ、LibreChat がローカルサブプロセスを起動する必要がなくなります(bos-chat-stack.md 参照)。

ツールのロジック(タイムゾーン計算、スキーマ)は、インストール済みの mcp-server-time パッケージ(TimeServer/TimeTools)から直接インポートしています。トランスポートが異なるだけで、pip install --upgrade mcp-server-time は引き続きアップストリームの修正を取得できます。

このサーバーが存在する理由

呼び出し側のアシスタントには「今」という概念が組み込まれていません。ISO タイムスタンプの UTC オフセットを誤って解釈したり、あるいは今日の日付を知らないことがあります。すべてのシステムップロンプトに現在の日時を埋め込もうとするよりも、明示的に呼び出せるオンデマンドのツールを提供する方が確実です(LibreChat の Agents エンドポイントは 2026-08 時点でネイティブに対応していないため、bos-chat-stack.md を参照してください)。

Related MCP server: Now MCP

実行方法

docker build -t time-mcp-http .
docker run --rm -p 8080:8080 -e LOCAL_TIMEZONE=Europe/Berlin time-mcp-http

LOCAL_TIMEZONE(IANA 名。例: Europe/Berlin)は、ツールの説明文(「ユーザーが指定しない場合のローカルタイムゾーンとして使います」)に反映されるだけで、どの呼び出しでも依然として明示的な timezone 引数を指定します。未設定または無効な場合は、起動に失敗する代わりに UTC にフォールバックします。

認証情報やユーザーごとの状態、MCP_API_KEY は意図的にありません。その理由は ews-mcp のマルチユーザーモードと同じです。どのゲートで 401 が返っても、LibreChat の非 OAuth の MCP クライアントが OAuth を試みて(そして行き詰まる)しまうからです。ここでの境界は API キーではなく、Docker のネットワーク分離です。

テスト

pip install -e '.[dev]'
LOCAL_TIMEZONE=Europe/Berlin pytest
F
license - not found
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides current time and timezone conversion using IANA timezone names, enabling LLMs to get system time or convert times between timezones.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides time-related tools including current time retrieval, timezone conversion, time formatting, and timezone info via MCP.
    15
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    Provides real-time time awareness to Hermes Agent by exposing date, time, and timezone tools through MCP, enabling on-demand temporal queries.
  • A
    license
    Not graded
    quality
    C
    maintenance
    A remote MCP server exposing date/time tools over Streamable HTTP, enabling retrieval of current time for IANA timezones and listing available timezones, designed for use with web clients like Claude.ai.
    MIT

View all related MCP servers

Related MCP Connectors

  • Timezone MCP — wraps WorldTimeAPI (free, no auth)

  • A real clock for AI agents: current time, timezone conversion, and DST facts from the IANA tzdb.

  • Timezone tools for agents: convert, world clock, offset, lookup, date math, holidays, slots. x402

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/thekk1/time-mcp-http'

If you have feedback or need assistance with the MCP directory API, please join our Discord server