time-mcp-http
time-mcp-http
Официальный time-сервер из репозитория modelcontextprotocol/servers (get_current_time, convert_time) переведён на потоковый HTTP вместо stdio, чтобы вписываться в тот же MCP-парк, полностью построенный на Docker и HTTP, что и остальная часть стека BOS (см. bos-chat-stack.md), и не требовать, чтобы LibreChat поднимал локальный подпроцесс.
Логика инструментов (расчёт часовых поясов, схемы) импортируется напрямую из установленного пакета mcp-server-time (TimeServer/TimeTools) — меняется только транспорт, поэтому pip install --upgrade mcp-server-time по-прежнему подхватывает исправления из апстрима.
Зачем это нужно
У ассистента, вызывающего инструменты, нет встроенного понимания «сейчас» — он может неверно прочитать UTC-смещение в ISO-метке времени или просто не знать, какой сегодня день. Дать ему явный, вызываемый по требованию инструмент надёжнее, чем пытаться вставлять текущие дату и время в каждый системный промпт (endpoint Agents в LibreChat не поддерживает это нативно по состоянию на 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 — намеренно, по той же логике, что и multi-user режим в ews-mcp: если какой-то шлюз вернёт 401, не-OAuth MCP-клиент LibreChat попробует OAuth (и застрянет на нём). Границы здесь — изоляция Docker-сети, а не API-ключ.
Тест
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