Back to Home
oculairmedia icon

Letta-MCP-server

Verified Safe

by oculairmedia

Overview

A Model Context Protocol (MCP) server that provides comprehensive tools for agent management, memory operations, and integration with the Letta system.

Installation

Run Command
npx letta-mcp --http

Environment Variables

  • LETTA_BASE_URL
  • LETTA_PASSWORD
  • PORT
  • NODE_ENV
  • XBACKBONE_URL
  • XBACKBONE_TOKEN

Security Notes

The server acts as a proxy for the Letta API. Core security risks related to user-provided code execution (e.g., in `upload_tool`) are primarily handled by the Letta backend, not this MCP server directly. The HTTP transport includes origin validation (CORS) to prevent certain web-based attacks. However, there are potential local file system interaction risks in `export_agent` and `import_agent` if an attacker can manipulate file paths (e.g., directory traversal), though `path.resolve` mitigates some of this. The `export_agent` tool also supports uploading to a configurable XBackbone URL, which could introduce SSRF vulnerabilities if the `xbackbone_url` argument is not strictly controlled by environment variables and can be influenced by a malicious client. `LETTA_PASSWORD` is correctly handled as an environment variable.

Similar Servers

Stats

Interest Score46
Security Score7
Cost ClassMedium
Avg Tokens500
Stars60
Forks20
Last Update2026-01-19

Tags

AILLMAgent ManagementMemoryToolsMCP ServerAPI Proxy