feat: expose current date and time via HTTP and MCP
Adds GET /datetime and an MCP get_current_datetime tool returning the current date/time in Europe/Paris, alongside the existing calendar endpoints. Both share the same CurrentDateTime payload shape. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Hu8wwahgecuCGfesTKCfEd
This commit is contained in:
@@ -6,9 +6,13 @@ Tools for domotic
|
||||
|
||||
Return calendar informations about today
|
||||
|
||||
## Date and time
|
||||
|
||||
`GET /datetime` returns the current date and time.
|
||||
|
||||
## MCP
|
||||
|
||||
An MCP server is exposed over Streamable HTTP at `/mcp`, providing the same calendar
|
||||
information as MCP tools (`get_calendar_today`, `get_calendar_for_date`, `get_holidays`)
|
||||
for use by LLM agents/MCP clients.
|
||||
and date/time information as MCP tools (`get_current_datetime`, `get_calendar_today`,
|
||||
`get_calendar_for_date`, `get_holidays`) for use by LLM agents/MCP clients.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user