We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/tobs-code/a-mem-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
reset_system.ps1β’2.21 KiB
# A-MEM System Reset Script
# Deletes all stored data (ChromaDB, Graph, Lock-Files)
#
# β οΈ IMPORTANT: After reset, the MCP Server must be restarted!
# The graph is loaded on server start and remains in memory.
# Only a server restart ensures a truly empty graph.
Write-Host "π Resetting A-MEM system completely..." -ForegroundColor Yellow
Write-Host ""
# Delete ChromaDB
if (Test-Path "data\chroma") {
Remove-Item -Recurse -Force "data\chroma"
Write-Host " β ChromaDB deleted" -ForegroundColor Green
} else {
Write-Host " β οΈ ChromaDB does not exist" -ForegroundColor Gray
}
# Delete Graph
if (Test-Path "data\graph\knowledge_graph.json") {
Remove-Item -Force "data\graph\knowledge_graph.json"
Write-Host " β Graph deleted" -ForegroundColor Green
} else {
Write-Host " β οΈ Graph does not exist" -ForegroundColor Gray
}
# Delete Lock-File
if (Test-Path "data\graph\graph.lock") {
Remove-Item -Force "data\graph\graph.lock"
Write-Host " β Lock-File deleted" -ForegroundColor Green
} else {
Write-Host " β οΈ Lock-File does not exist" -ForegroundColor Gray
}
Write-Host ""
Write-Host "β Files deleted" -ForegroundColor Green
Write-Host ""
Write-Host "β οΈ IMPORTANT NOTE:" -ForegroundColor Yellow
Write-Host " The MCP Server must be RESTARTED!" -ForegroundColor Yellow
Write-Host " The graph is loaded on server start and remains in memory." -ForegroundColor Yellow
Write-Host " Only a server restart ensures a truly empty graph." -ForegroundColor Yellow
Write-Host ""
Write-Host " In Cursor: Reload MCP Server (Cursor Settings β MCP β Restart)" -ForegroundColor Cyan
Write-Host ""
Write-Host "π Verification:" -ForegroundColor Cyan
if (Test-Path "data\chroma") {
Write-Host " β ChromaDB still exists" -ForegroundColor Red
} else {
Write-Host " β ChromaDB deleted" -ForegroundColor Green
}
if (Test-Path "data\graph\knowledge_graph.json") {
Write-Host " β Graph still exists" -ForegroundColor Red
} else {
Write-Host " β Graph deleted" -ForegroundColor Green
}
if (Test-Path "data\graph\graph.lock") {
Write-Host " β Lock-File still exists" -ForegroundColor Red
} else {
Write-Host " β Lock-File deleted" -ForegroundColor Green
}