Cross-session memory and recall for AI agents — git-synced knowledge base, hybrid semantic+TF-IDF search, auto-distillation with secrets scrubbing
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add agent-knowledge -- npx -y agent-knowledge~/.codex/config.toml
[mcp_servers.agent-knowledge]
command = "npx"
args = ["-y", "agent-knowledge"]
# codex mcp add agent-knowledge -- npx -y agent-knowledge~/.cursor/mcp.json
{
"mcpServers": {
"agent-knowledge": {
"command": "npx",
"args": [
"-y",
"agent-knowledge"
]
}
}
}.vscode/mcp.json
{
"servers": {
"agent-knowledge": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"agent-knowledge"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"agent-knowledge": {
"command": "npx",
"args": [
"-y",
"agent-knowledge"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"agent-knowledge": {
"command": "npx",
"args": [
"-y",
"agent-knowledge"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"agent-knowledge": {
"command": "npx",
"args": [
"-y",
"agent-knowledge"
]
}
}
}