Clavis

io.github.KN0WBOT由 GitHub 帳號 KN0WBOT 發布v0.1.3更新於 Oct 24, 2026

Encrypted credential vault for AI agents — auto OAuth refresh, rate limiting, audit logging.

已驗證STDIO僅桌面開發者工具安全與監控

概覽

AI 產生的概覽

Clavis 是本地 MCP 伺服器,讓助理存取加密憑證保險庫,並透過伺服器端注入的金鑰呼叫外部服務。

可以做什麼
列出已儲存憑證的服務,並查看各憑證的狀態與到期時間。透過保險庫發起上游 API 呼叫,金鑰在伺服器端注入,不會進入對話。使用舊版工具取得指定服務的原始存取權杖或 API 金鑰。由 Clavis 伺服器負責 OAuth 權杖自動更新、速率限制、稽核記錄與用量統計。
適用情境
當助理需要用已儲存的憑證呼叫第三方 API,且希望金鑰不進入對話內容時使用。也適合希望對這類呼叫集中進行 OAuth 更新、速率限制與稽核記錄的情境。
執行需求
透過 npm 套件以 stdio 在本機執行,通常以 npx 啟動或全域安裝,因此需要 Node.js。需要 Clavis 帳號,並透過環境變數 CLAVIS_API_KEY 提供從登入端點取得的 Clavis JWT,而非註冊時顯示的金鑰。自架執行個體可設定 CLAVIS_API_URL;需要能連線至 Clavis 伺服器的網路。
安裝前請注意
設定要求在 CLAVIS_API_KEY 中提供 Clavis JWT,該權杖可存取已儲存的憑證。舊版 get_credentials 工具會把原始金鑰帶回對話中,提示注入可能將其竊取,應優先使用 call_service。經保險庫發起的呼叫會送達第三方服務,並由 Clavis 伺服器記錄與限流,請確認傳送給上游的資料內容。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Clavis,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Clavis MCP Server

Secure credential management for Claude Desktop and MCP servers.

Features

  • 🔐 Encrypted credential storage (AES-128-CBC + HMAC-SHA256, via Fernet)
  • 🛡️ Server-side credential injection — the raw key never enters the conversation
  • 🔄 Automatic OAuth token refresh
  • 📡 Thin forwarding layer — rate limiting, audit logging, and usage tracking are all handled by the Clavis server

Installation

bash
npx @clavisagent/mcp-server

Or install globally:

bash
npm install -g @clavisagent/mcp-server

Usage with Claude Desktop

Add the following to your Claude Desktop configuration file (claude_desktop_config.json):

json
{  "mcpServers": {    "clavis": {      "command": "npx",      "args": ["-y", "@clavisagent/mcp-server"],      "env": {        "CLAVIS_API_KEY": "eyJ..."      }    }  }}

Usage with Claude Code

bash
claude mcp add clavis -- npx -y @clavisagent/mcp-server

Configuration

VariableRequiredDefaultDescription
CLAVIS_API_KEYyes—Your Clavis JWT, from POST /v1/auth/login. Not the cla_… key shown at sign-up.
CLAVIS_API_URLnohttps://clavisagent.comBase URL of your Clavis instance. Set this for self-hosted deployments.

Available Tools

ToolDescription
call_serviceRecommended. Make an API call with server-side credential injection — the credential is injected into the upstream request server-side, so the raw key never enters the conversation.
get_credentialsLegacy. Returns the raw access token or API key for a named service. Prefer call_service.
list_servicesList all services with stored credentials
check_credential_statusCheck the status and expiry of credentials for a service

Security note

Prefer call_service over get_credentials. call_service keeps the secret server-side, so a prompt injection has no credential in context to exfiltrate. get_credentials places the raw key in the conversation and exists only for callers that must hold the token themselves.

License

MIT

來源:README.md,提交 92ecdc1

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.3最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分