Migration Guide for Deprecated Tools
Overviewโ
This guide helps you migrate from deprecated tools to the new memory-centric architecture in MCP ADR Analysis Server v2.0+.
Deprecated Tools and Their Replacementsโ
1. mcp0_manage_todo_json
โ mcp-shrimp-task-manager
โ
What Changed:
- The built-in TODO management has been replaced with an external task manager
- Task data is now stored in the memory system rather than JSON files
Migration Steps:
- Export existing tasks using the old tool (if still available)
- Install the new task manager:
mcp-shrimp-task-manager
- Import tasks into the new system
- Update any automation scripts to use the new tool names
New Tool Usage:
// Old way
try {
await mcp0_manage_todo_json({ operation: 'add', task: 'My task' });
} catch (error) {
console.error('Failed to manage todo:', error);
}
// New way (via external task manager)
try {
// Configure mcp-shrimp-task-manager in your MCP settings
// Then use through MCP client
const result = await mcpClient.callTool('manage-task', {
operation: 'add',
task: 'My task'
});
console.log('Task added successfully:', result);
} catch (error) {
console.error('Failed to add task:', error);
}
2. mcp0_smart_score
โ Memory-Centric Health Scoringโ
What Changed:
- Project health scoring is now integrated into the memory system
- Provides more comprehensive, context-aware scoring
- Historical tracking and pattern recognition
Migration Steps:
- The new system automatically migrates existing score data
- Access scores through memory entities instead of direct tool calls
New Usage:
// Old way
try {
const score = await mcp0_smart_score({ projectPath: '/my/project' });
console.log('Project score:', score);
} catch (error) {
console.error('Failed to get project score:', error);
}
// New way (automatic via memory system)
try {
// Scores are calculated automatically and stored as memory entities
const memoryQuery = await mcpClient.callTool('query-memory', {
entityType: 'project-health',
projectPath: '/my/project'
});
console.log('Health data:', memoryQuery.entities);
} catch (error) {
console.error('Failed to query memory system:', error);
}
Cache Directory Changesโ
Important: New Cache Locationโ
Old Location: .mcp-adr-cache
(in project directory)
New Location: OS temp directory (e.g., /tmp/[project-name]/cache
)
This change:
- Prevents permission issues
- Provides better cross-platform compatibility
- Keeps project directories clean
No Action Required: The system automatically uses the new location.
Memory System Integrationโ
New Featuresโ
The memory-centric architecture provides:
- Persistent memory entities for all tool operations
- Cross-tool relationships and pattern detection
- Historical analysis and trend identification
- Intelligent caching with automatic invalidation
How to Enableโ
Memory features are enabled by default. To use advanced features:
// Enable memory integration in tools
try {
const result = await deploymentReadiness({
enableMemoryIntegration: true,
migrateExistingHistory: true,
});
console.log('Memory integration enabled:', result);
} catch (error) {
console.error('Failed to enable memory integration:', error);
// Fallback to basic mode
console.log('Continuing with basic deployment readiness...');
}
Troubleshootingโ
Common Issuesโ
-
"Tool not found" errors
- Solution: Update your MCP client configuration
- Remove references to deprecated tools
- Add new external tools as needed
-
Cache directory errors
- Solution: Already fixed! Uses OS temp directory
- Clear old cache:
rm -rf .mcp-adr-cache
-
Memory initialization failures
- Solution: Ensure temp directory has write permissions
- Check disk space in temp directory
Getting Helpโ
- Report issues: https://github.com/anthropics/claude-code/issues
- Check documentation:
/docs
directory - Memory system guide:
/./explanation/memory-architecture.md
Rollback Instructionsโ
If you need to rollback to previous versions:
-
Backup current data:
cp -r /tmp/[project-name]/cache ./backup-cache
cp -r /tmp/[project-name]/memory ./backup-memory -
Downgrade package:
npm install mcp-adr-analysis-server@1.x
-
Restore old cache location:
cp -r ./backup-cache .mcp-adr-cache
Benefits of Migrationโ
Why Migrate?โ
-
Better Performance
- Memory-centric caching reduces redundant operations
- Pattern recognition improves over time
-
Enhanced Intelligence
- Cross-tool learning and relationships
- Historical pattern analysis
- Predictive capabilities
-
Improved Reliability
- No more permission issues
- Better error handling and recovery
- Automatic data migration
-
Future-Proof
- Active development and support
- New features added regularly
- Community-driven improvements
Timelineโ
- Immediate: Cache directory fixes are live
- v2.1: Full memory system integration
- v2.2: Advanced pattern recognition
- v3.0: AI-powered workflow automation
Questions?โ
For questions about migration, please:
- Check this guide first
- Review the changelog in
/CHANGELOG.md
- Open an issue if you encounter problems