1.4 KiB
1.4 KiB
Memory Management
🎯 Key Principle
This tool coordinates Claude Code's actions. It does NOT write code or create content.
MCP Tool Usage in Claude Code
Tool: mcp__claude-flow__memory_usage
Parameters
{
"action": "retrieve",
"namespace": "default"
}
Description
Track persistent memory usage across Claude Code sessions
Details
Memory helps Claude Code:
- Maintain context between sessions
- Remember project decisions
- Track implementation patterns
- Store coordination strategies that worked well
Example Usage
In Claude Code:
- Store memory: Use tool
mcp__claude-flow__memory_usagewith parameters{"action": "store", "key": "project_context", "value": "authentication system design"} - Retrieve memory: Use tool
mcp__claude-flow__memory_usagewith parameters{"action": "retrieve", "key": "project_context"} - List memories: Use tool
mcp__claude-flow__memory_usagewith parameters{"action": "list", "namespace": "default"} - Search memories: Use tool
mcp__claude-flow__memory_searchwith parameters{"pattern": "auth*"}
Important Reminders
- ✅ This tool provides coordination and structure
- ✅ Claude Code performs all actual implementation
- ❌ The tool does NOT write code
- ❌ The tool does NOT access files directly
- ❌ The tool does NOT execute commands
See Also
- Main documentation: /CLAUDE.md
- Other commands in this category
- Workflow examples in /workflows/