Skip to main content
Glama

MemOS-MCP

by qinshu1109
base.py830 B
from abc import ABC, abstractmethod from memos.configs.mem_chat import BaseMemChatConfig from memos.mem_cube.base import BaseMemCube class BaseMemChat(ABC): """Base class for all MemChat.""" @abstractmethod def __init__(self, config: BaseMemChatConfig): """Initialize the MemChat with the given configuration.""" @property @abstractmethod def mem_cube(self) -> BaseMemCube: """The memory cube associated with this MemChat.""" @mem_cube.setter @abstractmethod def mem_cube(self, value: BaseMemCube) -> None: """The memory cube associated with this MemChat.""" @abstractmethod def run(self) -> None: """Run the MemChat. This `run` method can represent the core logic of a MemChat. It could be an iterative chat process. """

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/qinshu1109/memos-MCP'

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