Skip to main content
Glama

mem0 MCP Server

by sadiuysal

mem0 MCP 서버

mem0를 위한 Model Context Protocol(MCP) 서버의 TypeScript 구현으로, Mem0 통합을 통해 메모리 스트림 기능을 제공합니다.

특징

  • Mem0 통합을 통한 메모리 스트림 생성
  • 메모리 스트림에 콘텐츠 추가
  • Mem0의 의미 검색을 사용하여 메모리 검색
  • 메모리 스트림에서 읽기
  • 메모리 스트림에 대한 리소스 기반 액세스
  • 메모리 스트림 삭제

필수 조건

  1. Node.js와 npm이 설치되었습니다.
  2. Mem0 API 키( mem0.ai 에서 하나 받으세요)

설치

지엑스피1

구성

Mem0 API 키를 환경 변수로 설정하세요.

export MEM0_API_KEY=your-api-key-here

건물

npm run build

서버 실행

npm start

테스트

테스트 클라이언트를 실행하여 서버 기능을 확인하세요.

npm test

API

도구

  1. create-memory-stream
    • 매개변수:
      • name : 문자열
      • initialContent : 문자열(선택 사항)
      • userId : 문자열(선택 사항) - Mem0 사용자 ID
      • agentId : 문자열(선택 사항) - Mem0 에이전트 ID
    • 반환: 스트림 ID 및 메타데이터
  2. append-to-stream
    • 매개변수:
      • streamId : 문자열
      • content : 문자열
      • role : "사용자" | "보조자"(선택 사항)
    • 반환: 성공 확인
  3. search-memories
    • 매개변수:
      • query : 문자열
      • userId : 문자열
      • agentId : 문자열(선택 사항)
      • threshold : 숫자(선택 사항)
    • 반환: Mem0의 검색 결과
  4. read-stream
    • 매개변수:
      • streamId : 문자열
      • startIndex : 숫자(선택 사항)
      • endIndex : 숫자(선택 사항)
    • 반환: 스트리밍 콘텐츠
  5. delete-stream
    • 매개변수:
      • streamId : 문자열
    • 반환: 삭제 확인

자원

  • memory://{streamId} - 메모리 스트림 콘텐츠에 직접 액세스합니다.
  • memory:// - 모든 메모리 스트림을 나열합니다

개발

이 서버는 MCP TypeScript SDK를 사용하여 구현되었으며, 영구 메모리 저장 및 의미 검색을 위해 Mem0와의 통합을 제공합니다. 구현을 확장하려면 다음을 수행하십시오.

  1. 더 많은 Mem0 기능 추가(예: 메모리 태깅, 메타데이터)
  2. 적절한 오류 처리를 구현하세요
  3. 인증 및 권한 부여 추가
  4. 추가 메모리 작업 추가

특허

MIT

-
security - not tested
F
license - not found
-
quality - not tested

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 구현입니다.

  1. 특징
    1. 필수 조건
      1. 설치
        1. 구성
          1. 건물
            1. 서버 실행
              1. 테스트
                1. API
                  1. 도구
                  2. 자원
                2. 개발
                  1. 특허

                    Related MCP Servers

                    • A
                      security
                      F
                      license
                      A
                      quality
                      A 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 -
                      1
                      2
                      TypeScript
                    • -
                      security
                      F
                      license
                      -
                      quality
                      Model Context Protocol (MCP) server implementation for semantic search and memory management using TxtAI. This server provides a robust API for storing, retrieving, and managing text-based memories with semantic search capabilities. You can use Claude and Cline AI Also
                      Last updated -
                      4
                      Python
                      • Apple
                    • -
                      security
                      F
                      license
                      -
                      quality
                      A Model Context Protocol server that enables Claude to persistently store, search, and manage text memories with tags in a local JSON file.
                      Last updated -
                      TypeScript
                      • Apple
                    • -
                      security
                      F
                      license
                      -
                      quality
                      A TypeScript framework for building Model Context Protocol (MCP) servers with automatic discovery and loading of tools, resources, and prompts.
                      Last updated -
                      67
                      TypeScript
                      • Apple

                    View all related MCP servers

                    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/sadiuysal/mem0-mcp-server-ts'

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