Secretcarousel

io.github.jyswee由 GitHub 帳號 jyswee 發布v2.20.0更新於 Oct 24, 2026

Agent-first secrets vault. Store, rotate, and share credentials from chat. 20 tools.

發布方自己的服務:Vips

已驗證SSE可網頁執行開發者工具安全與監控

概覽

AI 產生的概覽

以代理為先的密鑰保險庫 MCP 伺服器,讓助理不必貼上明文就能儲存、擷取、輪替、分享與轉交憑證。

可以做什麼
儲存、擷取、更新與刪除具型別的密鑰,靜態加密,回傳 id 而非明文值(依 README 所述的完整工具集)。
適用情境
當編碼代理經常處理 API 金鑰、資料庫連線字串或憑證,且希望以 id 存取而非貼進檔案、日誌或聊天時使用,也適合把密鑰轉交給另一個代理或租戶。
執行需求
可透過 npx 以本機程序執行(npm 套件 secretcarousel,指令 sc mcp-serve),也可連線遠端 SSE 端點。需要 SecretCarousel API 金鑰,透過 SC_API_KEY 環境變數或 Authorization Bearer 標頭提供;沒有金鑰時進入引導模式。試用期後需付費訂閱。
安裝前請注意
此伺服器保管憑證,API 金鑰本身即為敏感資訊,專案設定目錄應排除於版本控制之外。註冊會開啟 48 小時啟用視窗與 7 天試用,需綁定信用卡,之後每月 9 美元起計費。工具可建立、輪替、分享與刪除密鑰並簽發領取權杖,這些動作都會寫入稽核日誌。

安裝

在 SourceWeft 中

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

Web executable,透過 SSE。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.jyswee%2Fsecretcarousel/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "secretcarousel": {
      "type": "sse",
      "url": "https://mcp.secretcarousel.com/sse"
    }
  }
}

README

SecretCarousel

[npm version] [MCP] [Zero-Knowledge] [smithery badge]

The secret vault your coding agents run themselves — store, rotate, and hand off credentials from any agent, so they stop passing keys in plain text.

git for your code. sc for your agents' secrets.

Your agent touches credentials all day — a database URL here, an API key there — and the moment its context resets, those secrets end up pasted into a .env file in Slack, echoed into a log, or left in the transcript. You become the vault. SecretCarousel is the vault the agent runs itself: one command, and it stores secrets encrypted, rotates them on a schedule, and — the part nothing else does — hands a secret to another agent through a one-time, scoped, expiring claim token, even across companies. No plain-text value ever crosses the boundary.

Works with: Claude Code · Cursor · Cline · Windsurf · Aider · Codex · any MCP client

Install

bash
npm install -g secretcarousel

The npm package is secretcarousel; the command is sc.

Or self-provision a vault in one command — no email, no card:

bash
npx secretcarousel signup my-project --local

Quick Start

bash
# Self-provision a tenant (API key saved to .sc/config.json)sc signup my-project --local
# Store a secret — AES-256-GCM encrypted at rest; returns an id, never echoes the valuesc secret "DATABASE_URL" "postgres://user:pass@host/db" -t database-credentials
# Retrieve by id — decrypted on demand, access-loggedsc secret show sec-abc123
# List / search — ids + names, never valuessc secretssc search stripe
# Rotate nowsc rotate sec-abc123
# Full referencesc --help

Claim tokens — how agents hand off secrets

This is the part nothing else does. One agent mints a one-time, scoped, expiring token; another agent — different project, even different company — redeems it exactly once; the token burns; the whole exchange is audit-logged. The plain-text value never crosses the boundary as a copy-pasteable string.

bash
# Agent A: hand a secret to another tenant/agentsc claim "<the-secret-value>" --to partner-tenant --contract CTR-ID
# Agent B: redeem the token you were handed (once, audited)sc claim redeem CLM-TOKEN
# List the tokens you've minted + their statussc claims

No more DMing a key and hoping the other side deletes it. The token is single-use, time-boxed, and revocable, and every mint/redeem lands in the audit trail.

Zero-knowledge mode — even we can't read it

By default, secrets are encrypted at rest with AES-256-GCM. Flip on zero-knowledge mode and encryption happens on your machine, before the value ever reaches the server — SecretCarousel stores only ciphertext and never holds the key to unlock it. A database breach leaks gibberish.

bash
# Store a zero-knowledge secret (encrypted client-side)sc secret "SIGNING_KEY" "$(cat key.pem)" --e2e
# Retrieve — auto-decrypts locally with your device keysc secret show sec-def456

Multiple agents can share one zero-knowledge vault via an enrollment handshake — the vault key is passed device-to-device, never to the server:

bash
sc enroll init                 # first device bootstraps the vaultsc enroll create --minutes 15  # mint an enrollment token for another agentsc enroll redeem <token>       # joining agent unlocks the same vaultsc enroll status               # vault + local device state

Rotation — set it and forget it

bash
# Rotate immediatelysc rotate sec-abc123
# Schedule rotation with alertssc rotate set sec-abc123 --schedule "30d" --email [email protected]

Sharing — time- and view-limited links for humans

bash
# One-hour, single-view link a teammate can open in a browsersc share sec-abc123 --hours 1
# List active sharessc shares

Environments — .env in, .env out

bash
# Export a project's secrets as a .env filesc env pull --env production > .env
# Promote secrets from one environment to anothersc env promote --from staging --to production

MCP Server

Prefer tools over a CLI? sc ships an MCP server. Point Claude Code (or any MCP client) at it and your agent gets the full toolset — store, retrieve, list, search, rotate, share, and the claim-token handoff — with structured JSON responses.

bash
claude mcp add secretcarousel -- sc mcp-serve

For clients that use a JSON config (Cline, Cursor, Windsurf), pass your API key via the SC_API_KEY environment variable. The MCP server runs outside your project directory, so it will not pick up .sc/config.json:

json
{  "mcpServers": {    "secretcarousel": {      "command": "sc",      "args": ["mcp-serve"],      "env": { "SC_API_KEY": "sc_your_key_here" }    }  }}

No key yet? Start it without one — the server boots in onboarding mode with an sc_signup tool that provisions a vault instantly (48-hour activation window; the emailed $0 card check starts the 7-day free trial), then the full toolset unlocks in place.

Remote MCP — zero install

No CLI at all? Claude Web, Claude Desktop, Raycast, or any hosted MCP client can connect straight to our remote server. Same toolset, same API key, nothing to install:

URL:  https://mcp.secretcarousel.com/sseAuth: Authorization: Bearer sc_YOUR_API_KEY

Connect without the header and it starts in onboarding mode — call sc_signup to self-provision a vault mid-session (48-hour activation window, 7-day free trial via emailed $0 card check). Setup guide: Remote MCP quickstart.

Audit trail — provable, exportable

Every store, retrieve, rotate, share, mint, and redeem lands in an immutable event log. Read it from the terminal or export it for compliance.

bash
sc audit --limit 50sc audit export --format csv > audit.csv

Features

  • Secrets — store, retrieve, update, delete; AES-256-GCM at rest; typed (database-credentials, api-key, certificate, and more)
  • Zero-knowledge mode — client-side encryption; the server only ever sees ciphertext, multi-device vaults via an enrollment handshake
  • Claim tokens — hand a secret to another agent/tenant via a one-time, scoped, expiring, audited token
  • Rotation — rotate now or on a schedule, with email alerts
  • Sharing — time- and view-limited links for humans
  • Environments — export as .env, promote secrets between environments
  • Scoped API keys — read/write/admin per key, project-scoped
  • MCP server — local (sc mcp-serve) or fully remote (mcp.secretcarousel.com): Claude Code, Claude Web, Cursor, Raycast, any MCP client
  • Audit trail — immutable event log, exportable as CSV or JSON
  • Agent self-signup — an agent provisions its own vault mid-session, no human in the loop

Pricing: 7-day free trial. Card required (secure Stripe checkout), nothing charged during the trial — cancel before it ends and you pay nothing. After that, from $9/mo: Starter $9 · Pro $29 · Scale $99, each with included secrets plus low overage. Unlimited agents on every plan, no per-seat pricing. Details.

Per-Project Config

bash
sc login --local --key YOUR_KEY    # saves to .sc/config.json (project-local)sc me                              # show tenant info + plan + usage

Config is per-project and auto-loaded from .sc/config.json. Add .sc/ to your .gitignore.

Agent Integration

Add to your CLAUDE.md, .cursorrules, .clinerules, .windsurfrules, or AGENTS.md:

## SecretCarouselThis project uses SecretCarousel as its secret vault.Use the `sc` CLI. Config is in .sc/config.json (auto-loaded).If not configured: sc login --local --key YOUR_KEY
Never paste a secret value into code, logs, or chat — store it with`sc secret "NAME" "VALUE"` and retrieve by id at the moment of use.To hand a secret to another agent, mint a claim token — never send the raw value.

Why this exists

Every coding agent handles credentials, and every one of them eventually leaks one — into a .env committed by mistake, a log line, a Slack paste, a transcript that outlives the session. I wanted the agent to own its secrets the way it owns its code: a vault it runs itself, where the value is fetched only at the moment of use and handed off without ever becoming a copy-pasteable string. It's early and iterating fast — if something's rough or missing, open an issue.

Documentation

License

Proprietary — Tyga.Cloud Ltd. See LICENSE.

來源:README.md,提交 11ecde8

工具

2

sc_get_started

Explains what SecretCarousel is and how to activate this MCP server (no API key on this session yet).

無需輸入參數。

sc_signup

Create a new SecretCarousel vault (no card needed yet — 48-hour activation window, then the emailed $0 card check starts the 7-day free trial). Returns an API key (shown once) and unlocks the SecretCarousel tools in this session immediately. Ask the human for their email first.

輸入參數email必填tenantId必填

版本歷史

1
  1. v2.20.0最新Sep 16, 2026

評分

已滿足適用檢查項的 90%

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

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。

其他 Vipsallowed 整合