安装Basic Memory需要以下步骤和技术基础:
environmental preparation
- Python 3.8+ runtime environment
- 推荐使用uv工具管理依赖(pip install uv)
主程序安装
- 命令行执行:
uv tool install basic-memory
- Verify the installation:
basic-memory --version
Key Configurations
- MCP服务器配置:编辑Claude配置文件添加入口:
{
"mcpServers": {
"basic-memory": {
"command": "uvx",
"args": ["basic-memory", "mcp"]
}
}
} - 知识库初始化::
basic-memory init
创建本地存储结构 - 实时同步设置: Run
basic-memory sync --watch
Start monitoring
对于非技术人员,推荐通过Smithery工具链自动配置:npx -y @smithery/cli install @basicmachines-co/basic-memory --client claude
This answer comes from the articleBasic Memory: an MCP service for building persistent knowledge graphs from AI conversationsThe