Skip to main content
Glama

MemOS-MCP

by qinshu1109
base.py438 B
from abc import ABC, abstractmethod from memos.configs.llm import BaseLLMConfig from memos.types import MessageList class BaseLLM(ABC): """Base class for all LLMs.""" @abstractmethod def __init__(self, config: BaseLLMConfig): """Initialize the LLM with the given configuration.""" @abstractmethod def generate(self, messages: MessageList, **kwargs) -> str: """Generate a response from the LLM."""

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