DA

dnotitia/akb

开发工具官方

本页由 AI 翻译,技术细节请以原文为准。 查看原文

169 stars 15 forks 质量 68 趋势 20NOASSERTION

dnotitia/akb 是从 https://github.com/dnotitia/akb. 导入的 MCP 服务器候选服务器。

概览

dnotitia/akb 是从 https://github.com/dnotitia/akb. 导入的 MCP 服务器候选服务器。

概述(AI 翻译)

AI代理的组织内存。 PostgreSQL原生知识库 基于 模型上下文协议(MCP) ——代理直接读写 采用混合语义+关键词搜索、结构化表格、文件和URI 图。Claude Code 的 Confluence / Notion 替代方案,光标, 风帆冲浪,以及任何熟悉MCP的特工。

合作

任何使用 MCP(可流式 HTTP 或 stdio) 的代理客户端:

  • Claude Code — CLI / VS Code / JetBrains
  • Claude Desktop — macOS / Windows
  • 光标,风帆冲浪,Cline,继续 — 通过 akb-mcp stdio 代理
  • 自定义代理 — 直接HTTP POST /mcp/,带有持有人令牌

默认流程使用个人访问令牌。与 可选的MCP OAuth Resource Server路径已启用(通过Keycloak作为 AS — 参见 docs/mcp-clients/web-connectors.md) 还接受Claude Code的mcp add --transport http + mcp login 流 端到端,没有附加分。

MCP 协议兼容性

AKB将一个工具和授权核心置于两个协议适配器后面:

地表 现代 遗产

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

AKB — Agent Knowledge Base

Organizational memory for AI agents. PostgreSQL-native knowledge base served over the Model Context Protocol (MCP) — agents read and write directly with hybrid semantic + keyword search, structured tables, files, and a URI graph. Drop-in alternative to Confluence / Notion for Claude Code, Cursor, Windsurf, and any MCP-aware agent.

Works with

Any agent client that speaks MCP (Streamable HTTP or stdio):

  • Claude Code — CLI / VS Code / JetBrains
  • Claude Desktop — macOS / Windows
  • Cursor, Windsurf, Cline, Continue — via the akb-mcp stdio proxy
  • Custom agents — direct HTTP POST /mcp/ with a Bearer token

The stdio proxy accepts an explicit Personal Access Token (PAT). On an OAuth-enabled installation, run npx akb-mcp login --url once before starting the host with a URL-only configuration. One credential covers MCP and the proxy’s local file tools. Configure the stdio proxy.

For direct HTTP OAuth, configure the client and authorization server. Configure direct HTTP OAuth.

Product administrators can view server-observed calls by user, PAT and tool. MCP monitoring

MCP protocol compatibility

AKB keeps one tool and authorization core behind two protocol adapters:

Surface Modern Legacy
Direct HTTP /mcp/ 2026-07-28 stateless server/discover and per-request _meta with Mcp-Protocol-Version / Mcp-Method (and Mcp-Name for named calls) 2024-11-05, 2025-03-26, 2025-06-18, 2025-11-25 initialize, stateless requests (no Mcp-Session-Id lifecycle)
akb-mcp stdio proxy 2026-07-28 discovery and per-request metadata 2025-06-18 initialize

The proxy answers either handshake locally and normalizes backend calls to the modern stateless contract when available. For older backends without modern discovery, the proxy can fall back to legacy initialization and retain a session ID if that older server returns one. The current backend runs both adapters statelessly. A process cannot mix generations, and unsupported revisions or conflicting protocol evidence fail closed before a tool or local-file operation runs.

Plugins

Beyond raw MCP access, AKB ships ready-made agent plugins for Claude Code

在 GitHub 查看完整 README

安装

docker run --rm -v "$AKB_NATIVE_CONFIG_DIR:/installation" \
新手?先看 mcpskill.org 教程 →