mem0 MCP 서버
mem0를 위한 Model Context Protocol(MCP) 서버의 TypeScript 구현으로, Mem0 통합을 통해 메모리 스트림 기능을 제공합니다.
특징
Mem0 통합을 통한 메모리 스트림 생성
메모리 스트림에 콘텐츠 추가
Mem0의 의미 검색을 사용하여 메모리 검색
메모리 스트림에서 읽기
메모리 스트림에 대한 리소스 기반 액세스
메모리 스트림 삭제
필수 조건
Node.js와 npm이 설치되었습니다.
Mem0 API 키( mem0.ai 에서 하나 받으세요)
설치
지엑스피1
구성
Mem0 API 키를 환경 변수로 설정하세요.
건물
서버 실행
테스트
테스트 클라이언트를 실행하여 서버 기능을 확인하세요.
API
도구
create-memory-stream
매개변수:
name
: 문자열initialContent
: 문자열(선택 사항)userId
: 문자열(선택 사항) - Mem0 사용자 IDagentId
: 문자열(선택 사항) - Mem0 에이전트 ID
반환: 스트림 ID 및 메타데이터
append-to-stream
매개변수:
streamId
: 문자열content
: 문자열role
: "사용자" | "보조자"(선택 사항)
반환: 성공 확인
search-memories
매개변수:
query
: 문자열userId
: 문자열agentId
: 문자열(선택 사항)threshold
: 숫자(선택 사항)
반환: Mem0의 검색 결과
read-stream
매개변수:
streamId
: 문자열startIndex
: 숫자(선택 사항)endIndex
: 숫자(선택 사항)
반환: 스트리밍 콘텐츠
delete-stream
매개변수:
streamId
: 문자열
반환: 삭제 확인
자원
memory://{streamId}
- 메모리 스트림 콘텐츠에 직접 액세스합니다.memory://
- 모든 메모리 스트림을 나열합니다
개발
이 서버는 MCP TypeScript SDK를 사용하여 구현되었으며, 영구 메모리 저장 및 의미 검색을 위해 Mem0와의 통합을 제공합니다. 구현을 확장하려면 다음을 수행하십시오.
더 많은 Mem0 기능 추가(예: 메모리 태깅, 메타데이터)
적절한 오류 처리를 구현하세요
인증 및 권한 부여 추가
추가 메모리 작업 추가
특허
MIT
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Mem0 통합을 통해 메모리 스트림의 생성, 관리 및 의미 검색을 가능하게 하는 모델 컨텍스트 프로토콜 서버의 TypeScript 구현입니다.
Related MCP Servers
- AsecurityFlicenseAqualityA TypeScript-based template for developing Model Context Protocol servers with features like dependency injection and service-based architecture, facilitating the creation and integration of custom data processing tools.Last updated -124
- -securityFlicense-qualityA TypeScript framework for building Model Context Protocol (MCP) servers with automatic discovery and loading of tools, resources, and prompts.Last updated -0
- -securityFlicense-qualityA starter template for creating Model Context Protocol servers using TypeScript, providing basic setup and sample tool implementation for developers to build their own MCP servers.Last updated -
- -securityAlicense-qualityA Model Context Protocol server that integrates AI assistants with Mem0.ai's persistent memory system, allowing models to store, retrieve, search, and manage different types of memories.Last updated -12MIT License