
Kakunin
io.github.kakunin-ai由 GitHub 帳號 kakunin-ai 發布v0.2.4更新於 Oct 24, 2026
X.509 identity, risk scoring, and audit logging for AI agents. MiCA + EU AI Act compliant.
概覽
Kakunin 讓 AI 代理透過 Kakunin 合規 API 自行查驗 X.509 身分、權限範圍與風險評分,並將事件附加到不可竄改的稽核日誌。
- 可以做什麼
- 查驗代理是否獲授權執行某項動作,涵蓋憑證、允許動作範圍、金額上限與撤銷狀態
- 取得代理近 30 天滾動風險評分、風險等級、漂移趨勢與建議
- 將行為事件附加到代理的不可竄改稽核日誌,並回傳風險評分與交易 ID
- 適用情境
- 適合在 Kakunin 身分與合規機制下運作的代理:在執行動作前自行確認授權、監控自身風險,或記錄可供稽核的行為事件,例如涉及金融交易時。
- 執行需求
- 以 npm 套件透過 npx 在本機執行,需要 Node 18 以上版本。需要 Kakunin 儀表板提供的 API 金鑰(KAKUNIN_API_KEY)與代理 ID(KAKUNIN_AGENT_ID)。可選用 KAKUNIN_BASE_URL 覆寫 API 位址。需要能連線至 Kakunin API 的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Kakunin,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
@kakunin/mcp — MCP server for AI agent identity & compliance
[OpenSSF Scorecard] [kakunin-mcp MCP server]
[kakunin-mcp MCP server]Model Context Protocol server for the Kakunin AI agent compliance API. Lets AI agents self-verify scope, check their own risk score, and log behavioral events — all from within Claude, Cursor, or any MCP-compatible runtime.
Tools
verify_agent_scope
Check whether this agent is authorised to perform an action before executing it. Verifies the active X.509 certificate, permitted_actions scope, financial limits, and revocation status.
Returns { allowed: true|false, reason, certificate_status, permitted_actions }.
check_risk_score
Retrieve the agent's rolling 30-day risk score, band (low/medium/high), drift trend, and actionable guidance. No input required.
audit_log_append
Append a behavioral event to the agent's immutable audit log. Returns risk score + transaction ID. Events scoring ≥ 0.85 auto-trigger a certificate revocation check.
Setup
Prerequisites: Node ≥ 18, Kakunin API key + Agent ID from kakunin.ai/dashboard.
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
Environment variables
Sandbox mode
Use a kak_test_... key for development — hits the sandbox CA, no cost, 100 free certs/day.
Full docs at docs.kakunin.ai.
Contributors
Thanks to everyone who contributes (emoji key) — code and non-code alike:
Contributions of any kind are welcome — this project follows the all-contributors spec.
來源:README.md,提交 473b117
工具
0版本歷史
1- v0.2.4最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分