
baryhuang/mcp-openmemory
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
baryhuang/mcp-openmemory - кандидат на сервер MCP, импортированный из https://github.com/baryhuang/mcp-openmemory.
Обзор
baryhuang/mcp-openmemory - кандидат на сервер MCP, импортированный из https://github.com/baryhuang/mcp-openmemory.
Обзор (машинный перевод)
Это дает Клоду возможность запоминать ваши разговоры и учиться у них с течением времени.
[[Т0]]
Особенности
** Хранение памяти**: сохранение и запоминание сообщений для разговора ** Абстракты памяти**: Сохраняйте обобщенный контекст памяти во время разговоров Недавняя история: доступ к последним разговорам в настраиваемых временных окнах ** База данных**: SQLite для постоянного хранения данных без внешних зависимостей
️ Очень важно
Вы должны настроить MEMORY_DB_PATH в постоянное место, чтобы не потерять историю разговора, когда закроется Claude Desktop. Если не настроена, база данных по умолчанию ./memory.sqlite во временном местоположении, которое может быть очищено при перезапуске приложения.
Конфигурация
Предпосылки
Node.js: требуется для запуска MCP-сервера. Проверьте установку с помощью:
Если не установлен, скачать с nodejs.org
Claude Desktop: Скачать последнюю версию для macOS или Windows
###Интеграция рабочего стола
Файл конфигурации
Конфигурационный файл Claude Desktop расположен по адресу:
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
MCP OpenMemory Server
Gives Claude the ability to remember your conversations and learn from them over time.
https://github.com/user-attachments/assets/aef82b8e-3793-4ebd-b993-ddaef14d52d1
Features
- Memory Storage: Save and recall conversation messages
- Memory Abstracts: Maintain summarized memory context across conversations
- Recent History: Access recent conversations within configurable time windows
- Local Database: Uses SQLite for persistent storage without external dependencies
⚠️ Important
You must configure MEMORY_DB_PATH to a persistent location to avoid losing your conversation history when Claude Desktop closes. If not configured, the database defaults to ./memory.sqlite in a temporary location that may be cleared when the application restarts.
Configuration
Prerequisites
-
Node.js: Required to run the MCP server. Verify installation with:
node --versionIf not installed, download from nodejs.org
-
Claude Desktop: Download the latest version for macOS or Windows
Claude Desktop Integration
Configuration File Location
The Claude Desktop configuration file is located at:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
To access: Open Claude Desktop → Claude menu → Settings → Developer → Edit Config
macOS/Linux
Run directly using npm
{
"mcpServers": {
"mcp-openmemory": {
"command": "npx",
"args": [
"@peakmojo/mcp-openmemory@latest"
],
"env": {
"MEMORY_DB_PATH": "/Users/username/mcp-memory.sqlite"
}
}
}
}
Windows
Run directly using npm
{
"mcpServers": {
"mcp-openmemory": {
"command": "npx",
"args": [
"@peakmojo/mcp-openmemory@latest"
],
"env": {
"MEMORY_DB_PATH": "C:\\Users\\username\\mcp-memory.sqlite"
}
}
}
}
Run from source (all platforms)
{
"mcpServers": {
"memory": {
"command": "npx",
"args": ["/path/to/your/repo/server.js"],
"env": {
"MEMORY_DB_PATH": "/path/to/your/memory.sqlite"
}
}
}
}
Environment Variables
MEMORY_DB_PATH: Path to SQLite database file (default:./memory.sqlite)
Verification
After configuring and restarting Claude Desktop, you should see:
- Slider Icon (🔧) in the bottom left of the input box
- Available Tools when clicking the slider:
save_memory
Установка
npx @peakmojo/mcp-openmemory@latestКонфигурация
{
"mcpServers": {
"mcp-openmemory": {
"command": "npx",
"args": [
"@peakmojo/mcp-openmemory@latest"
],
"env": {
"MEMORY_DB_PATH": "/Users/username/mcp-memory.sqlite"
}
}
}
}