feat: Gruppe 2 – MCP Tools get_circles, get_lists, get_tasks (v0.2.0)

This commit is contained in:
2026-04-15 13:22:48 +02:00
parent 7372648894
commit 119a0b577e
5 changed files with 249 additions and 9 deletions
+1
View File
@@ -0,0 +1 @@
# Package marker — tools are registered in server.py.
+23
View File
@@ -0,0 +1,23 @@
"""List name translation helpers."""
from __future__ import annotations
# Mapping of Family Wall system list identifiers to German display names.
# Extend as new system names are discovered.
SYSTEM_NAMES: dict[str, str] = {
"SYS-CAT-SHOPPINGLIST": "Einkaufsliste",
}
def translate_name(name: str) -> str:
"""Translate system list names to German display names.
Unknown names are returned unchanged.
Args:
name: Raw list name from the Family Wall API.
Returns:
Human-readable German name, or the original name if no mapping exists.
"""
return SYSTEM_NAMES.get(name, name)