added all mcp
This commit is contained in:
17
mealie-mcp-bundle/server/mealie/group.py
Normal file
17
mealie-mcp-bundle/server/mealie/group.py
Normal file
@@ -0,0 +1,17 @@
|
||||
import logging
|
||||
from typing import Any, Dict
|
||||
|
||||
logger = logging.getLogger("mealie-mcp")
|
||||
|
||||
|
||||
class GroupMixin:
|
||||
"""Mixin class for group-related API endpoints"""
|
||||
|
||||
def get_current_group(self) -> Dict[str, Any]:
|
||||
"""Get information about the current user's group.
|
||||
|
||||
Returns:
|
||||
Dictionary containing group details such as id, name, slug, and other group information.
|
||||
"""
|
||||
logger.info({"message": "Retrieving current group information"})
|
||||
return self._handle_request("GET", "/api/groups/self")
|
||||
Reference in New Issue
Block a user