Integration: Claude Desktop
l0-memory integrates seamlessly with the Claude Desktop application, providing a graphical chat interface with access to your long-term memory.
Automatic Configuration
The easiest way to configure Claude Desktop is using the Makefile command:
make install-mcp-desktopThis command performs several actions:
- Locates the Claude Desktop configuration file.
- Creates a backup of your existing configuration.
- Adds the
l0-memoryserver definition to themcpServerssection.
Manual Configuration
If you prefer to edit the configuration manually, you need to locate the claude_desktop_config.json file on your system.
Configuration Path
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Configuration Snippet
Add the following entry to the mcpServers object:
{
"mcpServers": {
"l0-memory": {
"command": "/absolute/path/to/ltm",
"args": ["mcp"]
}
}
}Absolute Paths
Claude Desktop requires absolute paths for the command field. Ensure you provide the full path to your ltm binary.
Restarting Claude Desktop
After modifying the configuration, you must completely quit and restart Claude Desktop for the changes to take effect.
Once restarted, look for the "hammer" icon or check the tool list to ensure the memory_ tools are available.
Troubleshooting
If the tools do not appear:
- Verify the path to the
ltmbinary is correct. - Check the Claude Desktop logs for any MCP connection errors.
- Ensure no other instance of
ltmis locking the database (though SQLite handles concurrent reads well, the MCP server requires a stable stdio connection).