Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Read-only multitenant Streamable HTTP bridge over Keeper Secrets Manager's MCP server.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
PORT, KSM_MCP_BIN, CHILD_HOME, IDLE_EVICT_MS, SPAWN_TIMEOUT_MS你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"keeper": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"PORT",
"-e",
"KSM_MCP_BIN",
"-e",
"CHILD_HOME",
"-e",
"IDLE_EVICT_MS",
"-e",
"SPAWN_TIMEOUT_MS",
"ghcr.io/wyre-technology/keeper-mcp:v1.0.0"
],
"env": {
"PORT": "your-value",
"KSM_MCP_BIN": "your-value",
"CHILD_HOME": "your-value",
"IDLE_EVICT_MS": "your-value",
"SPAWN_TIMEOUT_MS": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add keeper --env PORT=your-value --env KSM_MCP_BIN=your-value --env CHILD_HOME=your-value --env IDLE_EVICT_MS=your-value --env SPAWN_TIMEOUT_MS=your-value -- docker run -i --rm -e PORT -e KSM_MCP_BIN -e CHILD_HOME -e IDLE_EVICT_MS -e SPAWN_TIMEOUT_MS ghcr.io/wyre-technology/keeper-mcp:v1.0.0运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"keeper": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"PORT",
"-e",
"KSM_MCP_BIN",
"-e",
"CHILD_HOME",
"-e",
"IDLE_EVICT_MS",
"-e",
"SPAWN_TIMEOUT_MS",
"ghcr.io/wyre-technology/keeper-mcp:v1.0.0"
],
"env": {
"PORT": "your-value",
"KSM_MCP_BIN": "your-value",
"CHILD_HOME": "your-value",
"IDLE_EVICT_MS": "your-value",
"SPAWN_TIMEOUT_MS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"keeper": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"PORT",
"-e",
"KSM_MCP_BIN",
"-e",
"CHILD_HOME",
"-e",
"IDLE_EVICT_MS",
"-e",
"SPAWN_TIMEOUT_MS",
"ghcr.io/wyre-technology/keeper-mcp:v1.0.0"
],
"env": {
"PORT": "your-value",
"KSM_MCP_BIN": "your-value",
"CHILD_HOME": "your-value",
"IDLE_EVICT_MS": "your-value",
"SPAWN_TIMEOUT_MS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
PORT envKSM_MCP_BIN envCHILD_HOME envIDLE_EVICT_MS envSPAWN_TIMEOUT_MS env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 wyre-technology 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.0.0)于2个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Docker。
同一分类中有:Spec Driven Development, Remote Desktop Commander, Asset Notation
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Read and maintain an Asset Notation file on disk: net worth, holdings, valuations, CSV import.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Multitenant Streamable HTTP bridge over Keeper-Security/keeper-mcp-golang-docker — Keeper's official Secrets Manager MCP server — built so the WYRE conduit gateway can forward per-tenant Keeper credentials as HTTP headers.
Upstream pin: `v2.5.0` (MIT), built from source. See Bumping the upstream pin.
v1 is READ-ONLY. See Read-only in v1 — for this vendor that is a security boundary, not a scoping decision.
Keeper's server is stdio-only. There is no HTTP or SSE listener anywhere in its source — the EXPOSE 8080 in its own Dockerfile is vestigial, and its docker-entrypoint.sh is unreachable because the published image is FROM scratch with no shell. It reads its credential from KSM_CONFIG_BASE64 at process start, which makes it single-tenant per process.
Our gateway is multi-tenant: every request carries the calling org's credentials as HTTP headers, and the vendor container has to translate those headers into something the upstream understands.
Because the upstream has no HTTP mode to proxy to, this bridge holds an MCP client session over stdio to each tenant child and re-serves it over Streamable HTTP:
:8080 with POST /mcp and GET /health. Refuses to start unless CONDUIT_S2S_SECRET is a real secret./mcp request on X-Gateway-S2S, then on X-Keeper-Config-Base64 — including validating that it decodes to a usable KSM config. Missing/invalid credentials never fall through to environment credentials; that would be a cross-tenant leak. This bridge is gateway mode only.ksm-mcp serve --batch child per credential (keyed by a hash), with the tenant's KSM_CONFIG_BASE64 set, and connects an MCP client to it over stdio./mcp via the v2 SDK's createMcpHandler(factory, { legacy: 'stateless' }) — 2025-era initialize-handshake clients (the conduit gateway today) and modern 2026-07-28 envelope clients.IDLE_EVICT_MS).Tool names pass through unchanged.
Provision the Keeper application with non-editable shares. A KSM application's shared-folder grant is read-only unless explicitly made editable (secrets-manager share add --app --secret ; the Vault's Application Access panel shows Read-Only vs Editable). With a non-editable grant, every write fails at Keeper's own server — regardless of this bridge, its allowlist, batch mode, or prompt injection.
This is a provisioning precondition of the credential contract, not a nice-to-have. The bridge cannot verify it: the Keeper SDK carries IsEditable per record, but ksm-mcp never reads it, so nothing here can detect an over-granted application. Scope the application to the narrowest folder set the use case needs, read-only, and treat that as the real control.
Keeper's upstream has no read-only mode — verified against the v2.5.0 pin: serve has six flags and none restrict the surface, getAvailableTools() returns a hardcoded 19-element slice that consults no config, and Confirmation.DefaultDeny is hardcoded false with no plumbing. Nothing upstream can un-register a tool.
On batch mode. Keeper's own Docker documentation tells you to set KSM_MCP_BATCH_MODE=true, and this bridge does. What that actually changes:
| Batch mode | Behaviour |
|---|---|
| off | get_field + unmask hard-errors (the single Confirmer call site upstream). The other eight confirm-requiring tools return a *successful* {status: "confirmation_required"} result pointing at the ksm_confirm_action prompt, expecting a two-phase completion. |
| on | Every confirmation is auto-approved, delete_secret included. |
Leaving it off would not buy a confirmation boundary here, because that two-phase flow is unreachable through this bridge by construction: it is driven by an MCP *prompt*, and the bridge never declares the prompts capability — and the tool that completes it, ksm_execute_confirmed_action, is blocked below. So "off" yields stubs no client here can satisfy, not safety. We force it on and put the boundary in src/tools.ts instead.
What the allowlist uniquely buys, which a read-only grant does not: blocking get_all_secrets_unmasked and ksm_execute_confirmed_action. Both are reads-or-worse that a read-only grant happily permits.
| Tool | Conduit tier | Note |
|---|---|---|
list_secrets | read | Record metadata only |
list_folders | read | Folder metadata |
health_check | read | |
get_server_version | read | |
search_secrets | admin | Metadata-shaped result, but matches on notes and login/url/hostname/address values — a confirmation oracle over secrets (CWE-200) |
get_secret | admin | Returns a record; unmask honoured |
get_field | admin | KSM notation query — the narrowest read |
get_totp_code | admin | Live second factor |
generate_password | admin | Local generation; record-creating args removed |
Conduit classifies credential reads as admin (src/access/tool-classification.ts), which outranks write. A Keeper read is a credential read by definition.
create_secret, update_secret, delete_secret, create_folder, delete_folder, upload_file, ksm_execute_confirmed_action, get_all_secrets_unmasked, get_record_type_schema, download_file
Four are worth explaining:
original_tool_name plus a user_decision boolean the caller supplies, with no nonce and no correlation to any prompt, then dispatches straight into the confirmed executors. Allowing it would collapse every other rule here into one name. Blocked permanently.LoadRecordTemplates() has no callers and the package has no init(), so every call returns "record templates not loaded".DownloadFile(uid, fileUID, savePath) returns only an error and writes bytes to a server-side path; the handler returns {uid, file_uid, path, message}, never the file. Honouring save_path would let a tenant write attacker-chosen paths into a container filesystem shared with every other tenant's child, and removing it leaves nowhere to write.Each served tool declares the exact arguments it accepts (allowArgs in src/tools.ts), enforced on both the advertised inputSchema and the inbound tools/call. A client working from a stale or ignored schema therefore cannot reach a write path by passing an argument anyway.
The default matters more than the current entries: when an upstream bump adds a parameter to an already-served tool, it fails closed — it vanishes from the surface until someone reviews it into the table — rather than passing through silently. Today the only removals are generate_password's save_to_secret and folder_uid, which would turn a local utility into a record create.
Enabling writes is a reviewed, versioned change to src/tools.ts plus the matching VENDOR_TOOL_CONFIG rows in conduit. Not a config flip, not an env var.
The gateway forwards this header on every /mcp request. conduit's vendor-config must match exactly.
| Header | Child env var | Required |
|---|---|---|
X-Keeper-Config-Base64 | KSM_CONFIG_BASE64 | yes |
The value is the base64 device configuration from Keeper Vault → Secrets Manager → *your application* → Devices → *Add Device* (it starts ewog...).
Precondition: the application this device belongs to must hold **read-only
(non-editable) shares**. See Boundary 1
— it is the strongest control in the system and the bridge cannot verify it for you.
Validity rule: standard base64 that decodes to a flat JSON object of string values containing clientId, privateKey and appKey. hostname is optional — verified against upstream internal/ksm/client.go InitializeWithConfig, which requires exactly those three. Anything else → HTTP 401 with a JSON-RPC error body that never echoes the supplied value back.
The bridge also forces on every child:
KSM_MCP_BATCH_MODE=true # no TTY in a container (see above)
KSM_MCP_LOG_LEVEL=error argv: ["serve", "--batch"]
KSM_MCP_PROFILE is deliberately not set: with KSM_CONFIG_BASE64 present, upstream builds an in-memory profile and never touches the on-disk profile store, which is what keeps tenants from sharing state through the filesystem.
| Env var | Default | Notes |
|---|---|---|
CONDUIT_S2S_SECRET | empty (refuses to start) | Service-to-service secret. HTTP logs an error and exits non-zero when this is empty or a known placeholder (changeme, secret, replace-me, your-s2s-secret, and the other example values). Generate one with openssl rand -hex 32. Compose will not start without it. The value is never logged. |
MCP_ALLOW_INSECURE_DEV | unset | Set to exactly 1 only for local development to start HTTP without CONDUIT_S2S_SECRET. The process logs a warning, does not enforce X-Gateway-S2S, and binds 127.0.0.1 only. A non-loopback MCP_HTTP_HOST is ignored and the override is logged. A known placeholder secret still refuses to start. |
MCP_HTTP_HOST | 0.0.0.0 when a real secret is set | Bind address. A configured secret honors this value, including 0.0.0.0. Unset keeps that historical container bind. The image and Compose set 0.0.0.0 inside the container. Without a secret, the dev bypass forces 127.0.0.1 and does not honor this variable. |
PORT | 8080 | Public listen port. MCP_HTTP_PORT is the fallback when PORT is unset. |
KSM_MCP_BIN | /usr/local/bin/ksm-mcp | Upstream binary the bridge spawns. |
CHILD_HOME | /tmp/ksm-mcp-home | Root under which each tenant gets its own HOME subdirectory, created at spawn. |
IDLE_EVICT_MS | 900000 | Idle tenant timeout (15 min). Shorter than nutanix-mcp's 60 min on purpose: the Go child restarts in milliseconds, and every minute one stays open is a minute an authenticated KSM session sits in memory. |
SPAWN_TIMEOUT_MS | 30000 | Max wait for a child to answer the MCP handshake. |
Copy .env.example. Leave CONDUIT_S2S_SECRET empty in the example; put a real value only in an untracked .env or the process environment.
With CONDUIT_S2S_SECRET set, every /mcp request must include X-Gateway-S2S. The check is verifyS2sHeader in src/s2s-verify.ts: the header value is t= ,v1= , where the hex is HMAC-SHA256 of the literal string t= keyed with CONDUIT_S2S_SECRET (64 lowercase hex characters). The timestamp must be within 300 seconds of the server clock. A missing or invalid header is HTTP 401, before the Keeper credential header is read.
TS=$(date +%s)
SIG=$(printf 't=%s' "$TS" | openssl dgst -sha256 -hmac "$CONDUIT_S2S_SECRET" -hex | awk '{print $NF}') curl -sS http://127.0.0.1:8080/mcp \ -H 'Content-Type: application/json' \ -H 'Accept: application/json, text/event-stream' \ -H "X-Gateway-S2S: t=${TS},v1=${SIG}" \ -H "X-Keeper-Config-Base64: $KSM_CONFIG_BA
只显示了开头部分;其余内容请在仓库中阅读