The Letta MCP Server provides comprehensive tools for agent management, memory operations, and tool integration within the Letta system.
Agent Management: Create, list, prompt, modify, delete, clone, and bulk delete agents with specific configurations
Memory Management: Create, list, read, update, and attach memory blocks to agents
Tool Management: List, attach (individually or in bulk), and upload tools for agents
Additional Features: Manage models (LLM and embedding), archive passages, other MCP servers, and import/export agent configurations
Deployment: Run locally with Node.js or Docker, configurable via
mcp_settings.json
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.
Used as the implementation language for the Letta MCP server, with build scripts to compile TypeScript code before execution.
Letta MCP Server
A server that provides tools for agent management, memory operations, and integration with the Letta system.
Quick Setup
Option 1: Run with Node.js
Option 2: Run with Docker
Related MCP server: A2A Client MCP Server
Directory Structure
index.js - Main entry point
core/- Core server functionalitytools/- Individual tool implementationstransports/- Server transport implementations (stdio and SSE)
Available Tools
Agent Management
Tool | Description | Required Parameters | Optional Parameters |
| Create a new Letta agent | name, description | model, embedding |
| List all available agents | - | filter |
| Send a message to an agent | agent_id, message | - |
| Get agent details by ID | agent_id | - |
| Update an existing agent | agent_id, update_data | - |
| Delete an agent | agent_id | - |
| Clone an existing agent | source_agent_id, new_agent_name | override_existing_tools, project_id |
| Delete multiple agents | - | agent_ids, agent_name_filter, agent_tag_filter |
Memory Management
Tool | Description | Required Parameters | Optional Parameters |
| List all memory blocks | - | filter, agent_id, page, pageSize, label |
| Create a new memory block | name, label, value | agent_id, metadata |
| Read a memory block | block_id | agent_id |
| Update a memory block | block_id | value, metadata, agent_id |
| Attach memory to an agent | block_id, agent_id | label |
Tool Management
Tool | Description | Required Parameters | Optional Parameters |
| List all available tools | - | filter, page, pageSize |
| List tools for a specific agent | agent_id | - |
| Attach tools to an agent | agent_id | tool_id, tool_ids, tool_names |
| Upload a new tool | name, description, source_code | category, agent_id |
| Attach a tool to multiple agents | tool_id | agent_name_filter, agent_tag_filter |
Additional Tools
Model Management:
list_llm_models,list_embedding_modelsArchive Management:
list_passages,create_passage,modify_passage,delete_passageMCP Server Management:
list_mcp_servers,list_mcp_tools_by_serverImport/Export:
export_agent,import_agent
Docker Operations
Configuration with MCP Settings
Add the server to your mcp_settings.json:
For remote instances, use the URL configuration: