Letta MCP 服务器
提供代理管理、内存操作以及与 Letta 系统集成的工具的服务器。
快速设置
选项 1:使用 Node.js 运行
选项 2:使用 Docker 运行
目录结构
index.js - 主入口点
core/
——核心服务器功能tools/
- 单独的工具实现transports/
- 服务器传输实现(stdio 和 SSE)
可用工具
代理管理
工具 | 描述 | 必需参数 | 可选参数 |
| 创建新的 Letta 代理 | 名称、描述 | 模型,嵌入 |
| 列出所有可用的代理 | - | 筛选 |
| 向代理发送消息 | agent_id,消息 | - |
| 通过 ID 获取代理详细信息 | 代理 ID | - |
| 更新现有代理 | agent_id,更新数据 | - |
| 删除代理 | 代理 ID | - |
| 克隆现有代理 | 源代理 ID、新代理名称 | override_existing_tools,项目 ID |
| 删除多个代理 | - | 代理 ID、代理名称过滤器、代理标签过滤器 |
内存管理
工具 | 描述 | 必需参数 | 可选参数 |
| 列出所有内存块 | - | 过滤器、agent_id、页面、页面大小、标签 |
| 创建新的内存块 | 名称、标签、值 | agent_id,元数据 |
| 读取内存块 | 区块 ID | 代理 ID |
| 更新内存块 | 区块 ID | 值、元数据、agent_id |
| 将内存附加到代理 | block_id、agent_id | 标签 |
刀具管理
工具 | 描述 | 必需参数 | 可选参数 |
| 列出所有可用的工具 | - | 过滤器、页面、页面大小 |
| 列出特定代理的工具 | 代理 ID | - |
| 将工具附加到代理 | 代理 ID | 工具 ID、工具 ID、工具名称 |
| 上传新工具 | 名称、描述、源代码 | 类别,代理ID |
| 将一个工具附加到多个代理 | 工具 ID | 代理名称过滤器、代理标签过滤器 |
其他工具
模型管理:
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
Docker 操作
使用 MCP 设置进行配置
将服务器添加到您的 mcp_settings.json:
对于远程实例,使用 URL 配置:
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
MCP 服务器实现,可与 Letta API 交互,以管理 Letta 系统中的代理、内存块和工具。
Related Resources
Related MCP Servers
- 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 -42507104MIT License
- AsecurityFlicenseAqualityAn MCP server that enables LLMs to interact with Agent-to-Agent (A2A) protocol compatible agents, allowing for sending messages, tracking tasks, and receiving streaming responses.Last updated -526
- AsecurityAlicenseAqualityThe Atla MCP Server provides a standardized interface for LLMs to interact with the Atla API for state-of-the-art LLMJ evaluation.Last updated -216MIT License
- AsecurityAlicenseAqualityA meta-MCP server that manages and aggregates other MCP servers, enabling LLMs to dynamically extend their own capabilities by searching for, adding, and configuring tool servers.Last updated -1680AGPL 3.0