Skip to main content
Glama

MemOS-MCP

by qinshu1109
utils.py292 B
import re def remove_thinking_tags(text: str) -> str: """ Remove thinking tags from the generated text. Args: text: The generated text. Returns: str: The cleaned text. """ return re.sub(r"^<think>.*?</think>\s*", "", text, flags=re.DOTALL).strip()

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