MCP server for AI memory management using Letta - Standard MCP format
registry version 2.0.2
npm
npx -y @letta-ai/memory-mcpnpm
npx -y @letta-ai/memory-mcp@2.0.2
Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.
claude_desktop_config.json
{
"mcpServers": {
"memory-mcp": {
"command": "npx",
"args": [
"-y",
"@letta-ai/memory-mcp"
],
"env": {
"LETTA_API_KEY": "<YOUR_LETTA_API_KEY>"
}
}
}
}{
"mcpServers": {
"memory-mcp": {
"command": "npx",
"args": [
"-y",
"@letta-ai/memory-mcp@2.0.2"
],
"env": {
"LETTA_API_KEY": "<YOUR_LETTA_API_KEY>"
}
}
}
}Format verified against the official Claude Desktop docs ↗.
terminal
claude mcp add --env LETTA_API_KEY=<YOUR_LETTA_API_KEY> memory-mcp -- npx -y @letta-ai/memory-mcp
claude mcp add --env LETTA_API_KEY=<YOUR_LETTA_API_KEY> memory-mcp -- npx -y @letta-ai/memory-mcp@2.0.2
Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"memory-mcp": {
"command": "npx",
"args": [
"-y",
"@letta-ai/memory-mcp"
],
"env": {
"LETTA_API_KEY": "<YOUR_LETTA_API_KEY>"
}
}
}
}{
"mcpServers": {
"memory-mcp": {
"command": "npx",
"args": [
"-y",
"@letta-ai/memory-mcp@2.0.2"
],
"env": {
"LETTA_API_KEY": "<YOUR_LETTA_API_KEY>"
}
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"memory-mcp": {
"command": "npx",
"args": [
"-y",
"@letta-ai/memory-mcp"
],
"env": {
"LETTA_API_KEY": "<YOUR_LETTA_API_KEY>"
}
}
}
}{
"servers": {
"memory-mcp": {
"command": "npx",
"args": [
"-y",
"@letta-ai/memory-mcp@2.0.2"
],
"env": {
"LETTA_API_KEY": "<YOUR_LETTA_API_KEY>"
}
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"memory-mcp": {
"command": "npx",
"args": [
"-y",
"@letta-ai/memory-mcp"
],
"env": {
"LETTA_API_KEY": "<YOUR_LETTA_API_KEY>"
}
}
}
}{
"mcpServers": {
"memory-mcp": {
"command": "npx",
"args": [
"-y",
"@letta-ai/memory-mcp@2.0.2"
],
"env": {
"LETTA_API_KEY": "<YOUR_LETTA_API_KEY>"
}
}
}
}Format verified against the official Windsurf docs ↗.
Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.
LETTA_API_KEY required secret — Letta API key for memory operationsLETTA_USER_ID — Unique user identifier for associated memoriesDistributed as npm, listed under Knowledge & Memory. Review our MCP security guide before granting access to real data.
Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.
The MCP server itself is free to install. The source is public on https://github.com/letta-ai/memory-mcp. Any third-party service it calls may require its own API key and account.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](https://mcpnav.net/server/memory-mcp/)
HTML
<a href="https://mcpnav.net/server/memory-mcp/"><img src="https://mcpnav.net/badge/memory-mcp.svg" alt="Listed on MCPNav" height="20"></a>