Skip to main content
Glama

marm-mcp

automation.py848 B
"""Automation event handlers for MARM MCP Server.""" from typing import Dict, Any # Import core components from core.memory import memory from core.events import events async def auto_classify_content(data: dict): """Auto-classify log entries""" content = data.get('content', '') context_type = await memory.auto_classify_content(content) print(f"Auto-classified '{content[:50]}...' as '{context_type}'") async def update_knowledge_index(data: dict): """Update search index when notebook entries added""" print(f"Knowledge index updated for: {data.get('name')}") def register_event_handlers(): """Register all automation event handlers.""" events.on('log_entry_created', auto_classify_content) events.on('notebook_entry_added', update_knowledge_index) print("OK: Automation event handlers registered.")

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/Lyellr88/marm-mcp'

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