Loading connector details…
Loading connector details…
Choose a unique username to continue using AgentHotspot
by mem0ai • APIs & Integration
An MCP server backed by mem0 for storing, retrieving, and semantically searching coding preferences via an SSE endpoint (for use with Cursor).
Persist developer coding preferences, code snippets, and setup/configuration details for reuse across sessions.
Semantically search existing implementations, best practices, and documentation to inform code generation or reviews.
A lightweight SSE/MCP endpoint to integrate coding preference lookups into multi-agent workflows (e.g., Cursor Composer in Agent mode).
This repository implements an SSE-based MCP server that uses mem0 for persistent storage and semantic search of coding preferences, code snippets, setup instructions, and best practices. It exposes three main tools: add_coding_preference, get_all_coding_preferences, and search_coding_preferen ces, and is designed to be connected to by agents (for example via Cursor). The server is configurable (host/port) and requires a mem0 API key for operation, enabling cloud-native decoupled workflows and long-term preference management.
Store a new preference, fact, or conversation snippet. Requires at least one: user_id, agent_id, or run_id.
Run a semantic search over existing memories. Use filters to narrow results. Common filter patterns: - Single user: {"AND": [{"user_id": "john"}]} - Agent memories: {"AND": [{"agent_id": "agent_name"}]} - Recent memories: {"AND": [{"user_id": "john"}, {"created_at": {"gte": "2024-01-01"}}]} - Multiple users: {"AND": [{"user_id": {"in": ["john", "jane"]}}]} - Cross-entity: {"OR": [{"user_id": "john"}, {"agent_id": "agent_name"}]} user_id is automatically added to filters if not provided.
Page through memories using filters instead of search. Use filters to list specific memories. Common filter patterns: - Single user: {"AND": [{"user_id": "john"}]} - Agent memories: {"AND": [{"agent_id": "agent_name"}]} - Recent memories: {"AND": [{"user_id": "john"}, {"created_at": {"gte": "2024-01-01"}}]} - Multiple users: {"AND": [{"user_id": {"in": ["john", "jane"]}}]} Pagination: Use page (1-indexed) and page_size for browsing results. user_id is automatically added to filters if not provided.
Delete every memory in the given user/agent/app/run but keep the entity.
List which users/agents/apps/runs currently hold memories.
Get help with memory operations and best practices.
Scores are informational only and provided “as is” without warranty. AgentHotspot assumes no liability for actions taken based on these ratings.