Skip to main content
Glama

Tasks MCP Server

by chipocrudos
tasks_interfaces.py819 B
from abc import ABC, abstractmethod class DatabaseABC[T](ABC): @abstractmethod def add_task(self, title: str, description: str = "") -> int: ... @abstractmethod def get_tasks(self, limit: int = 10) -> list[T]: ... @abstractmethod def get_task(self, task_id: int) -> T | None: ... @abstractmethod def update_task( self, task_id: int, title: str, description: str, status: int ) -> T: ... @abstractmethod def delete_task(self, task_id: int) -> None: ... @abstractmethod def get_schema(self) -> dict: ... @abstractmethod def close(self) -> None: ... @abstractmethod def filter_tasks( self, title: str, description: str, status: int, created_at: str, limit: int = 20, ) -> list[T]: ...

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/chipocrudos/tasks-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server