Organizational knowledge base for agents: Markdown docs, PostgreSQL tables and files linked by a URI graph, with hybrid search and ACLs.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add akb-agent-knowledgebase --env AKB_MCP_URL='<AKB_MCP_URL>' --env AKB_PAT='<AKB_PAT>' -- npx -y akb-mcp~/.codex/config.toml
[mcp_servers.akb-agent-knowledgebase]
command = "npx"
args = ["-y", "akb-mcp"]
env = { AKB_MCP_URL = "<AKB_MCP_URL>", AKB_PAT = "<AKB_PAT>" }
# codex mcp add akb-agent-knowledgebase --env AKB_MCP_URL='<AKB_MCP_URL>' --env AKB_PAT='<AKB_PAT>' -- npx -y akb-mcp~/.cursor/mcp.json
{
"mcpServers": {
"akb-agent-knowledgebase": {
"command": "npx",
"args": [
"-y",
"akb-mcp"
],
"env": {
"AKB_MCP_URL": "<AKB_MCP_URL>",
"AKB_PAT": "<AKB_PAT>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"akb-agent-knowledgebase": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"akb-mcp"
],
"env": {
"AKB_MCP_URL": "<AKB_MCP_URL>",
"AKB_PAT": "<AKB_PAT>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"akb-agent-knowledgebase": {
"command": "npx",
"args": [
"-y",
"akb-mcp"
],
"env": {
"AKB_MCP_URL": "<AKB_MCP_URL>",
"AKB_PAT": "<AKB_PAT>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"akb-agent-knowledgebase": {
"command": "npx",
"args": [
"-y",
"akb-mcp"
],
"env": {
"AKB_MCP_URL": "<AKB_MCP_URL>",
"AKB_PAT": "<AKB_PAT>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"akb-agent-knowledgebase": {
"command": "npx",
"args": [
"-y",
"akb-mcp"
],
"env": {
"AKB_MCP_URL": "<AKB_MCP_URL>",
"AKB_PAT": "<AKB_PAT>"
}
}
}
}Environment variables
AKB_MCP_URLAKB_PAT
Replace the placeholders with your own credentials and keep them out of version control.