Letta MCP Server

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.

Integrations

  • Uses .env files for configuration, allowing storage of Letta API credentials and endpoints securely outside of the codebase.

  • Repository hosting for the Letta MCP server, enabling version control, contribution workflows, and distribution of the server code.

  • Provides package management for the Letta MCP server, managing dependencies and offering scripts for building and running the server.

Letta MCP 서버

에이전트 관리, 메모리 작업, Letta 시스템과의 통합을 위한 도구를 제공하는 서버입니다.

빠른 설정

옵션 1: Node.js로 실행

지엑스피1

옵션 2: Docker로 실행

# Build and run locally docker build -t letta-mcp-server . docker run -d -p 3001:3001 -e PORT=3001 -e NODE_ENV=production --name letta-mcp letta-mcp-server # Or use the public image docker run -d -p 3001:3001 -e PORT=3001 -e NODE_ENV=production --name letta-mcp ghcr.io/oculairmedia/letta-mcp-server:latest

디렉토리 구조

  • index.js - 주요 진입점
  • core/ - 핵심 서버 기능
  • tools/ - 개별 도구 구현
  • transports/ - 서버 전송 구현(stdio 및 SSE)

사용 가능한 도구

에이전트 관리

도구설명필수 매개변수선택적 매개변수
create_agent새로운 Letta 에이전트 만들기이름, 설명모델, 임베딩
list_agents사용 가능한 모든 에이전트를 나열하세요-필터
prompt_agent상담원에게 메시지 보내기agent_id, 메시지-
get_agentID로 에이전트 세부 정보 가져오기에이전트_아이디-
modify_agent기존 에이전트 업데이트agent_id, update_data-
delete_agent에이전트 삭제에이전트_아이디-
clone_agent기존 에이전트 복제소스_에이전트_ID, 새_에이전트_이름기존 도구 재정의, 프로젝트 ID
bulk_delete_agents여러 에이전트 삭제-에이전트 ID, 에이전트 이름 필터, 에이전트 태그 필터

메모리 관리

도구설명필수 매개변수선택적 매개변수
list_memory_blocks모든 메모리 블록 나열-필터, 에이전트 ID, 페이지, 페이지 크기, 레이블
create_memory_block새로운 메모리 블록을 만듭니다이름, 라벨, 값agent_id, 메타데이터
read_memory_block메모리 블록 읽기블록_아이디에이전트_아이디
update_memory_block메모리 블록 업데이트블록_아이디값, 메타데이터, agent_id
attach_memory_block에이전트에 메모리 첨부블록_아이디, 에이전트_아이디상표

도구 관리

도구설명필수 매개변수선택적 매개변수
list_tools사용 가능한 모든 도구 나열-필터, 페이지, 페이지 크기
list_agent_tools특정 에이전트를 위한 도구 나열에이전트_아이디-
attach_tool에이전트에 도구 첨부에이전트_아이디도구_ID, 도구_ID, 도구_이름
upload_tool새로운 도구 업로드이름, 설명, 소스 코드카테고리, agent_id
bulk_attach_tool_to_agents여러 에이전트에 도구 연결도구_아이디에이전트 이름 필터, 에이전트 태그 필터

추가 도구

  • 모델 관리 : list_llm_models , list_embedding_models
  • 아카이브 관리 : list_passages , create_passage , modify_passage , delete_passage
  • MCP 서버 관리 : list_mcp_servers , list_mcp_tools_by_server
  • 가져오기/내보내기 : export_agent , import_agent

도커 운영

# View container logs docker logs -f letta-mcp # Stop the container docker stop letta-mcp # Update to latest version docker pull ghcr.io/oculairmedia/letta-mcp-server:latest docker stop letta-mcp docker rm letta-mcp docker run -d -p 3001:3001 -e PORT=3001 -e NODE_ENV=production --name letta-mcp ghcr.io/oculairmedia/letta-mcp-server:latest

MCP 설정을 사용한 구성

mcp_settings.json에 서버를 추가합니다.

"letta": { "command": "node", "args": [ "--no-warnings", "--experimental-modules", "path/to/letta-server/index.js" ], "env": { "LETTA_BASE_URL": "https://your-letta-instance.com", "LETTA_PASSWORD": "yourPassword" }, "disabled": false, "alwaysAllow": [ "upload_tool", "attach_tool", "list_agents", "list_memory_blocks" ], "timeout": 300 }

원격 인스턴스의 경우 URL 구성을 사용하세요.

"remote_letta_tools": { "url": "http://your-server:3001/sse", "disabled": false, "alwaysAllow": [ "attach_tool", "list_agents", "list_tools", "get_agent" ], "timeout": 120 }

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Letta 시스템에서 에이전트, 메모리 블록, 도구를 관리하기 위해 Letta API와 상호작용을 가능하게 하는 MCP 서버 구현입니다.

  1. Quick Setup
    1. Option 1: Run with Node.js
    2. Option 2: Run with Docker
  2. Directory Structure
    1. Available Tools
      1. Agent Management
      2. Memory Management
      3. Tool Management
      4. Additional Tools
    2. Docker Operations
      1. Configuration with MCP Settings
        ID: fuuaesngfg