Install Bun first, then install qmd from GitHub:
bun install -g github:tobi/qmdVerify:
qmd --helpIf qmd is not on PATH, check:
~/.bun/bin/qmd --helpFrom the target workspace root:
qmd collection add memory --name daily-logs --mask "**/*.md"qmd update
qmd embedHybrid search:
qmd query "关键词"Vector search:
qmd vsearch "关键词"If the host supports MCP config, add:
{
"mcpServers": {
"qmd": {
"command": "/Users/your-user/.bun/bin/qmd",
"args": ["mcp"]
}
}
}Replace the path with the real local qmd binary path.
For local macOS instances, prefer launchd over cron for recurring qmd refresh.
Typical refresh command:
bash scripts/qmd_refresh.shTypical schedule:
- 11:30
- 23:30
Keep success silent and log only to a local file.