Agent memory MCP server with 4-type cognitive memory, hybrid search, and TTL-based forgetting.
LLM์ ๋ํ๊ฐ ๋๋๋ฉด ๋ชจ๋ ๊ฒ์ ์์ต๋๋ค. ์ด๋ฆ๋, ๊ฒฐ์ ๋, ์ง๋์ฃผ์ ์์ธ ๋งฅ๋ฝ๋ ๋ง์ฐฌ๊ฐ์ง์ ๋๋ค. ์ด๋ ๋ชจ๋ธ์ ํ๊ณ๊ฐ ์๋๋ผ ๊ธฐ์ต ์ธํ๋ผ์ ๋ถ์ฌ์ ๋๋ค.
Memento๋ ๊ทธ ์ธํ๋ผ์ ๋๋ค. ๋จ์ ์ ์ฅ์๊ฐ ์๋๋ผ, ๊ธฐ์ต์ด ์์ฑยท๋ถ๋ฅยท๊ฐํยท๋ง๊ฐ๋๋ MCP ๊ธฐ๋ฐ ๊ธฐ์ต ์ด์ ์ฒด์ ์ ๋๋ค.
์์
๊ธฐ์ตยท์ผํ๊ธฐ์ตยท์๋ฏธ๊ธฐ์ตยท์ ์ฐจ๊ธฐ์ต์ remember์ type์ผ๋ก ๊ตฌ๋ถํฉ๋๋ค. ์ฐ์ธ ๊ธฐ์ต์ ๊ฐํ๋๊ณ , ์ธ๋ชจ์์ด์ง ๊ธฐ์ต์ ๋ง๊ฐ ์ ์ฑ
์ผ๋ก ์ ๋ฆฌ๋ฉ๋๋ค. ๋น์ทํ ๊ธฐ์ต์ ๋ฒกํฐ๋ก ์ฐ๊ฒฐ๋๋ฉฐ, ํต์ฌ ๋งฅ๋ฝ์ ์ต์ปค๋ก ๋ค์ ๋ํ์ ๋ฐ๋ก ๋ณต์๋ฉ๋๋ค.
๋ชจ๋ ธ๋ ํฌยทํจํค์ง ๊ตฌ์กฐยท๋น๋ ๋ช ๋ น์ AGENTS.md๋ฅผ ์ฐธ๊ณ ํด ์ฃผ์ธ์.
ํจํค์ง ๋งค๋์ ๋ npm๋ง ์ง์ํฉ๋๋ค (pnpm/yarn์ ์ง์ํ์ง ์์ต๋๋ค).
์ญํ ์ ๋ง๋ ๊ธฐ๋ณธ ๊ฒฝ๋ก ํ๋๋ง ๊ณ ๋ฅด์ธ์. Dockerยท์์ค ํด๋ก ยท๋ค์ค ์์ด์ ํธ HTTPยท์ํด๋ฆญ ์คํฌ๋ฆฝํธ๋ INSTALL.md์ ์์ต๋๋ค.
/plugin marketplace add jee1/memento
/plugin install memento@memento
๊ธฐ์ต DB๋ ${CLAUDE_PLUGIN_DATA}/memory.db์ ๋์ด ํ๋ฌ๊ทธ์ธ ์
๋ฐ์ดํธ ํ์๋ ์ ์ง๋ฉ๋๋ค. /plugin ํจ๋์์ memento MCP๊ฐ ์ฐ๊ฒฐ๋๋์ง ํ์ธํด ์ฃผ์ธ์.
npx memento-mcp-server@latest
{
"mcpServers": {
"memento": {
"command": "npx",
"args": ["memento-mcp-server@latest"],
"env": {
"DB_PATH": "/absolute/path/to/data/memory.db"
}
}
}
}
์ค์ ํ์ผ ์์น๋ ๋ค์๊ณผ ๊ฐ์ต๋๋ค. Cursor๋ .cursor/mcp.json ๋๋ ~/.cursor/mcp.json์
๋๋ค. Claude DesktopยทClaude Code๋ INSTALL.md์ Cursor MCP ์ค์ ๊ฐ์ด๋๋ฅผ ์ฐธ๊ณ ํด ์ฃผ์ธ์.
์์ฃผ ์ด๋ค๋ฉด npm i -g memento-mcp-server๋ก ๊ธ๋ก๋ฒ ์ค์นํ๋ ํธ์ด ๋ซ์ต๋๋ค. ๊ณต์ MCP ๋ ์ง์คํธ๋ฆฌ ์ด๋ฆ์ io.github.jee1/memento-mcp-server์
๋๋ค (server.json).
Docker, ์์ค ๋น๋, HTTP MCP(๋ค์ค ์์ด์ ํธ), ํ๊ฒฝ ์ค๋ฒ๋ ์ด๋ INSTALL.md๋ฅผ ๋ฐ๋ผ ์ฃผ์ธ์.
์๋ฒ์๋ ๋๊ตฌ 22๊ฐ๊ฐ ๋ฑ๋ก๋์ด ์์ง๋ง, tools/list์๋ ๊ธฐ๋ณธ์ ์ผ๋ก recall ยท remember ยท memory_injection ยท feedback 4๊ฐ๋ง ๋
ธ์ถ๋ฉ๋๋ค(v1.18+). ๋๋จธ์ง๋ ๋ฑ๋ก๋ ์ฑ ํธ์ถ์ ๊ฐ๋ฅํ๊ณ , ๋ชฉ๋ก์์๋ง ๋น ์ง๋๋ค. ์ ๋ถ ๋์ดํ๋ ค๋ฉด MEMENTO_TOOLSET=full์ ์ค์ ํ์ธ์.
await client.callTool({
name: "remember",
arguments: {
content: "์ฌ์ฉ์๋ React Hook์ ํ์ตํ์ต๋๋ค. useState๋ ์ํ๋ฅผ ๊ด๋ฆฌํ๊ณ , useEffect๋ ์ฌ์ด๋ ์ดํํธ๋ฅผ ์ฒ๋ฆฌํฉ๋๋ค.",
type: "episodic",
tags: ["react", "hooks", "javascript"],
importance: 0.8
}
});
const results = await client.callTool({
name: "recall",
arguments: {
query: "React Hook์ ์ด๋ป๊ฒ ์ฌ์ฉํ๋์?",
limit: 5
}
});
๋ ๋ง์ ์ฐ๊ฒฐ ๋ฐฉ์(MCP SDK, @jee1/memento-client, ์ธ๋ถ ๋น์ SDK)์ docs/README.md์ docs/integrations/๋ฅผ ์ฐธ๊ณ ํด ์ฃผ์ธ์.
working ยท episodic ยท semantic ยท proceduralprocedural_diff / procedural_rollback/dashboard์์ ์ฌ๋ ํธ์ด ๊ฐ์ฅ ์์ ํ๋ฉฐ, /graph๋ฅผ ์ง์ ์ด์ด๋ ๋์ผํ /auth/session ๊ธฐ๋ฐ ์ฌ์ธ์ฆ ํจ๋๋ก ์ธ์
์ ์์ํ๊ฑฐ๋ ๋ณต๊ตฌํ ์ ์์ต๋๋ค.๋ง๊ฐ TTLยท์๋ฒ ๋ฉยท๋ณด์ ๋ฑ ์ค์ ๊ฐ์ README์ ์ซ์๋ฅผ ๋์ง ์์ต๋๋ค. env.example๊ฐ ๊ธฐ์ค์ ๋๋ค.
HTTP ์๋ฒ๋ ๋ธ๋ผ์ฐ์ ์ธ์
๊ณผ ํค๋ ๊ธฐ๋ฐ ์ ๋ขฐ ๊ฒฝ๊ณ๋ฅผ ๋ถ๋ฆฌํฉ๋๋ค. /auth/session์ ์ฟ ํค ๊ธฐ๋ฐ ๋ธ๋ผ์ฐ์ ์ธ์
์ ์์ํ๊ณ , /admin๊ณผ /api๋ ๋ธ๋ผ์ฐ์ ์ธ์
์ด ํ์ํ๋ฉฐ, /api/v1/quality, /api/v1/maintenance, /tools, /mcp๋ Authorization: Bearer ๋๋ X-API-Key๊ฐ ํ์ํฉ๋๋ค. ์์ธํ ๋ด์ฉ: docs/reference/ko/security.md.
HTTP ์ ์ฉ (MCP์ ์์): restore_anchors, migrate_embeddings, convert_episodic_to_semantic, get_meta_memory_stats โ HTTP ๊ด๋ฆฌ API ์ฐธ์กฐ.
์ฐธ๊ณ : ๋๊ตฌ 22๊ฐ๊ฐ ๋ฑ๋ก๋์ด ์๊ณ ,
tools/list๋ ๊ธฐ๋ณธ 4๊ฐ๋ง ๋ ธ์ถํฉ๋๋ค(MEMENTO_TOOLSET=full๋ก ์ ์ฒด). ์ด์ยท๊ด๋ฆฌ ๊ธฐ๋ฅ์ HTTP API๋ก๋ง ์ ๊ณตํฉ๋๋ค.
/auth/session ์ฟ ํค ์ธ์
, /adminยท/api ๋ธ๋ผ์ฐ์ ์ธ์
์๊ตฌ, /toolsยท/mcp๋ Bearer/API-Key ์๊ตฌ).๊ธฐ์ฌ๋ CONTRIBUTING.md๋ฅผ ๋ฐ๋ผ ์ฃผ์ธ์. ๋ผ์ด์ ์ค๋ MIT์ ๋๋ค.
Source-derived launch command. Check the maintainerโs required arguments and credentials before running:
npx -y memento-mcp-serverMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-jee1-memento-mcp-server": {
"command": "npx",
"args": [
"-y",
"memento-mcp-server"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the clientโs tool list, then try a read-only example from its documentation.
Claude Desktop setup referenceMemento works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.