memory-mcp
CLAUDE.md98 starsChanged 10 months agoMITView on GitHub
Last updated: 2026-01-27 | 28 active memories, 28 total _For deeper context, use memory_search, memory_related, or memory_ask tools._ <!-- MEMORY:END -->
The file
Files
<!-- MEMORY:START -->memory-mcp
Last updated: 2026-01-27 | 28 active memories, 28 total
Architecture
- Memory system needs two modes: instant session recovery and mid-session deep context recall for large projects [memory-design, context-management]
- Two-tier memory system with CLAUDE.md (top 150 lines) and
.memory/state.json(unlimited storage) for project contex... [memory, architecture] - Renamed npm package from
memory-mcptoclaude-memory-mcp[packaging, branding] - Official MCP registry publisher requires manual cloning and building from GitHub source repository, not a standard np... [deployment, mcp-registry]
Key Decisions
- Project memory must be scalable beyond typical 2-5K token context window limits [scaling, context-management]
- Created a CLI tool for memory-mcp with commands like setup, init, status, search, ask, consolidate, and key management [cli, tooling]
- Memory extractor modified to handle new transcript format with nested message content and tool interactions within as... [memory-mcp, architecture]
- Corrected Anthropic Claude model ID from
claude-haiku-4-20250414toclaude-3-5-haiku-20241022[llm, configuration] - Prepared documentation including README.md, ARCHITECTURE.md, LICENSE, CHANGELOG.md for project release [documentation, release-prep]
- Renamed npm package from
claude-memory-mcptoclaude-code-memoryafter verifying availability and selecting the m... [npm, packaging] - Resolved MCP SDK compatibility by switching back to zod v4 after initially attempting zod v3 [dependency, typescript]
- Proposed version bump to 1.0.1 to distribute clean build with zod v4 to npm users [versioning, npm]
- Bumped package version to 1.0.2 to support MCP registry validation requirements [versioning, deployment]
- Identified two separate publish workflows: one for Smithery using
npx @smithery/cli deployand another for official... [deployment, registry]
Gotchas & Pitfalls
- Transcript parsing originally failed due to mismatched entry types: expected 'human/user' but actual format uses 'use... [memory-mcp, parsing]
- MCP server communication fails due to zod version incompatibility between zod v3 and v4, causing JSON parsing errors ... [dependency, typescript]
- Zod v3 causes infinite type recursion with MCP SDK's
server.tool(), requiring a downgrade to zod v4 [typescript, dependency, sdk] - Smithery CLI deploy fails for stdio-based local servers, which cannot be published through their current web UI desig... [deployment, registry]
Current Progress
- Explored alternative MCP project submission methods, including potential web submission or PR acceptance [research, deployment]
- Official MCP registry publication process is not straightforward, with
mcp-publishernot existing as a simple npm p... [publishing, registry] - Attempted to use Smithery CLI
publishcommand, which does not exist, with the correct command beingdeploy[cli, deployment] - Submitted MCP project listings to multiple awesome-mcp-servers repositories via PRs and issues [community, visibility]
- Successfully added MCP registry support by including
mcpNamein package.json and creating server.json and smithery.... [npm, registry, deployment] - Verified MCP server responds correctly with valid JSON-RPC after dependency fix [server, testing]
- Successfully published
claude-code-memorynpm package version 1.0.0 [npm, release] - Prepared package for npm publish, but encountered expired authentication token requiring manual login [deployment, npm]
- Created GitHub repository for memory-mcp project at https://github.com/yuvalsuede/memory-mcp [repository, version-control]
- Prepared the project for open-source release with README, LICENSE, CHANGELOG, and npm package configuration [release, open-source]
For deeper context, use memory_search, memory_related, or memory_ask tools.
<!-- MEMORY:END -->Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

