We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/WhenMoon-afk/claude-memory-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
hooks.json•1.22 KiB
{
"hooks": {
"SessionStart": [
{
"matcher": ".*",
"hooks": [
{
"type": "prompt",
"prompt": "Memory plugin active. At session start, proactively use memory_recall to check for relevant memories about the current project or topic. If you find relevant context (decisions, preferences, learnings), briefly mention what you remember. This helps users see the value of persistent memory."
}
]
}
],
"Stop": [
{
"matcher": ".*",
"hooks": [
{
"type": "prompt",
"prompt": "Before ending, review this session for memories worth saving:\n\n**Save if present:**\n- User preferences (coding style, tool choices, naming conventions)\n- Technical decisions with rationale\n- Project-specific knowledge (architecture, patterns, gotchas)\n- Learnings from debugging or problem-solving\n- User corrections or clarifications\n\n**Skip:**\n- Generic Q&A with no lasting value\n- Information already stored\n- One-time instructions\n\nUse memory_store with importance 7-10 for critical items, 4-6 for useful context. Include enough context to be useful in future sessions."
}
]
}
]
}
}