PD

pinkpixel-dev/mem0-mcp

Developer tools공식

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

97 stars 14 forks 품질 86 트렌드 20MIT

pinkpixel-dev/mem0-mcp는 [[T0]에서 가져온 MCP 서버 후보입니다.

개요

pinkpixel-dev/mem0-mcp는 [[T0]에서 가져온 MCP 서버 후보입니다.

개요(AI 번역)

Mem0.ai 와 통합되어 LLM에 지속적인 메모리 기능을 제공하는 모델 컨텍스트 프로토콜(MCP) 서버입니다. AI 에이전트가 세션 간에 정보를 저장하고 검색할 수 있게 합니다.

이 서버는 핵심 기능을 위해 mem0ai Node.js SDK를 사용합니다.

특징 🧠

현대화 및 고급 도구 (v0.8.0)

  • [add_memory: 텍스트 내용이나 구조화된 메시지 배열에서 메모리를 저장합니다.
  • 입력: content (문자열) 또는 messages (역할/콘텐츠 객체 배열), userId (문자열), runId / sessionId (문자열), agentId (문자열), appId (문자열), metadata (객체), infer (불리언), customInstructions (문자열), waitForCompletion (불리언, 기본값: true), timeoutMs (숫자, 기본값: 15000)
  • Behavior: Cloud V3 추가는 비동기식입니다. 기본적으로 이 도구는 완료될 때까지 백그라운드 큐를 폴링합니다. waitForCompletion: false를 통과하면 eventId를 즉시 받아옵니다.
  • search_memories: 의미론적 및 BM25 하이브리드 필터를 사용해 기억을 검색합니다.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

@pinkpixel/mem0-mcp MCP Server ✨

A Model Context Protocol (MCP) server that integrates with Mem0.ai to provide persistent memory capabilities for LLMs. It allows AI agents to store and retrieve information across sessions.

This server uses the mem0ai Node.js SDK for its core functionality.

Features 🧠

Modernized & Advanced Tools (v0.8.0)

  • add_memory: Stores a memory from text content or structured message arrays.
    • Inputs: content (string) or messages (array of role/content objects), userId (string), runId / sessionId (string), agentId (string), appId (string), metadata (object), infer (boolean), customInstructions (string), waitForCompletion (boolean, default: true), timeoutMs (number, default: 15000)
    • Behavior: Cloud V3 additions are asynchronous. By default, this tool polls the background queue until completed. Pass waitForCompletion: false to get the eventId immediately.
  • search_memories: Searches memories using semantic and BM25 hybrid filters.
    • Inputs: query (string), userId (string), runId / sessionId (string), agentId (string), appId (string), filters (object), threshold (number), topK (number), rerank (boolean), referenceDate (string)
    • Behavior: Automatically nests scope variables inside the V3 filters block to prevent API validation errors.
  • search_memory: Backward-compatible alias for search_memories.
  • list_memories: Paginated listing of memory records scoped by identifiers.
    • Inputs: userId (string), runId / sessionId (string), agentId (string), appId (string), filters (object), page (number), pageSize (number)
  • get_memory: Retrieves a single memory record by its ID.
    • Inputs: memoryId (string)
  • update_memory: Modifies the text or metadata of an existing memory.
GitHub에서 전체 README 보기

설치

npx -y @pinkpixel/mem0-mcp
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "mem0-mcp": { "command": "mem0-mcp", "args": [], "env": { "MEM0_API_KEY": "YOUR_MEM0_API_KEY_HERE", "DEFAULT_USER_ID": "user123", "DEFAULT_AGENT_ID": "your-agent-id", "DEFAULT_APP_ID": "your-app-id" } } } }