Skip to main content
Glama
n24q02m

Mnemo - Persistent AI Memory

help

Access documentation for memory and configuration tools to understand how to manage persistent AI memory with hybrid search and cross-machine synchronization.

Instructions

Full documentation for memory and config tools. topic: 'memory' | 'config'

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topicNomemory

Implementation Reference

  • Handler function that loads and returns documentation for specified topics (memory or config). Validates topic parameter against whitelist, loads markdown file from mnemo_mcp.docs package using importlib.resources, and returns content or error JSON.
    async def help(topic: str = "memory") -> str:
        """Load full documentation for a tool."""
        docs_package = pkg_resources.files("mnemo_mcp.docs")
        valid_topics = {"memory": "memory.md", "config": "config.md"}
    
        filename = valid_topics.get(topic)
        if not filename:
            return _json(
                {
                    "error": f"Unknown topic: {topic}",
                    "valid_topics": list(valid_topics.keys()),
                }
            )
    
        doc_file = docs_package / filename
        content = doc_file.read_text(encoding="utf-8")
        return content
  • Registration of the 'help' tool with FastMCP decorator. Defines tool metadata including description, title, and behavior hints (read-only, non-destructive, idempotent).
    @mcp.tool(
        description="Full documentation for memory and config tools. topic: 'memory' | 'config'",
        annotations=ToolAnnotations(
            title="Help",
            readOnlyHint=True,
            destructiveHint=False,
            idempotentHint=True,
            openWorldHint=False,
        ),
    )
  • Schema definition: accepts 'topic' parameter (default 'memory'), validated against valid_topics dict. Returns string (either markdown content or JSON error).
    async def help(topic: str = "memory") -> str:
Install Server

Other Tools

Latest Blog Posts

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/n24q02m/mnemo-mcp'

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