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
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_agent | Create a new Letta agent | name, description | model, embedding |
list_agents | List all available agents | - | filter |
prompt_agent | Send a message to an agent | agent_id, message | - |
get_agent | Get agent details by ID | agent_id | - |
modify_agent | Update an existing agent | agent_id, update_data | - |
delete_agent | Delete an agent | agent_id | - |
clone_agent | Clone an existing agent | source_agent_id, new_agent_name | override_existing_tools, project_id |
bulk_delete_agents | Delete multiple agents | - | agent_ids, agent_name_filter, agent_tag_filter |
Memory Management
Tool | Description | Required Parameters | Optional Parameters |
---|---|---|---|
list_memory_blocks | List all memory blocks | - | filter, agent_id, page, pageSize, label |
create_memory_block | Create a new memory block | name, label, value | agent_id, metadata |
read_memory_block | Read a memory block | block_id | agent_id |
update_memory_block | Update a memory block | block_id | value, metadata, agent_id |
attach_memory_block | Attach memory to an agent | block_id, agent_id | label |
Tool Management
Tool | Description | Required Parameters | Optional Parameters |
---|---|---|---|
list_tools | List all available tools | - | filter, page, pageSize |
list_agent_tools | List tools for a specific agent | agent_id | - |
attach_tool | Attach tools to an agent | agent_id | tool_id, tool_ids, tool_names |
upload_tool | Upload a new tool | name, description, source_code | category, agent_id |
bulk_attach_tool_to_agents | Attach a tool to multiple agents | tool_id | agent_name_filter, agent_tag_filter |
Additional Tools
- Model Management:
list_llm_models
,list_embedding_models
- Archive Management:
list_passages
,create_passage
,modify_passage
,delete_passage
- MCP Server Management:
list_mcp_servers
,list_mcp_tools_by_server
- Import/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:
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Tools
An MCP server implementation that enables interaction with the Letta API for managing agents, memory blocks, and tools in the Letta system.
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityAn MCP server that connects to Tana's Input API, allowing Large Language Models and other MCP clients to create and manipulate data in Tana workspaces.Last updated -111319TypeScriptMIT License
- -securityAlicense-qualityMCP server enabling AI agents to programmatically connect to and control Apache Superset instances, allowing users to manage dashboards, charts, databases, datasets, and run SQL queries through natural language interactions.Last updated -20PythonMIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that enables AI assistants to interact with Linear project management systems, allowing users to retrieve, create, and update issues, projects, and teams through natural language.Last updated -32805TypeScriptMIT License
- -security-license-qualityThis MCP server provides tools to interact with the Salesforce Agentforce API, allowing authentication, session creation, and message exchange with Salesforce agents.Last updated -1Python