{"_id":"@agentstash/mcp","_rev":"10-9b59bb8a6c7423b5c1a546ef5a518675","name":"@agentstash/mcp","dist-tags":{"latest":"0.6.0"},"versions":{"0.1.0":{"name":"@agentstash/mcp","version":"0.1.0","keywords":["mcp","claude","cursor","codex","memory","agent-stash"],"license":"MIT","_id":"@agentstash/mcp@0.1.0","maintainers":[{"name":"agentstashadmin","email":"support@agentstash.ai"}],"homepage":"https://github.com/mrusert/stash-mcp#readme","bugs":{"url":"https://github.com/mrusert/stash-mcp/issues"},"bin":{"agentstash-mcp":"src/index.js"},"dist":{"shasum":"51ba954ee63dfb97ddd030abe51328558c5aa8f1","tarball":"https://registry.npmjs.org/@agentstash/mcp/-/mcp-0.1.0.tgz","fileCount":3,"integrity":"sha512-u8fhkfGAs3MzvfAdkf+yK1YcGSNvkpD6jKT9TEVUzwLrVvpE/Tz/AUDCdqu+CkGUd+sEW/Re50xc9Is8DmcQyA==","signatures":[{"sig":"MEQCIEGYt7+Rw6WGfM16NyVAo6LHf/0U0CIYGcogChwVuFw2AiBBMQHq+ZFMdwY/CyF5gvZldf1Wl9yj421FOaYB/uZC7g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17885},"main":"src/index.js","type":"module","engines":{"node":">=18"},"gitHead":"bd3965a2e64daaee4a313c8a46121d65a667f767","scripts":{"test":"node --test src/index.test.js","start":"node src/index.js"},"_npmUser":{"name":"agentstashadmin","email":"support@agentstash.ai"},"repository":{"url":"git+https://github.com/mrusert/stash-mcp.git","type":"git"},"_npmVersion":"10.9.4","description":"MCP server for Agent Stash — shared memory for Claude Code, Cursor, and Codex","directories":{},"_nodeVersion":"22.22.0","dependencies":{"@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mcp_0.1.0_1779482020147_0.7434083497514767","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@agentstash/mcp","version":"0.1.1","keywords":["mcp","claude","cursor","codex","memory","agent-stash"],"license":"MIT","_id":"@agentstash/mcp@0.1.1","maintainers":[{"name":"agentstashadmin","email":"support@agentstash.ai"}],"homepage":"https://github.com/mrusert/stash-mcp#readme","bugs":{"url":"https://github.com/mrusert/stash-mcp/issues"},"bin":{"agentstash-mcp":"src/index.js"},"dist":{"shasum":"14d9ef18e78479d6182a4bc8abdec5b3f94df4cf","tarball":"https://registry.npmjs.org/@agentstash/mcp/-/mcp-0.1.1.tgz","fileCount":3,"integrity":"sha512-kXbq2v66ANrclK/9VeUlK0ex5EOXhaajvi2to0NOo72FZ5Ono/UCqGdyvEZtA1PUITWniz8rRq72mZBa3YedNw==","signatures":[{"sig":"MEQCIEp9Ix6s74byU4BEYKFH5jmqT8giSDH4sMv3lnN7pknFAiArVw8PLKkkCxyuPRIcgIKyXzMXSlwYWfXO6J+5c47Nbw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18286},"main":"src/index.js","type":"module","engines":{"node":">=18"},"gitHead":"c52334bc0e3fa7dfa776a684ac2ec4f4987feef2","scripts":{"test":"node --test src/index.test.js","start":"node src/index.js"},"_npmUser":{"name":"agentstashadmin","email":"support@agentstash.ai"},"repository":{"url":"git+https://github.com/mrusert/stash-mcp.git","type":"git"},"_npmVersion":"10.9.4","description":"MCP server for Agent Stash — shared memory for Claude Code, Cursor, and Codex","directories":{},"_nodeVersion":"22.22.0","dependencies":{"@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mcp_0.1.1_1779487298198_0.8803824734688845","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@agentstash/mcp","version":"0.2.0","keywords":["mcp","claude","cursor","codex","memory","agent-stash","cli"],"license":"MIT","_id":"@agentstash/mcp@0.2.0","maintainers":[{"name":"agentstashadmin","email":"support@agentstash.ai"}],"homepage":"https://github.com/mrusert/stash-mcp#readme","bugs":{"url":"https://github.com/mrusert/stash-mcp/issues"},"bin":{"agentstash":"src/cli.js","agentstash-mcp":"src/bin.js"},"dist":{"shasum":"5e22091cc69ab22394a5a763c0fe739d84a10c41","tarball":"https://registry.npmjs.org/@agentstash/mcp/-/mcp-0.2.0.tgz","fileCount":17,"integrity":"sha512-LMfAhRa1bBrJ+bmSbFG6NUKkLlt4NAYF8aE3CVG/ZzUl3jHirMlQDV+V/bhkNBrUtwF9RkvWIBnExluqdENKjw==","signatures":[{"sig":"MEUCIAH7rxYCECfIHmi8Sx9vyUQk6qZXN8lLiUvpNPFuDdF2AiEA++A+xwogXswZk4n4Bw16XzaBuSC1UtiyuoaQGEemfkI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61435},"main":"src/index.js","type":"module","engines":{"node":">=18"},"gitHead":"8500b1bd05897d4bd079382878e9b4031a441e62","scripts":{"cli":"node src/cli.js","test":"node --test src/cli.test.js","start":"node src/index.js"},"_npmUser":{"name":"agentstashadmin","email":"support@agentstash.ai"},"repository":{"url":"git+https://github.com/mrusert/stash-mcp.git","type":"git"},"_npmVersion":"10.9.4","description":"MCP server + install CLI for Agent Stash — shared memory for Claude Code, Cursor, and Codex","directories":{},"_nodeVersion":"22.22.0","dependencies":{"@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mcp_0.2.0_1784145912367_0.5884370274374542","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@agentstash/mcp","version":"0.2.1","keywords":["mcp","claude","cursor","codex","memory","agent-stash","cli"],"license":"MIT","_id":"@agentstash/mcp@0.2.1","maintainers":[{"name":"agentstashadmin","email":"support@agentstash.ai"}],"homepage":"https://github.com/mrusert/stash-mcp#readme","bugs":{"url":"https://github.com/mrusert/stash-mcp/issues"},"bin":{"mcp":"src/bin.js","agentstash":"src/cli.js","agentstash-mcp":"src/bin.js"},"dist":{"shasum":"6eca91de3baa401fc1cea42eb5afca46f49a9ff2","tarball":"https://registry.npmjs.org/@agentstash/mcp/-/mcp-0.2.1.tgz","fileCount":17,"integrity":"sha512-rQOXrr5EDsAzjNA61WgIJ/iJbdsFQSXRlwPeEwGw/8P6hqFMIy4fh9PN8MfpSIBN2MZoxQl2NO6rWiiswHW5Dg==","signatures":[{"sig":"MEUCIQCGq/dcIqC0gTQX/lROB3ycCKNaEy/JC1uyS0E9VqLK9gIgKu22CtiCWavJ+4zOhkTA0Egk/NsOgsw1D40q3Nh5YcU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61707},"main":"src/index.js","type":"module","engines":{"node":">=18"},"gitHead":"afbf13d3b2e41b7af2debef5b245d0cd6a36cc4d","scripts":{"cli":"node src/cli.js","test":"node --test src/cli.test.js","start":"node src/index.js"},"_npmUser":{"name":"agentstashadmin","email":"support@agentstash.ai"},"repository":{"url":"git+https://github.com/mrusert/stash-mcp.git","type":"git"},"_npmVersion":"10.9.4","description":"MCP server + install CLI for Agent Stash — shared memory for Claude Code, Cursor, and Codex","directories":{},"_nodeVersion":"22.22.0","dependencies":{"@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mcp_0.2.1_1784219513399_0.29157211309181186","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@agentstash/mcp","version":"0.2.2","keywords":["mcp","claude","cursor","codex","memory","agent-stash","cli"],"license":"MIT","_id":"@agentstash/mcp@0.2.2","maintainers":[{"name":"agentstashadmin","email":"support@agentstash.ai"}],"homepage":"https://github.com/mrusert/stash-mcp#readme","bugs":{"url":"https://github.com/mrusert/stash-mcp/issues"},"bin":{"mcp":"src/bin.js","agentstash":"src/cli.js","agentstash-mcp":"src/bin.js"},"dist":{"shasum":"38891926e83cd6c9355f65fdd71c5041064e76e5","tarball":"https://registry.npmjs.org/@agentstash/mcp/-/mcp-0.2.2.tgz","fileCount":17,"integrity":"sha512-3+Kp53xurUM1UR/WDU48vxDpi8J1w/KBT0Nwaq1fsLIs4GqxO7Uf7pVnF+P/m0VRo9YZ/o4zWXp3WMj8aKh1HQ==","signatures":[{"sig":"MEUCIBJFLJ7F0DFCCgi8B7QszFx5kYINajdDVavodoDsOqQBAiEA5h3JHWQLKsd/uHiymDDkKqIn/mW+HTk6FzDP3WnIDyE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61707},"main":"src/index.js","type":"module","engines":{"node":">=18"},"gitHead":"afbf13d3b2e41b7af2debef5b245d0cd6a36cc4d","scripts":{"cli":"node src/cli.js","test":"node --test src/cli.test.js","start":"node src/index.js"},"_npmUser":{"name":"agentstashadmin","email":"support@agentstash.ai"},"repository":{"url":"git+https://github.com/mrusert/stash-mcp.git","type":"git"},"_npmVersion":"10.9.4","description":"MCP server + install CLI for Agent Stash — shared memory for Claude Code, Cursor, and Codex","directories":{},"_nodeVersion":"22.22.0","dependencies":{"@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mcp_0.2.2_1784219530914_0.37238877647594415","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@agentstash/mcp","version":"0.3.0","keywords":["mcp","claude","cursor","codex","memory","agent-stash","cli"],"license":"MIT","_id":"@agentstash/mcp@0.3.0","maintainers":[{"name":"agentstashadmin","email":"support@agentstash.ai"}],"homepage":"https://github.com/mrusert/stash-mcp#readme","bugs":{"url":"https://github.com/mrusert/stash-mcp/issues"},"bin":{"mcp":"src/bin.js","agentstash":"src/cli.js","agentstash-mcp":"src/bin.js"},"dist":{"shasum":"12ac2213f7e2ccb98a6b5691c892d1265cb9f0ca","tarball":"https://registry.npmjs.org/@agentstash/mcp/-/mcp-0.3.0.tgz","fileCount":20,"integrity":"sha512-h4KSvn1gdvEBpJIEnuU4/TfcWs8RanHiUluWuaTaeAOxC/S7tLj594B3i0F9esIF+TV77nyq3XwwODGSXN9HKQ==","signatures":[{"sig":"MEQCIDXRBU+C/wbWfcg1uVUlnDZoJIMS41EXXU9N1eN6mynmAiA1XdZuUd17bFMibwplKxbQXBCuIWLuI2S5wjYwJKb7VQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":82704},"main":"src/index.js","type":"module","engines":{"node":">=18"},"gitHead":"1daeed813ecc0bf61b2f8f3a86d412a52201c4ad","scripts":{"cli":"node src/cli.js","test":"node --test src/cli.test.js","start":"node src/index.js"},"_npmUser":{"name":"agentstashadmin","email":"support@agentstash.ai"},"repository":{"url":"git+https://github.com/mrusert/stash-mcp.git","type":"git"},"_npmVersion":"10.9.4","description":"MCP server + install CLI for Agent Stash — shared memory and SessionStart auto-resume for Claude Code, Cursor, and Codex","directories":{},"_nodeVersion":"22.22.0","dependencies":{"@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mcp_0.3.0_1784241204126_0.04133044631550953","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@agentstash/mcp","version":"0.4.0","keywords":["mcp","claude","cursor","codex","memory","agent-stash","cli"],"license":"MIT","_id":"@agentstash/mcp@0.4.0","maintainers":[{"name":"agentstashadmin","email":"support@agentstash.ai"}],"homepage":"https://github.com/mrusert/stash-mcp#readme","bugs":{"url":"https://github.com/mrusert/stash-mcp/issues"},"bin":{"mcp":"src/bin.js","agentstash":"src/cli.js","agentstash-mcp":"src/bin.js"},"dist":{"shasum":"cb2bbdf2cd5b060996fa9d8b1075a7142a218c48","tarball":"https://registry.npmjs.org/@agentstash/mcp/-/mcp-0.4.0.tgz","fileCount":27,"integrity":"sha512-wdtdHCevgD16P/OQrWP2y90ZWOhiy5jY/B2498Wsjf82rrMYkGtRX7G6It1uMPARQ9j2v4d5u3PCCto1dg9TaA==","signatures":[{"sig":"MEMCH2xGO3dlPj7qijMYNY5i4aG1tJwhH638JBjo1NsBNdsCIAHlgT1EF0aoI6eT+YZDEUsRv7sjH58LFjcrShPm0C+Q","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":107747},"main":"src/index.js","type":"module","engines":{"node":">=18"},"gitHead":"ee870af7591595347e3c7ea13cf26446b8db43f1","scripts":{"cli":"node src/cli.js","test":"node --test src/cli.test.js","start":"node src/index.js"},"_npmUser":{"name":"agentstashadmin","email":"support@agentstash.ai"},"repository":{"url":"git+https://github.com/mrusert/stash-mcp.git","type":"git"},"_npmVersion":"10.9.4","description":"MCP server + install CLI for Agent Stash — shared memory and continuity hooks for AI coding tools","directories":{},"_nodeVersion":"22.22.0","dependencies":{"@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mcp_0.4.0_1784241530672_0.6224193173687962","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"@agentstash/mcp","version":"0.4.1","keywords":["mcp","claude","cursor","codex","memory","agent-stash","cli"],"license":"MIT","_id":"@agentstash/mcp@0.4.1","maintainers":[{"name":"agentstashadmin","email":"support@agentstash.ai"}],"homepage":"https://github.com/mrusert/stash-mcp#readme","bugs":{"url":"https://github.com/mrusert/stash-mcp/issues"},"bin":{"mcp":"src/bin.js","agentstash":"src/cli.js","agentstash-mcp":"src/bin.js"},"dist":{"shasum":"b8770e4ce4990ac61049e440dd1474af993a60ac","tarball":"https://registry.npmjs.org/@agentstash/mcp/-/mcp-0.4.1.tgz","fileCount":27,"integrity":"sha512-ZfukhSK13ULTpCMmvdp/IGNEIbqUHrW0lwCtVRztEdzzyx1On20K0aEsyG2cGZZDCxRavR38dhVvw/jd5/NYag==","signatures":[{"sig":"MEQCIG05ELirxeF2G18iJBDAr+PL86tGAA6P6wpT70Jc2Sv4AiApZ+o7oUylthi44BZeI5BaAJ+dRtpEeEL4lP40B3Gd2A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":111116},"main":"src/index.js","type":"module","engines":{"node":">=18"},"gitHead":"0da0c663c9c502ad1a020863e538e257f2c1c4b7","scripts":{"cli":"node src/cli.js","test":"node --test src/cli.test.js","start":"node src/index.js"},"_npmUser":{"name":"agentstashadmin","email":"support@agentstash.ai"},"repository":{"url":"git+https://github.com/mrusert/stash-mcp.git","type":"git"},"_npmVersion":"10.9.4","description":"MCP server + install CLI for Agent Stash — shared memory and continuity hooks for AI coding tools","directories":{},"_nodeVersion":"22.22.0","dependencies":{"@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mcp_0.4.1_1784242584603_0.4375760784118812","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@agentstash/mcp","version":"0.5.0","keywords":["mcp","claude","cursor","codex","memory","agent-stash","cli"],"license":"MIT","_id":"@agentstash/mcp@0.5.0","maintainers":[{"name":"agentstashadmin","email":"support@agentstash.ai"}],"homepage":"https://github.com/mrusert/stash-mcp#readme","bugs":{"url":"https://github.com/mrusert/stash-mcp/issues"},"bin":{"mcp":"src/bin.js","agentstash":"src/cli.js","agentstash-mcp":"src/bin.js"},"dist":{"shasum":"371c82b446c51d7bf72158b49047f69cfb30678b","tarball":"https://registry.npmjs.org/@agentstash/mcp/-/mcp-0.5.0.tgz","fileCount":30,"integrity":"sha512-ofcDfsZm9CUy3RxnZNho+LubbVkpRw58nmaSVN7xMnfjsSRGsSw1YsCtlmfrStnWlKxNDYMloSiMBp0xxzYLEQ==","signatures":[{"sig":"MEUCIQCRWciwrYiempM3YtBKEX6fqSJv34IRZVXnCFPxmcayzwIgbqJI5DQ4ip3fgCEJE+z8W4K+Z4JFzh0rzRffpWGSET8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":130556},"main":"src/index.js","type":"module","engines":{"node":">=18"},"gitHead":"c0ed6f3c3caf6aea550eb80c704f944176b3f264","scripts":{"cli":"node src/cli.js","test":"node --test src/cli.test.js","start":"node src/index.js"},"_npmUser":{"name":"agentstashadmin","email":"support@agentstash.ai"},"repository":{"url":"git+https://github.com/mrusert/stash-mcp.git","type":"git"},"_npmVersion":"10.9.4","description":"MCP server + install CLI for Agent Stash — Claude Code, Cursor, OpenCode, and Codex","directories":{},"_nodeVersion":"22.22.0","dependencies":{"@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mcp_0.5.0_1784243213734_0.5952185660987752","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@agentstash/mcp","version":"0.6.0","description":"MCP server + install CLI for Agent Stash — Claude Code, Cursor, OpenCode, and Codex","type":"module","main":"src/index.js","bin":{"mcp":"src/bin.js","agentstash-mcp":"src/bin.js","agentstash":"src/cli.js"},"scripts":{"start":"node src/index.js","cli":"node src/cli.js","test":"node --test src/cli.test.js"},"dependencies":{"@modelcontextprotocol/sdk":"^1.0.0"},"engines":{"node":">=18"},"keywords":["mcp","claude","cursor","codex","memory","agent-stash","cli"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/mrusert/stash-mcp.git"},"_id":"@agentstash/mcp@0.6.0","gitHead":"2eacaa4182da2893a44a81721648f996cb91334a","bugs":{"url":"https://github.com/mrusert/stash-mcp/issues"},"homepage":"https://github.com/mrusert/stash-mcp#readme","_nodeVersion":"22.22.0","_npmVersion":"10.9.4","dist":{"integrity":"sha512-h7pG2gY3QHt1Cr+uHidaEXXcEdU1HdEc1vUlOx3mo1dwwImZgHBASgq68QwTZgrmqsDjmlZ/jHJe372MMymCzg==","shasum":"e238fb3b2c9fe3e7267788e6bc1ac9257cc7f97c","tarball":"https://registry.npmjs.org/@agentstash/mcp/-/mcp-0.6.0.tgz","fileCount":32,"unpackedSize":151626,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIG5MOHN4qdEz027JJ4Gl5T4ZBeOE1dzMFgsNhF9ckewbAiEAleDWcjb9m1+i47T/7EsSI+Io73FkfMfxnqWtkYWK0Jg="}]},"_npmUser":{"name":"agentstashadmin","email":"support@agentstash.ai"},"directories":{},"maintainers":[{"name":"agentstashadmin","email":"support@agentstash.ai"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp_0.6.0_1785901868305_0.12407639395992365"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-22T20:33:39.976Z","modified":"2026-08-05T03:51:08.941Z","0.1.0":"2026-05-22T20:33:40.280Z","0.1.1":"2026-05-22T22:01:38.368Z","0.2.0":"2026-07-15T20:05:12.513Z","0.2.1":"2026-07-16T16:31:53.550Z","0.2.2":"2026-07-16T16:32:11.054Z","0.3.0":"2026-07-16T22:33:24.285Z","0.4.0":"2026-07-16T22:38:50.805Z","0.4.1":"2026-07-16T22:56:24.759Z","0.5.0":"2026-07-16T23:06:53.877Z","0.6.0":"2026-08-05T03:51:08.440Z"},"bugs":{"url":"https://github.com/mrusert/stash-mcp/issues"},"license":"MIT","homepage":"https://github.com/mrusert/stash-mcp#readme","keywords":["mcp","claude","cursor","codex","memory","agent-stash","cli"],"repository":{"type":"git","url":"git+https://github.com/mrusert/stash-mcp.git"},"description":"MCP server + install CLI for Agent Stash — Claude Code, Cursor, OpenCode, and Codex","maintainers":[{"name":"agentstashadmin","email":"support@agentstash.ai"}],"readme":"# @agentstash/mcp\n\nShared memory for **Claude Code**, **Cursor**, **OpenCode**, and **Codex**. Progress and decisions persist across sessions and tools.\n\n## Install\n\n```bash\n# Claude Code (MCP + skill + full hooks) — default with Cursor\nnpx @agentstash/mcp init --api-key sk_... --claude --force\n\n# OpenCode (MCP + continuity plugin)\nnpx @agentstash/mcp init --api-key sk_... --opencode --force\n\n# Codex (MCP + AGENTS.md continuity notes)\nnpx @agentstash/mcp init --api-key sk_... --codex --force\n\n# Everything\nnpx @agentstash/mcp init --api-key sk_... --all --force\n```\n\nOr register a free key: `--register --agent-name my-laptop`\n\nRestart the tool after install. Check: `npx @agentstash/mcp doctor`\n\n## What you get per harness\n\n| Harness | MCP tools | Auto continuity |\n|---------|-----------|-----------------|\n| Claude Code | Yes | SessionStart inject, PreCompact/SessionEnd checkpoint, git-commit log, **StopFailure → handoff** |\n| OpenCode | Yes | Plugin hooks → same CLI (`session-start`, `checkpoint`, `log-commit`) |\n| Codex | Yes | Soft: `~/.codex/AGENTS.md` tells the model to resume/save |\n| Cursor | Yes | Soft: tools only |\n\n## Continuity model\n\n```text\nAgent (MCP tools)  → rich save_progress / remember\nHooks / plugins    → guaranteed checkpoints (Claude, OpenCode)\nStopFailure        → auto handoff on rate_limit / API errors (Claude)\nAGENTS.md          → soft guidance (Codex)\n```\n\nCLI (any harness):\n\n| Command | Role |\n|---------|------|\n| `session-start` | Prior progress brief |\n| `checkpoint pre_compact\\|session_end` | Merge-save progress |\n| `log-commit` | Log git commit events |\n| `handoff` | Freeze progress + resume card (provider limits) |\n\n### Handoff (provider limits)\n\nWhen Claude hits a usage/rate limit, the model often cannot call tools. Two paths:\n\n1. **Auto (Claude Code):** `StopFailure` hook runs `handoff` after reinstall with `init --claude --force`\n2. **Manual (any tool):**\n\n```bash\nnpx @agentstash/mcp handoff\nnpx @agentstash/mcp handoff -m \"mid auth refactor\" --to opencode\n```\n\nThis merge-saves `{project}-progress`, logs a `handoff` event, and prints how to resume in Claude / OpenCode / Codex / Cursor.\n\n## Config locations\n\n| Tool | Where |\n|------|--------|\n| Claude | `~/.claude/settings.json` + hooks + skill |\n| Cursor | `~/.cursor/mcp.json` |\n| OpenCode | `~/.config/opencode/opencode.json` + `plugins/agent-stash.js` |\n| Codex | `~/.codex/config.toml` + `AGENTS.md` |\n| Key store | `~/.agentstash/config.json` |\n\n## MCP tools\n\n`remember` / `recall` · `save_progress` / `resume_progress` · `log_event` / `read_log` · `list_memories` / `find_memory` / `forget`\n\n## Development\n\n```bash\nnpm test\nnode src/cli.js help\n```\n\nSee [ROADMAP.md](./ROADMAP.md).\n\n## License\n\nMIT\n","readmeFilename":"README.md"}