Cognitive memory system for Claude Code: episodic storage, semantic extraction, knowledge graph, and dream-state consolidation. TypeScript, MCP server, local-first.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add engram-devinmlowe --env ENGRAM_MCP_TOKEN='<ENGRAM_MCP_TOKEN>' -- npx -y @devinmlowe/engram~/.codex/config.toml
[mcp_servers.engram-devinmlowe]
command = "npx"
args = ["-y", "@devinmlowe/engram"]
env = { ENGRAM_MCP_TOKEN = "<ENGRAM_MCP_TOKEN>" }
# codex mcp add engram-devinmlowe --env ENGRAM_MCP_TOKEN='<ENGRAM_MCP_TOKEN>' -- npx -y @devinmlowe/engram~/.cursor/mcp.json
{
"mcpServers": {
"engram-devinmlowe": {
"command": "npx",
"args": [
"-y",
"@devinmlowe/engram"
],
"env": {
"ENGRAM_MCP_TOKEN": "<ENGRAM_MCP_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"engram-devinmlowe": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@devinmlowe/engram"
],
"env": {
"ENGRAM_MCP_TOKEN": "<ENGRAM_MCP_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"engram-devinmlowe": {
"command": "npx",
"args": [
"-y",
"@devinmlowe/engram"
],
"env": {
"ENGRAM_MCP_TOKEN": "<ENGRAM_MCP_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"engram-devinmlowe": {
"command": "npx",
"args": [
"-y",
"@devinmlowe/engram"
],
"env": {
"ENGRAM_MCP_TOKEN": "<ENGRAM_MCP_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"engram-devinmlowe": {
"command": "npx",
"args": [
"-y",
"@devinmlowe/engram"
],
"env": {
"ENGRAM_MCP_TOKEN": "<ENGRAM_MCP_TOKEN>"
}
}
}
}需要的环境变量
ENGRAM_MCP_TOKEN
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。