Skip to main content
Glama

MemGPT MCP Server

by Vic563

MemGPT MCP 서버

LLM을 위한 메모리 시스템을 구현하는 TypeScript 기반 MCP 서버입니다. 대화 내역을 유지하면서 다양한 LLM 제공자와 채팅할 수 있는 도구를 제공합니다.

특징

도구

  • chat - 현재 LLM 제공자에게 메시지 보내기
    • 메시지 매개변수를 사용합니다
    • 다양한 공급자(OpenAI, Anthropic, OpenRouter, Ollama) 지원
  • get_memory - 대화 기록 검색
    • 검색할 메모리 수를 지정하는 선택적 limit 매개변수
    • 통과 limit: null
    • 타임스탬프와 함께 시간순으로 메모리를 반환합니다.
  • clear_memory - 대화 기록 지우기
    • 저장된 모든 메모리를 제거합니다
  • use_provider - 다양한 LLM 공급자 간 전환
    • OpenAI, Anthropic, OpenRouter 및 Ollama 지원
    • 공급자 선택 유지
  • use_model - 현재 공급자에 대해 다른 모델로 전환
    • 공급자별 모델을 지원합니다.
      • 인간 중심적 클로드 모델:
        • 클로드 3 시리즈:
          • claude-3-haiku : 가장 빠른 응답 시간으로 고객 지원 및 콘텐츠 조정과 같은 작업에 이상적입니다.
          • claude-3-sonnet : 일반적인 용도로 사용하기에 균형 잡힌 성능
          • claude-3-opus : 복잡한 추론 및 고성능 작업을 위한 고급 모델
        • 클로드 3.5 시리즈:
          • claude-3.5-haiku : 향상된 속도와 비용 효율성
          • claude-3.5-sonnet : 컴퓨터 상호 작용 기능을 갖춘 뛰어난 성능
      • OpenAI: 'gpt-4o', 'gpt-4o-mini', 'gpt-4-turbo'
      • OpenRouter: 'provider/model' 형식의 모든 모델(예: 'openai/gpt-4', 'anthropic/claude-2')
      • Ollama: 로컬에서 사용 가능한 모델(예: 'llama2', 'codellama')
    • 모델 선택을 유지합니다

개발

종속성 설치:

지엑스피1

서버를 빌드하세요:

npm run build

자동 재빌드를 사용한 개발의 경우:

npm run watch

설치

Claude Desktop과 함께 사용하려면 서버 구성을 추가하세요.

MacOS의 경우: ~/Library/Application Support/Claude/claude_desktop_config.json Windows의 경우: %APPDATA%/Claude/claude_desktop_config.json

{ "mcpServers": { "letta-memgpt": { "command": "/path/to/memgpt-server/build/index.js", "env": { "OPENAI_API_KEY": "your-openai-key", "ANTHROPIC_API_KEY": "your-anthropic-key", "OPENROUTER_API_KEY": "your-openrouter-key" } } } }

환경 변수

  • OPENAI_API_KEY - OpenAI API 키
  • ANTHROPIC_API_KEY - Anthropic API 키
  • OPENROUTER_API_KEY - OpenRouter API 키

디버깅

MCP 서버는 stdio를 통해 통신하므로 디버깅이 어려울 수 있습니다. MCP Inspector 사용을 권장합니다.

npm run inspector

검사기는 브라우저에서 디버깅 도구에 액세스할 수 있는 URL을 제공합니다.

최근 업데이트

Claude 3 및 3.5 시리즈 지원(2024년 3월)

  • 최신 Claude 모델에 대한 지원이 추가되었습니다.
    • 클로드 3 시리즈(하이쿠, 소네트, 오푸스)
    • 클로드 3.5 시리즈(하이쿠, 소네트)

무제한 메모리 검색

  • 무제한 대화 기록 검색 지원 추가
  • get_memory 도구와 함께 { "limit": null } 사용하여 저장된 모든 메모리를 검색합니다.
  • { "limit": n } 사용하여 가장 최근의 n개 메모리를 검색합니다.
  • 지정하지 않으면 기본 제한은 10입니다.
-
security - not tested
F
license - not found
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

대규모 언어 모델(LLM)에 대한 메모리 시스템을 제공하는 TypeScript 기반 서버로, 사용자가 대화 내역을 유지하면서 여러 LLM 공급자와 상호 작용할 수 있고 공급자와 모델 구성을 관리하기 위한 도구를 제공합니다.

  1. 특징
    1. 도구
  2. 개발
    1. 설치
      1. 환경 변수
      2. 디버깅
    2. 최근 업데이트
      1. Claude 3 및 3.5 시리즈 지원(2024년 3월)
      2. 무제한 메모리 검색

    Related MCP Servers

    • -
      security
      A
      license
      -
      quality
      Runs a language server and provides tools for communicating with it. Language servers excel at tasks that LLMs often struggle with, such as precisely understanding types, understanding relationships, and providing accurate symbol references.
      Last updated -
      401
      Go
      BSD 3-Clause
      • Apple
      • Linux
    • -
      security
      F
      license
      -
      quality
      A TypeScript-based MCP server that enables LLM agents to interact with Gel databases through natural language, providing tools to learn database schemas, validate and execute EdgeQL queries.
      Last updated -
      5
      TypeScript
    • -
      security
      F
      license
      -
      quality
      A TypeScript MCP server that allows querying documents using LLMs with context from locally stored repositories and text files through a RAG (Retrieval-Augmented Generation) system.
      Last updated -
      1
      JavaScript
      • Apple
      • Linux
    • -
      security
      A
      license
      -
      quality
      An MCP server that enables LLMs to understand and work with TypeScript APIs they haven't been trained on by providing structured access to TypeScript type definitions and documentation.
      Last updated -
      73
      26
      TypeScript
      MIT License

    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/Vic563/Memgpt-MCP-Server'

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