Persistent memory and agent lifecycle for Claude Code — because sessions shouldn't start from zero.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add hmem-humanlike-memory-for-ai-agents -- npx -y hmem-mcp~/.codex/config.toml
[mcp_servers.hmem-humanlike-memory-for-ai-agents]
command = "npx"
args = ["-y", "hmem-mcp"]
# codex mcp add hmem-humanlike-memory-for-ai-agents -- npx -y hmem-mcp~/.cursor/mcp.json
{
"mcpServers": {
"hmem-humanlike-memory-for-ai-agents": {
"command": "npx",
"args": [
"-y",
"hmem-mcp"
]
}
}
}.vscode/mcp.json
{
"servers": {
"hmem-humanlike-memory-for-ai-agents": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"hmem-mcp"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"hmem-humanlike-memory-for-ai-agents": {
"command": "npx",
"args": [
"-y",
"hmem-mcp"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"hmem-humanlike-memory-for-ai-agents": {
"command": "npx",
"args": [
"-y",
"hmem-mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"hmem-humanlike-memory-for-ai-agents": {
"command": "npx",
"args": [
"-y",
"hmem-mcp"
]
}
}
}