{"_id":"@nhatnguyen9317/memory-mcp-server","_rev":"10-d54f5db7690d303baed6bbe0383e8b16","name":"@nhatnguyen9317/memory-mcp-server","dist-tags":{"latest":"1.4.1"},"versions":{"1.1.1":{"name":"@nhatnguyen9317/memory-mcp-server","version":"1.1.1","_id":"@nhatnguyen9317/memory-mcp-server@1.1.1","maintainers":[{"name":"nhatnguyen9317","email":"ngquocnhat9317@gmail.com"}],"bin":{"memory-mcp-server":"dist/index.js"},"dist":{"shasum":"64f5810d5e656514ef8421ee36327263c9523035","tarball":"https://registry.npmjs.org/@nhatnguyen9317/memory-mcp-server/-/memory-mcp-server-1.1.1.tgz","fileCount":19,"integrity":"sha512-GGCZLE2edkHIftf9/SPM90ZPgT+vHUQq5l2M0oSPuDDg5mKvn29cmWqHq6G1W+Bh606t7Smhz8cQCVmxR68mKw==","signatures":[{"sig":"MEYCIQDS2bjONHQkXTFVddSmYiDazHuM6zw7SLIVbO9KC0G4wwIhAKaGPw7u5N+iuScsQ0gzd+T71pDubD7CfRdiqh2Xkkdv","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":125992},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22.5.0"},"gitHead":"7a5e6dae6f85bd3da2ddee11a9da5a9a2e0124bd","scripts":{"dev":"tsx watch src/index.ts","test":"npm run build && node --test dist/__tests__/*.test.js","build":"tsc && node -e \"require('fs').chmodSync('dist/index.js','755')\"","clean":"rm -rf dist","start":"node dist/index.js"},"_npmUser":{"name":"nhatnguyen9317","email":"ngquocnhat9317@gmail.com"},"_npmVersion":"10.9.8","description":"MCP server for persisting agent long-term memory and step-by-step reasoning traces in SQLite","directories":{},"_nodeVersion":"22.22.3","dependencies":{"zod":"^3.23.8","@modelcontextprotocol/sdk":"^1.6.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","typescript":"^5.7.2","@types/node":"^22.10.0"},"_npmOperationalInternal":{"tmp":"tmp/memory-mcp-server_1.1.1_1783484513325_0.8437005249403267","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@nhatnguyen9317/memory-mcp-server","version":"1.1.2","license":"MIT","_id":"@nhatnguyen9317/memory-mcp-server@1.1.2","maintainers":[{"name":"nhatnguyen9317","email":"ngquocnhat9317@gmail.com"}],"bin":{"memory-mcp-server":"dist/index.js"},"dist":{"shasum":"f10045a74881e0bf1aba97f303625b41fae89f1b","tarball":"https://registry.npmjs.org/@nhatnguyen9317/memory-mcp-server/-/memory-mcp-server-1.1.2.tgz","fileCount":20,"integrity":"sha512-M8LTqD3XtCqH2pVLYOJT2g0b40DOYPAKMxqfaTmJrQbwYMeh/wSNgrjH4wLRoID7zIKZi1HWR2rBueEuZABxuw==","signatures":[{"sig":"MEUCIQD3xwoVxTZ+CXR6rwUk3bQl7pLGMrbloc+ARnGUiryARwIgL3I6tu2Z1/QhEVJ0A+D+Or86L+Z47ifmgiDBZy8y4Fc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":127081},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22.5.0"},"gitHead":"7a5e6dae6f85bd3da2ddee11a9da5a9a2e0124bd","scripts":{"dev":"tsx watch src/index.ts","test":"npm run build && node --test dist/__tests__/*.test.js","build":"tsc && node -e \"require('fs').chmodSync('dist/index.js','755')\"","clean":"rm -rf dist","start":"node dist/index.js"},"_npmUser":{"name":"nhatnguyen9317","email":"ngquocnhat9317@gmail.com"},"_npmVersion":"10.9.8","description":"MCP server for persisting agent long-term memory and step-by-step reasoning traces in SQLite","directories":{},"_nodeVersion":"22.22.3","dependencies":{"zod":"^3.23.8","@modelcontextprotocol/sdk":"^1.6.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","typescript":"^5.7.2","@types/node":"^22.10.0"},"_npmOperationalInternal":{"tmp":"tmp/memory-mcp-server_1.1.2_1783485097242_0.9531971772018044","host":"s3://npm-registry-packages-npm-production"}},"1.1.5":{"name":"@nhatnguyen9317/memory-mcp-server","version":"1.1.5","license":"MIT","_id":"@nhatnguyen9317/memory-mcp-server@1.1.5","maintainers":[{"name":"nhatnguyen9317","email":"ngquocnhat9317@gmail.com"}],"bin":{"memory-mcp-server":"dist/index.js"},"dist":{"shasum":"35793532b26faa22f0c5410f2877b2f1fa4ce201","tarball":"https://registry.npmjs.org/@nhatnguyen9317/memory-mcp-server/-/memory-mcp-server-1.1.5.tgz","fileCount":20,"integrity":"sha512-9pfMgZ3z2HUQ8VuqaVzk9Kh1ZG83dvKePEI6XuhFScRt6pR1To/uTixUBMMxKBO4pBMWZqAhsFieizEq0VDJkg==","signatures":[{"sig":"MEUCIHjd4khW+CcUdhnVCxKiqAOoBHWascXs8ALCCH2joewxAiEAqIlKtPjdv7NJ3mOGwddt7uPB80ockLUMJlFpzVMbBbQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":127081},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22.5.0"},"gitHead":"7a5e6dae6f85bd3da2ddee11a9da5a9a2e0124bd","scripts":{"dev":"tsx watch src/index.ts","test":"npm run build && node --test dist/__tests__/*.test.js","build":"tsc && node -e \"require('fs').chmodSync('dist/index.js','755')\"","clean":"rm -rf dist","start":"node dist/index.js"},"_npmUser":{"name":"nhatnguyen9317","email":"ngquocnhat9317@gmail.com"},"_npmVersion":"10.9.8","description":"MCP server for persisting agent long-term memory and step-by-step reasoning traces in SQLite","directories":{},"_nodeVersion":"22.22.3","dependencies":{"zod":"^3.23.8","@modelcontextprotocol/sdk":"^1.6.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","typescript":"^5.7.2","@types/node":"^22.10.0"},"_npmOperationalInternal":{"tmp":"tmp/memory-mcp-server_1.1.5_1783485181374_0.8286845334494182","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@nhatnguyen9317/memory-mcp-server","version":"1.2.0","license":"MIT","_id":"@nhatnguyen9317/memory-mcp-server@1.2.0","maintainers":[{"name":"nhatnguyen9317","email":"ngquocnhat9317@gmail.com"}],"bin":{"memory-mcp-server":"dist/index.js"},"dist":{"shasum":"5a4ef41e3a88085db986683f8d824e3b36fb177c","tarball":"https://registry.npmjs.org/@nhatnguyen9317/memory-mcp-server/-/memory-mcp-server-1.2.0.tgz","fileCount":21,"integrity":"sha512-D1cV6HhPbugQ7d5r7KHkpj1/ZRXayv5PuFWXPBKxM8j+Dz1XLOZ28FChWGEq+YoUx5Wg9m1BZkzYd5so8SD/Uw==","signatures":[{"sig":"MEUCIQCxInCgis5DlfvHHpTNQ+4znH3Z89rGoa6FwRIe1HHZCAIgCq6jevRf8zm3/MgBkoAOUOWx2QUO9loUnazIaBtAcUI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":138073},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22.5.0"},"gitHead":"9f609f1ffd3dcdd60cc4d51ed1e496796dad3b80","scripts":{"dev":"tsx watch src/index.ts","test":"npm run build && node --test dist/__tests__/*.test.js","build":"tsc && node -e \"require('fs').chmodSync('dist/index.js','755')\"","clean":"rm -rf dist","start":"node dist/index.js"},"_npmUser":{"name":"nhatnguyen9317","email":"ngquocnhat9317@gmail.com"},"_npmVersion":"10.9.8","description":"MCP server for persisting agent long-term memory and step-by-step reasoning traces in SQLite","directories":{},"_nodeVersion":"22.22.3","dependencies":{"zod":"^3.23.8","@modelcontextprotocol/sdk":"^1.6.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","typescript":"^5.7.2","@types/node":"^22.10.0"},"_npmOperationalInternal":{"tmp":"tmp/memory-mcp-server_1.2.0_1783701667232_0.3184384314536841","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@nhatnguyen9317/memory-mcp-server","version":"1.3.0","keywords":["mcp","model-context-protocol","mcp-server","memory","agent-memory","long-term-memory","reasoning-trace","claude","codex","sqlite"],"license":"MIT","_id":"@nhatnguyen9317/memory-mcp-server@1.3.0","maintainers":[{"name":"nhatnguyen9317","email":"ngquocnhat9317@gmail.com"}],"bin":{"memory-mcp-server":"dist/index.js"},"dist":{"shasum":"a7584b1d85c127787b716fb4030f186ff6c30b69","tarball":"https://registry.npmjs.org/@nhatnguyen9317/memory-mcp-server/-/memory-mcp-server-1.3.0.tgz","fileCount":22,"integrity":"sha512-b6Jie6E1C1ZZ3LWmTXcMiIVThAXZgEM99YITlaLwUrWaZfANS5dfYZ5Lcs5jsNEK5FB/6wdpF1xbG5FQ0OOpoA==","signatures":[{"sig":"MEUCIQCtJNbDWDqkkOkMxv3NlFAiMSQuM7pRTFSzAq6XnYlAGgIgdoN+TNEUX0f7fYu9kjqo/L6kCNh+xOYIouEUQhAIgDs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":162704},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22.5.0"},"gitHead":"d8fdb60509150a32ecb884ded9842205a3afcc17","scripts":{"dev":"tsx watch src/index.ts","test":"npm run build && MEMORY_TELEMETRY=on node --test dist/__tests__/*.test.js","build":"tsc && node -e \"require('fs').chmodSync('dist/index.js','755')\"","clean":"rm -rf dist","start":"node dist/index.js"},"_npmUser":{"name":"nhatnguyen9317","email":"ngquocnhat9317@gmail.com"},"_npmVersion":"10.9.8","description":"MCP server for persisting agent long-term memory and step-by-step reasoning traces in SQLite","directories":{},"_nodeVersion":"22.22.3","dependencies":{"zod":"^3.23.8","@modelcontextprotocol/sdk":"^1.6.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","typescript":"^5.7.2","@types/node":"^22.10.0"},"_npmOperationalInternal":{"tmp":"tmp/memory-mcp-server_1.3.0_1783855457684_0.5612369048293036","host":"s3://npm-registry-packages-npm-production"}},"1.3.1":{"name":"@nhatnguyen9317/memory-mcp-server","version":"1.3.1","keywords":["mcp","model-context-protocol","mcp-server","memory","agent-memory","long-term-memory","reasoning-trace","claude","codex","sqlite"],"license":"MIT","_id":"@nhatnguyen9317/memory-mcp-server@1.3.1","maintainers":[{"name":"nhatnguyen9317","email":"ngquocnhat9317@gmail.com"}],"homepage":"https://github.com/ngquocnhat9317/memory-mcp-server/blob/master/README.md","bugs":{"url":"https://github.com/ngquocnhat9317/memory-mcp-server/issues"},"bin":{"memory-mcp-server":"dist/index.js"},"dist":{"shasum":"c829397ab9d1f8d8b07c33e0aae6a3da77a24325","tarball":"https://registry.npmjs.org/@nhatnguyen9317/memory-mcp-server/-/memory-mcp-server-1.3.1.tgz","fileCount":24,"integrity":"sha512-C2yel5IvXcYFLRPBlqNcExXkIBJmhdN2ffVidzlnNIW4MGtGu+4U6hepI8dQr0N9SpCQIJpqACxoqkXhEC84TQ==","signatures":[{"sig":"MEYCIQCjQ8XNluVnofGWkXalnpM5Ayco0zWBr8XcXeSpJ1mzCwIhAI8VHZ2NpeMs3gv39posxv7CQr0a9252udOPQgqmqo/n","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":169867},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22.5.0"},"gitHead":"a4fafeb9258cd672846e09b82791be0af9735e56","scripts":{"dev":"tsx watch src/index.ts","test":"npm run build && MEMORY_TELEMETRY=on node --test dist/__tests__/*.test.js","build":"tsc && node -e \"require('fs').chmodSync('dist/index.js','755')\"","clean":"rm -rf dist","start":"node dist/index.js"},"_npmUser":{"name":"nhatnguyen9317","email":"ngquocnhat9317@gmail.com"},"repository":{"url":"git+https://github.com/ngquocnhat9317/memory-mcp-server.git","type":"git"},"_npmVersion":"10.9.8","description":"MCP server for persisting agent long-term memory and step-by-step reasoning traces in SQLite","directories":{},"_nodeVersion":"22.23.1","dependencies":{"zod":"^3.23.8","@modelcontextprotocol/sdk":"^1.6.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","typescript":"^5.7.2","@types/node":"^22.10.0"},"_npmOperationalInternal":{"tmp":"tmp/memory-mcp-server_1.3.1_1784129958176_0.8043147642113226","host":"s3://npm-registry-packages-npm-production"}},"1.3.2":{"name":"@nhatnguyen9317/memory-mcp-server","version":"1.3.2","keywords":["mcp","model-context-protocol","mcp-server","memory","agent-memory","long-term-memory","reasoning-trace","claude","codex","sqlite"],"license":"MIT","_id":"@nhatnguyen9317/memory-mcp-server@1.3.2","maintainers":[{"name":"nhatnguyen9317","email":"ngquocnhat9317@gmail.com"}],"homepage":"https://github.com/ngquocnhat9317/memory-mcp-server/blob/master/README.md","bugs":{"url":"https://github.com/ngquocnhat9317/memory-mcp-server/issues"},"bin":{"memory-mcp-server":"dist/index.js"},"dist":{"shasum":"e9fcc901b76a5524b70b36f0c222084c87a32724","tarball":"https://registry.npmjs.org/@nhatnguyen9317/memory-mcp-server/-/memory-mcp-server-1.3.2.tgz","fileCount":24,"integrity":"sha512-34VzcsDosejJi0rQkAMQj2Y5hBsnWNaiABAjgMt83Tm98q61AySXD53BBP2tK/6wPW9qpFswE1dEx5AcTkLtgA==","signatures":[{"sig":"MEUCIBcoJCxnM9d3sbJPootMEeZeQCw3m5dw/LKbveCxTRWvAiEA5qt6DVhQkn3SbGP0ijkgQAfgSdAmQUjYCHrwEyTcyVQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":177965},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22.5.0"},"gitHead":"6a6f480858e3bcaa85b0318a24a76474469c277c","scripts":{"dev":"tsx watch src/index.ts","test":"npm run build && MEMORY_TELEMETRY=on node --test dist/__tests__/*.test.js","build":"tsc && node -e \"require('fs').chmodSync('dist/index.js','755')\"","clean":"rm -rf dist","start":"node dist/index.js"},"_npmUser":{"name":"nhatnguyen9317","email":"ngquocnhat9317@gmail.com"},"repository":{"url":"git+https://github.com/ngquocnhat9317/memory-mcp-server.git","type":"git"},"_npmVersion":"10.9.8","description":"MCP server for persisting agent long-term memory and step-by-step reasoning traces in SQLite","directories":{},"_nodeVersion":"22.23.1","dependencies":{"zod":"^3.23.8","@modelcontextprotocol/sdk":"^1.6.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","typescript":"^5.7.2","@types/node":"^22.10.0"},"_npmOperationalInternal":{"tmp":"tmp/memory-mcp-server_1.3.2_1784388542110_0.0959586498019982","host":"s3://npm-registry-packages-npm-production"}},"1.3.3":{"name":"@nhatnguyen9317/memory-mcp-server","version":"1.3.3","keywords":["mcp","model-context-protocol","mcp-server","memory","agent-memory","long-term-memory","reasoning-trace","claude","codex","sqlite"],"license":"MIT","_id":"@nhatnguyen9317/memory-mcp-server@1.3.3","maintainers":[{"name":"nhatnguyen9317","email":"ngquocnhat9317@gmail.com"}],"homepage":"https://github.com/ngquocnhat9317/memory-mcp-server/blob/master/README.md","bugs":{"url":"https://github.com/ngquocnhat9317/memory-mcp-server/issues"},"bin":{"memory-mcp-server":"dist/index.js"},"dist":{"shasum":"93ec553b0a3baacb3acfb02400fd884736229569","tarball":"https://registry.npmjs.org/@nhatnguyen9317/memory-mcp-server/-/memory-mcp-server-1.3.3.tgz","fileCount":25,"integrity":"sha512-8ptlO7lUG3bdS3SVMAvDT2TL1mrRrpSYmcXwi3BtPRx3ndNHMzhKD7eXkp9kLgEcwkdh8E44M0nv51DUt/l4GQ==","signatures":[{"sig":"MEYCIQCKXGW1r/JG57cEo1leI5v5GXb58LCBOY34oRD6lzdWuQIhAOu7o6i+THN3/9xqK6fV+uZxW8LQ1nsRl6AzXS1WOUGv","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIDx1VDYXsJYpOcQKKidig8FY8JOTEFMU1BYoxSEgFflVAiA8/JzDTAF1y3NnaLxpoBGf7H64ROruaTRwRLtwWlfZWQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@nhatnguyen9317%2fmemory-mcp-server@1.3.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":191592},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22.5.0"},"gitHead":"a2c4ddd2daa2052f056355de1346b20e9fe97dab","scripts":{"dev":"tsx watch src/index.ts","test":"npm run build && MEMORY_TELEMETRY=on node --test dist/__tests__/*.test.js","build":"tsc && node -e \"require('fs').chmodSync('dist/index.js','755')\"","clean":"rm -rf dist","start":"node dist/index.js"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"dc7dcd08-262f-4847-8019-5d7c636c5f5d"}},"repository":{"url":"git+https://github.com/ngquocnhat9317/memory-mcp-server.git","type":"git"},"_npmVersion":"11.21.0","description":"MCP server for persisting agent long-term memory and step-by-step reasoning traces in SQLite","directories":{},"_nodeVersion":"22.23.3","dependencies":{"zod":"^3.23.8","@modelcontextprotocol/sdk":"^1.6.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","typescript":"^5.7.2","@types/node":"^22.10.0"},"_npmOperationalInternal":{"tmp":"tmp/memory-mcp-server_1.3.3_1791213244554_0.6384290546861311","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"@nhatnguyen9317/memory-mcp-server","version":"1.4.0","keywords":["mcp","model-context-protocol","mcp-server","memory","agent-memory","long-term-memory","reasoning-trace","claude","codex","sqlite"],"license":"MIT","_id":"@nhatnguyen9317/memory-mcp-server@1.4.0","maintainers":[{"name":"nhatnguyen9317","email":"ngquocnhat9317@gmail.com"}],"homepage":"https://github.com/ngquocnhat9317/memory-mcp-server/blob/master/README.md","bugs":{"url":"https://github.com/ngquocnhat9317/memory-mcp-server/issues"},"bin":{"memory-mcp-server":"dist/index.js"},"dist":{"shasum":"bf03101573838c8b356bba4e242ddb49afa785c4","tarball":"https://registry.npmjs.org/@nhatnguyen9317/memory-mcp-server/-/memory-mcp-server-1.4.0.tgz","fileCount":27,"integrity":"sha512-GG7T/bSgYWjzhbr8vGYXTQWo669ifOq13v34dut3e+i9R1WWzFQ4x7eLHuBwU4rlVXrHV3KE84ouY4JtFM8JoA==","signatures":[{"sig":"MEYCIQDUzn1qhzKOc22eyf748LL0jky/LdtMeLilin9gOcm1RAIhALqeUPm6E6CndTKrO2Pz37uCOAddXxjWWvcIGC6GxpJ6","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIAiBNYApFRCRqgXAKnrW0jptO1kKRO/Ec+muzXwasvvIAiEAkU5LQpVRErDGpk4kh+If539Xvfa3pRqp2mzBO2f3Psk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@nhatnguyen9317%2fmemory-mcp-server@1.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":146191},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22.5.0"},"gitHead":"967ff2c1627062df88b0fa6c41038c9323978c36","scripts":{"dev":"tsx watch src/index.ts","test":"npm run build && MEMORY_TELEMETRY=on node --test dist/__tests__/*.test.js","build":"tsc && node -e \"require('fs').chmodSync('dist/index.js','755')\"","clean":"rm -rf dist","start":"node dist/index.js"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"dc7dcd08-262f-4847-8019-5d7c636c5f5d"}},"repository":{"url":"git+https://github.com/ngquocnhat9317/memory-mcp-server.git","type":"git"},"_npmVersion":"11.21.0","description":"MCP server for persisting agent long-term memory and step-by-step reasoning traces in SQLite","directories":{},"_nodeVersion":"22.23.3","dependencies":{"zod":"^3.23.8","@modelcontextprotocol/sdk":"^1.6.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","typescript":"^5.7.2","@types/node":"^22.10.0"},"_npmOperationalInternal":{"tmp":"tmp/memory-mcp-server_1.4.0_1791353727624_0.3767570401641629","host":"s3://npm-registry-packages-npm-production"}},"1.4.1":{"_id":"@nhatnguyen9317/memory-mcp-server@1.4.1","bin":{"memory-mcp-server":"dist/index.js"},"bugs":{"url":"https://github.com/ngquocnhat9317/memory-mcp-server/issues"},"dist":{"shasum":"8308788f8551f400ab7f346c898f70631dea63b7","tarball":"https://registry.npmjs.org/@nhatnguyen9317/memory-mcp-server/-/memory-mcp-server-1.4.1.tgz","fileCount":27,"integrity":"sha512-F7/VboGoxXZ8MlluY2FqCE4mXycIPc2oHsF706u2xjkIq9kEq2Mj/YzTKC1ZVnjPwZFyhoZJgGjqO5376j37ww==","signatures":[{"sig":"MEYCIQCjCLcokq4xZQF4YnUCobSv/pEkgHVjbBHOKsDubB/PAAIhAOEtos92RQnsdGwooDEbiIolFdYMdSYid7M89b3l5PxE","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDynGVWqKTrtqfYUO/7f4b38RgNPhL6DwWlmhbitoPp/QIhAP4SDAl7zwf2os2kNbbfu2cjS8I8IQ0BdQQTVXmYmqdy"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@nhatnguyen9317%2fmemory-mcp-server@1.4.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":147960},"main":"dist/index.js","name":"@nhatnguyen9317/memory-mcp-server","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22.5.0"},"gitHead":"6920b6e7c216b809507f24a32d8d8b28b68b0c0e","license":"MIT","scripts":{"dev":"tsx watch src/index.ts","test":"npm run build && MEMORY_TELEMETRY=on node --test dist/__tests__/*.test.js","build":"tsc && node -e \"require('fs').chmodSync('dist/index.js','755')\"","clean":"rm -rf dist","start":"node dist/index.js"},"version":"1.4.1","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"dc7dcd08-262f-4847-8019-5d7c636c5f5d"}},"homepage":"https://github.com/ngquocnhat9317/memory-mcp-server/blob/master/README.md","keywords":["mcp","model-context-protocol","mcp-server","memory","agent-memory","long-term-memory","reasoning-trace","claude","codex","sqlite"],"repository":{"url":"git+https://github.com/ngquocnhat9317/memory-mcp-server.git","type":"git"},"_npmVersion":"11.21.2","description":"MCP server for persisting agent long-term memory and step-by-step reasoning traces in SQLite","directories":{},"maintainers":[{"name":"nhatnguyen9317","email":"ngquocnhat9317@gmail.com"}],"_nodeVersion":"22.23.4","dependencies":{"zod":"^3.23.8","@modelcontextprotocol/sdk":"^1.6.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","typescript":"^5.7.2","@types/node":"^22.10.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/memory-mcp-server_1.4.1_1794804450723_0.7873012541078678"}}},"time":{"created":"2026-07-08T04:21:53.147Z","modified":"2026-11-16T04:47:31.123Z","1.1.1":"2026-07-08T04:21:53.483Z","1.1.2":"2026-07-08T04:31:37.400Z","1.1.5":"2026-07-08T04:33:01.521Z","1.2.0":"2026-07-10T16:41:07.387Z","1.3.0":"2026-07-12T11:24:17.817Z","1.3.1":"2026-07-15T15:39:18.342Z","1.3.2":"2026-07-18T15:29:02.249Z","1.3.3":"2026-10-05T15:14:04.645Z","1.4.0":"2026-10-07T06:15:27.713Z","1.4.1":"2026-11-16T04:47:30.833Z"},"bugs":{"url":"https://github.com/ngquocnhat9317/memory-mcp-server/issues"},"license":"MIT","homepage":"https://github.com/ngquocnhat9317/memory-mcp-server/blob/master/README.md","keywords":["mcp","model-context-protocol","mcp-server","memory","agent-memory","long-term-memory","reasoning-trace","claude","codex","sqlite"],"repository":{"url":"git+https://github.com/ngquocnhat9317/memory-mcp-server.git","type":"git"},"description":"MCP server for persisting agent long-term memory and step-by-step reasoning traces in SQLite","maintainers":[{"name":"nhatnguyen9317","email":"ngquocnhat9317@gmail.com"}],"readme":"# memory-mcp-server\n\n[![npm version](https://img.shields.io/npm/v/%40nhatnguyen9317%2Fmemory-mcp-server)](https://www.npmjs.com/package/@nhatnguyen9317/memory-mcp-server)\n[![CI](https://github.com/ngquocnhat9317/memory-mcp-server/actions/workflows/ci.yml/badge.svg)](https://github.com/ngquocnhat9317/memory-mcp-server/actions/workflows/ci.yml)\n[![license: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)\n[![node >= 22.5](https://img.shields.io/badge/node-%3E%3D22.5-brightgreen)](#requirements)\n\n**Memory that runs itself** — your agent remembers past work without being\ntold, and you maintain nothing.\n\nLong-term memory and reasoning traces for AI agents.\n\n- **Durable memory** across tasks and sessions (SQLite + full-text search)\n- **Reasoning traces**: per-task step-by-step records you can search\n- **Auto-recall**: starting a session automatically surfaces related memories\n- **Self-cleaning**: stale sessions are auto-abandoned instead of piling up\n\nRuns over stdio. Local only, no network service, no native addon build.\n\n## What it feels like\n\n**Session 1 — Tuesday.** Your agent debugs a flaky checkout test and closes its\nreasoning session:\n\n```\nreasoning_complete_session\n  conclusion: \"checkout retry logic must reopen the connection before retrying\"\n  save_as_memory: true\n→ memory mem_a1b2… saved\n```\n\n**Session 2 — Friday, fresh context, nobody mentions Tuesday.** The agent starts\na related task:\n\n```\nreasoning_start_session  title: \"checkout intermittently times out under load\"\n→ related_memories: [\n    {\n      snippet: \"checkout retry logic must reopen the connection before retrying\",\n      source: { session_title: \"diagnose flaky checkout retry logic\",\n                session_id: \"sess_9f3c…\", created_at: \"…Tue…\" }\n    }\n  ]\n```\n\nNo one asked it to search. The Tuesday conclusion surfaces on its own, with its\norigin attached — and `reasoning_find(source.session_id)` replays exactly how it was reached.\n\n## Why this one?\n\nMost memory servers store what you save and hope the agent remembers to search.\nIn practice agents don't: they write memories nobody ever reads. This server\nmakes the right behavior the default behavior:\n\n| | typical memory MCP | this server |\n| --- | --- | --- |\n| Recall | agent must remember to search | server auto-recalls related memories at session start |\n| Reasoning traces | — | first-class sessions with steps, searchable later with `reasoning_find` |\n| Stale state | grows forever | stale sessions auto-abandoned (configurable TTL) |\n\nFor operators, an opt-in telemetry layer (`MEMORY_TELEMETRY=on`) records diagnostics events locally in `tool_usage_events` for SQL inspection. If you run a single agent for yourself, you can ignore it — everything above works without it.\n\n## Quick Install\n\n### Claude Code\n\n```bash\nclaude mcp add memory -- npx -y @nhatnguyen9317/memory-mcp-server\n```\n\n### Claude Desktop / Cursor / Antigravity (JSON config)\n\n```json\n{\n  \"mcpServers\": {\n    \"memory\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@nhatnguyen9317/memory-mcp-server\"]\n    }\n  }\n}\n```\n\nOptionally pin the database location with `\"env\": {\"MEMORY_DB_PATH\": \"/path/to/memory.db\"}`\n(default: `~/.memory-mcp-server/memory.db`).\n\n### Codex CLI (TOML config)\n\nAdd to `~/.codex/config.toml`:\n\n```toml\n[mcp_servers.memory]\nenabled = true\ncommand = \"npx\"\nargs = [\"-y\", \"@nhatnguyen9317/memory-mcp-server\"]\n```\n\nVerify the connection by calling a cheap read-only tool such as `get_usage_guide`\nor `memory_search`.\n\n## Requirements\n\n- Node.js `>= 22.5.0` (for the built-in `node:sqlite` — no native addon build)\n\n> Note: `node:sqlite` is still an experimental Node.js API on Node 22. The server\n> works reliably, but Node prints an `ExperimentalWarning` to stderr on startup,\n> and the API surface may change between Node releases.\n\n## How it works\n\n1. **Task start** — the agent calls `reasoning_start_session`. The server\n   full-text-searches the title against saved memories and returns\n   `related_memories` in the response — ranked by relevance, workspace and\n   recency; other projects' memories only when they match nearly the whole\n   title; nothing returned when nothing is relevant — warns about\n   still-open sessions, and auto-abandons stale ones\n   (`MEMORY_SESSION_TTL_HOURS`, default 24).\n2. **During the task** — the agent logs decisions and observations with\n   `reasoning_add_step` (single, or up to 20 steps per call in batch mode),\n   so later sessions can recover the work with `reasoning_find`.\n3. **Task end** — `reasoning_complete_session` records the conclusion,\n   optionally saves it as durable memory, and accepts `used_memory_ids` so the\n   server learns which recalled memories actually helped. This usage feedback\n   is a local learning signal and is always recorded, regardless of the\n   telemetry setting.\n\nAgents learn the rules at runtime by calling `get_usage_guide`, which returns\nthe versioned [GUIDELINES.md](./GUIDELINES.md).\n\n## Configuration\n\n| Env var | Default | Purpose |\n| --- | --- | --- |\n| `MEMORY_DB_PATH` | `~/.memory-mcp-server/memory.db` | SQLite database location |\n| `MEMORY_SESSION_TTL_HOURS` | `24` | Auto-abandon in_progress sessions older than this (`0` disables) |\n| `MEMORY_AUTO_RECALL_LIMIT` | `3` | Max related memories returned at session start (`0` disables) |\n| `MEMORY_WORKSPACE` | current working directory | Pins the workspace identity stamped on saved memories and used at recall time. Default: the server's working directory — but `/` and your home directory count as \"unknown project\". Agents should pass `workspace` (their project path) to `reasoning_start_session`; that overrides this |\n| `MEMORY_TELEMETRY` | `off` | Set `on` to record diagnostics events locally (searches, saves, recalls, latency) for SQL inspection. Usage feedback (`used_memory_ids`, `memory_record_usage_feedback`) is a learning signal, not diagnostics: it is always recorded locally, with this flag on or off |\n\n### Shared vs project-scoped memory\n\n- **Shared** (default path): one agent persona accumulates knowledge across all\n  projects. Since v1.3.0 the shared store is workspace-aware by default:\n  memories are stamped with the workspace they were saved from, and recall\n  softly prefers the current workspace — cross-project memories still surface\n  when they match strongly (that's the point of a shared store), but they no\n  longer crowd out local ones. Since v1.3.3 an explicit `workspace` argument\n  is honored, `/` and the home directory are treated as unknown, and\n  memories from other projects are recalled only on a near-complete title\n  match (user preferences excepted). Since v1.4.1, when the session knows\n  its workspace, memories with an unknown (`NULL`) workspace also need\n  that strong match: at least `max(2, ceil(0.75 * N))` of the distinct title\n  terms. A one-term title cannot recall unknown-project non-preference\n  memories; two terms require both. Home memories and preferences retain\n  the base floor (one match for fewer than three terms, otherwise two).\n  If the session's workspace is unknown, that base floor still applies to\n  everyone. Manual `memory_search` / `memory_get` remain available.\n- **Project-scoped**: point `MEMORY_DB_PATH` at a file inside the project\n  (e.g. `.memory/project-memory.db`) for hard isolation per repository or\n  customer.\n\n## Teaching your agent to use it\n\nThe runtime agent never reads this README — it only sees tool names, schemas,\nand whatever it can call. The reliable pattern:\n\n1. Install the MCP (above).\n2. Paste a short snippet into your own repo's `AGENTS.md` / client prompt —\n   or install it into your **global** Claude Code / Codex CLI config\n   automatically:\n\n   ```bash\n   # after installing the package (above)\n   npx @nhatnguyen9317/memory-mcp-server install-agents\n\n   # or, without installing anything first\n   curl -fsSL https://raw.githubusercontent.com/ngquocnhat9317/memory-mcp-server/master/scripts/install-agent-snippet.sh | bash\n   ```\n\n   Both are idempotent (safe to re-run) and back up any file they touch to\n   `<path>.bak` first.\n\n```md\n<!-- MEMORY_MCP_SERVER_START -->\n## Memory MCP Server\n\n**Hard gate — before anything else, every session, no exceptions:** if\n`memory_*` / `reasoning_*` tools are listed (even deferred/lazy-loaded — load\nthem first, don't skip because schemas aren't visible yet), call\n`get_usage_guide` and follow it. Do this unconditionally, before judging\nwhether the task looks like it needs memory.\n\n| Thought | Reality |\n| --- | --- |\n| \"This task looks simple\" | Check first, decide after — the guide says what counts as trivial |\n| \"Tools aren't loaded yet\" | Load them, don't skip the gate |\n| \"I'll search directly instead\" | `get_usage_guide` first — it defines when search vs. a reasoning session applies |\n\n- Non-trivial task (multi-step, debugging, planning, trade-offs)?\n  `reasoning_start_session` first — review the `related_memories` it\n  returns before working; if one carries a `source`, read that session\n  with `reasoning_find(session_id)`. When the user refers to earlier work\n  you don't have, `reasoning_find(query)` finds it.\n- Log steps with `reasoning_add_step` (batch mode is fine): what you\n  checked, what you found, what you decided and why.\n- Always close with `reasoning_complete_session`; report helpful memories via\n  `used_memory_ids`; pass `save_as_memory=true` for durable conclusions.\n- Never store secrets, tokens, or raw sensitive data.\n<!-- MEMORY_MCP_SERVER_END -->\n```\n\n## Tool Surface\n\n### Memory tools\n\n| Tool | Purpose |\n| --- | --- |\n| `memory_search` | Search memory content and tags |\n| `memory_get` | Fetch one memory by id |\n| `memory_update` | Update an existing memory |\n| `memory_record_usage_feedback` | Record whether recalled memory was useful |\n| `get_usage_guide` | Return the runtime usage guide |\n\n### Reasoning tools\n\n| Tool | Purpose |\n| --- | --- |\n| `reasoning_start_session` | Open a session (auto-recall + stale cleanup) |\n| `reasoning_add_step` | Append one step or a batch of steps |\n| `reasoning_find` | Find past sessions by query, or read one session's full trace |\n| `reasoning_complete_session` | Close a session; optional memory save + usage feedback |\n\n<!-- REMOVED_1_4_0_START -->\n> Removed in 1.4.0: `memory_save`, `memory_list`, `memory_delete`,\n> `memory_usage_report`, `memory_adoption_report`, `memory_agent_scorecard`,\n> `reasoning_get_trace`, `reasoning_list_sessions`, `reasoning_search_steps`,\n> `reasoning_list_milestones`, `reasoning_get_session_outline`,\n> `reasoning_mark_step`. See `CHANGELOG.md`.\n<!-- REMOVED_1_4_0_END -->\n\n## Storage Model\n\nTables: `memories`, `reasoning_sessions`, `reasoning_steps`,\n`tool_usage_events`, `schema_migrations` — plus FTS5\nindexes `memories_fts` and `reasoning_steps_fts`.\n\nMigrations run automatically at server startup; upgrading the package never\nrequires manual schema work.\n\n## Development\n\n```bash\nnpm install\nnpm run build   # tsc -> dist/\nnpm test        # build + node --test\nnpm run dev     # tsx watch src/index.ts\n```\n\n- `src/db.ts` owns DB open and migration bootstrap\n- `src/tools/memory.ts` owns memory tool handlers\n- `src/tools/reasoning.ts` owns reasoning tool handlers\n- `src/tools/usage-guide.ts` owns `get_usage_guide`\n\nSee [CHANGELOG.md](./CHANGELOG.md) for release history.\n\n## Notes\n\n- Local stdio MCP server, not a network service\n- `agent_id` is a filtering aid, not a security boundary\n- License: MIT\n","readmeFilename":"README.md"}