time-mcp-http
time-mcp-http
これは、公式の modelcontextprotocol/servers の time サーバー(get_current_time、convert_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-httpLOCAL_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 pytestThis server cannot be installed
Maintenance
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
- AlicenseNot gradedqualityDmaintenanceProvides current time and timezone conversion using IANA timezone names, enabling LLMs to get system time or convert times between timezones.MIT
- AlicenseNot gradedqualityDmaintenanceProvides time-related tools including current time retrieval, timezone conversion, time formatting, and timezone info via MCP.15MIT
- FlicenseNot gradedqualityCmaintenanceProvides real-time time awareness to Hermes Agent by exposing date, time, and timezone tools through MCP, enabling on-demand temporal queries.
- AlicenseNot gradedqualityCmaintenanceA 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
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
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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