能做什么
Authorized SSH for AI agents: policy per command, approvals, transcript
作者提供的原文
- 连接方式 在你的电脑上运行
- 账号或密钥 无需密钥 · 需填写 1 项设置(WERBOT_SERVER)
- 分类 开发者工具
可搭配使用
教 AI 做这类工作的 Skill,可与本项一起使用
andrej-karpathy-skills
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
graphify
Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.
为什么排在这里
列表按使用分(满分 100)排序,由以下部分组成
| 热度 | 27/80 | GitHub 星标或每周下载量:较大的计 60,较小的计 20 |
|---|---|---|
| 新鲜度 | 12/12 | 30 天内有发布或代码更新得满分 |
| 仍在响应 | 0/8 | 上次检查时云端端点有响应 |
| 使用分 | 39/100 |
质量: 基础检查通过 3/3 项(仅展示,不用于排序) · 上升势头: 暂无数据 (只用于“上升中”标签)
安装
选择你使用的 AI 应用,然后复制设置。
用一句话让 AI 帮你安装
请帮我安装 Werbot。按照 https://mcp.popnx.com/i/werbot.md 操作,先把命令给我看,等我同意后再运行。粘贴到能在你电脑上工作的 AI(如 Claude Code、Cursor)。它会读取我们的步骤,先给你看命令,等你同意。无需密钥,无需注册。 · 查看 AI 会读取的全文
通过 3/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月26日
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude,但需要先准备
需要填写 1 项设置(WERBOT_SERVER) · 需要先在电脑上安装 Docker(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
让 AI 帮你安装
把这段话复制到 Claude 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Claude 安装 MCP server Werbot,按顺序:1) 用 docker --version 检查是否有 Docker。没有的话,请让我从 https://www.docker.com/products/docker-desktop/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "werbot": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "WERBOT_SERVER", "ghcr.io/werbot/werbot:v0.2.0", "mcp" ], "env": { "WERBOT_SERVER": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) WERBOT_SERVER 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 Werbot 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
安装 Docker(如果还没有)
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
docker --version- 显示版本号(例如 Docker version …)= 已安装,可跳过这一步
- 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
怎么打开终端
Mac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 安装 Docker Desktop:Mac 打开 Docker.dmg,把图标拖到“应用程序”(按电脑选择 Apple silicon 或 Intel 版本)· Windows 双击 Docker Desktop Installer.exe · 装好后打开 Docker Desktop 应用并保持运行。不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号:
docker --version安装一次,所有需要 Docker 的工具都能用
填写 1 项设置
这些是程序设置,不是密钥,无需注册。按开发者的说明填写。
WERBOT_SERVERWerbot server URL
说明仍为英文原文。
打开电脑版 Claude 应用的设置文件
SettingsDeveloperEdit Config
粘贴这些设置并保存文件
{ "mcpServers": { "werbot": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "WERBOT_SERVER", "ghcr.io/werbot/werbot:v0.2.0", "mcp" ], "env": { "WERBOT_SERVER": "your-value" } } } }退出 Claude 再重新打开
试一试
用 Werbot 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 Werbot,或回答中出现 Werbot 的工具名称,就表示连接成功
1 项可选设置(不填也能用)
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
WERBOT_HOME· 默认值 /var/lib/werbot/.werbot
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
ChatGPT 暂时无法连接 Werbot
Werbot 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器
你可以改用这些方式
A · 使用能连接 Werbot 的应用
- 需要填写 1 项设置(WERBOT_SERVER) · 需要先在电脑上安装 Docker(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
- 需要填写 1 项设置(WERBOT_SERVER) · 需要先在电脑上安装 Docker(只需一次)
- 需要填写 1 项设置(WERBOT_SERVER) · 需要先在电脑上安装 Docker(只需一次)
- 需要填写 1 项设置(WERBOT_SERVER) · 需要先在电脑上安装 Docker(只需一次)
B · 开发者工具 类中能连接 ChatGPT 的其他服务器
从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的
- Sentry✓ ChatGPT
- Compiler Explorer✓ ChatGPT
- GitDiagram✓ ChatGPT
可连接 Claude Code,但需要先准备
需要填写 1 项设置(WERBOT_SERVER) · 需要先在电脑上安装 Docker(只需一次)
让 AI 帮你安装
把这段话复制到 Claude Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Claude Code 安装 MCP server Werbot,按顺序:1) 用 docker --version 检查是否有 Docker。没有的话,请让我从 https://www.docker.com/products/docker-desktop/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):claude mcp add --scope user werbot --env WERBOT_SERVER=your-value -- docker run -i --rm -e WERBOT_SERVER ghcr.io/werbot/werbot:v0.2.0 mcp 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) WERBOT_SERVER 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 Werbot 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
安装 Docker(如果还没有)
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
docker --version- 显示版本号(例如 Docker version …)= 已安装,可跳过这一步
- 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
怎么打开终端
Mac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 安装 Docker Desktop:Mac 打开 Docker.dmg,把图标拖到“应用程序”(按电脑选择 Apple silicon 或 Intel 版本)· Windows 双击 Docker Desktop Installer.exe · 装好后打开 Docker Desktop 应用并保持运行。不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号:
docker --version安装一次,所有需要 Docker 的工具都能用
填写 1 项设置
这些是程序设置,不是密钥,无需注册。按开发者的说明填写。
WERBOT_SERVERWerbot server URL
说明仍为英文原文。
打开终端
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
粘贴这条命令并按 Enter
claude mcp add --scope user werbot --env WERBOT_SERVER=your-value -- docker run -i --rm -e WERBOT_SERVER ghcr.io/werbot/werbot:v0.2.0 mcp在 Claude Code 中输入 /mcp
应能看到 Werbot 在列表中并显示已连接
试一试
用 Werbot 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 Werbot,或回答中出现 Werbot 的工具名称,就表示连接成功
1 项可选设置(不填也能用)
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
WERBOT_HOME· 默认值 /var/lib/werbot/.werbot
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor,但需要先准备
需要填写 1 项设置(WERBOT_SERVER) · 需要先在电脑上安装 Docker(只需一次)
让 AI 帮你安装
把这段话复制到 Cursor 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Cursor 安装 MCP server Werbot,按顺序:1) 用 docker --version 检查是否有 Docker。没有的话,请让我从 https://www.docker.com/products/docker-desktop/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "werbot": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "WERBOT_SERVER", "ghcr.io/werbot/werbot:v0.2.0", "mcp" ], "env": { "WERBOT_SERVER": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) WERBOT_SERVER 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 Werbot 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
安装 Docker(如果还没有)
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
docker --version- 显示版本号(例如 Docker version …)= 已安装,可跳过这一步
- 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
怎么打开终端
Mac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 安装 Docker Desktop:Mac 打开 Docker.dmg,把图标拖到“应用程序”(按电脑选择 Apple silicon 或 Intel 版本)· Windows 双击 Docker Desktop Installer.exe · 装好后打开 Docker Desktop 应用并保持运行。不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号:
docker --version安装一次,所有需要 Docker 的工具都能用
填写 1 项设置
这些是程序设置,不是密钥,无需注册。按开发者的说明填写。
WERBOT_SERVERWerbot server URL
说明仍为英文原文。
填写你的密钥
在 Werbot 的设置中,WERBOT_SERVER 还是空的,填入你的密钥并保存
在 Cursor 中以 Agent 模式打开 AI 聊天
试一试
用 Werbot 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 Werbot,或回答中出现 Werbot 的工具名称,就表示连接成功
1 项可选设置(不填也能用)
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
WERBOT_HOME· 默认值 /var/lib/werbot/.werbot
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code,但需要先准备
需要填写 1 项设置(WERBOT_SERVER) · 需要先在电脑上安装 Docker(只需一次)
让 AI 帮你安装
把这段话复制到 VS Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 VS Code 安装 MCP server Werbot,按顺序:1) 用 docker --version 检查是否有 Docker。没有的话,请让我从 https://www.docker.com/products/docker-desktop/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "servers": { "werbot": { "type": "stdio", "command": "docker", "args": [ "run", "-i", "--rm", "-e", "WERBOT_SERVER", "ghcr.io/werbot/werbot:v0.2.0", "mcp" ], "env": { "WERBOT_SERVER": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) WERBOT_SERVER 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 Werbot 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
安装 Docker(如果还没有)
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
docker --version- 显示版本号(例如 Docker version …)= 已安装,可跳过这一步
- 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
怎么打开终端
Mac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 安装 Docker Desktop:Mac 打开 Docker.dmg,把图标拖到“应用程序”(按电脑选择 Apple silicon 或 Intel 版本)· Windows 双击 Docker Desktop Installer.exe · 装好后打开 Docker Desktop 应用并保持运行。不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号:
docker --version安装一次,所有需要 Docker 的工具都能用
填写 1 项设置
这些是程序设置,不是密钥,无需注册。按开发者的说明填写。
WERBOT_SERVERWerbot server URL
说明仍为英文原文。
填写你的密钥
在 Werbot 的设置中,WERBOT_SERVER 还是空的,填入你的密钥并保存
在 VS Code 中以 Agent 模式打开 AI 聊天
试一试
用 Werbot 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 Werbot,或回答中出现 Werbot 的工具名称,就表示连接成功
1 项可选设置(不填也能用)
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
WERBOT_HOME· 默认值 /var/lib/werbot/.werbot
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
开发者专用:终端命令和 JSON 设置
安装在电脑上
Claude Code
claude mcp add --scope user werbot --env WERBOT_SERVER=your-value -- docker run -i --rm -e WERBOT_SERVER ghcr.io/werbot/werbot:v0.2.0 mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"werbot": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"WERBOT_SERVER",
"ghcr.io/werbot/werbot:v0.2.0",
"mcp"
],
"env": {
"WERBOT_SERVER": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"werbot": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"WERBOT_SERVER",
"ghcr.io/werbot/werbot:v0.2.0",
"mcp"
],
"env": {
"WERBOT_SERVER": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"werbot": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"WERBOT_SERVER",
"ghcr.io/werbot/werbot:v0.2.0",
"mcp"
],
"env": {
"WERBOT_SERVER": "your-value"
}
}
}
}需要你填写的值
WERBOT_HOMEenvWERBOT_SERVER必填 envWerbot server URL
说明仍为英文原文。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
一览
哪些应用可以使用它
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月26日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 werbot 验证,该账户拥有此仓库
- ✓ 通过
仍在维护
代码最后更新于今天
- ✓ 通过
有许可证
使用 AGPL-3.0
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
作者:申请重新检查或报告信息错误
给作者:在 README 中加徽章
如果你是作者,可把这段代码贴到 README。徽章会链接回本页。
[](https://mcp.popnx.com/en/servers/werbot)讨论
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
用户评价
还没有评价
与“开发者工具”中的其他服务器比较i
- 星标数多于此分类中其他 7984 个服务器的 98%
- 发布到注册中心的时间比此分类中其他 7984 个服务器的 99% 更新
- 基础检查结果等于或优于此分类中其他 7984 个服务器的 99%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Werbot 安全吗?
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于今天,最新版本(0.2.0)于今天进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Docker。
有什么可以替代它?
同一分类中有:GitDiagram, Appllama, Cloudflare MCP, Omnara, Repowise
功能相近的其他选择
同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
GitDiagram
Architecture diagrams, explanations and Mermaid source for public GitHub repositories.
Appllama
Study screens, flows and paywalls from top-earning iOS apps, then build from what wins.
Omnara
Deploy durable AI agents with Omnara, an open-source managed-agent platform.
Repowise
Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.
| 本项 Werbot | GitDiagram | Appllama | Cloudflare MCP | Omnara | Repowise | |
|---|---|---|---|---|---|---|
| 运行位置 | 需要安装在电脑上 | 在云端运行,无需安装 | 在云端运行,无需安装 | 在云端运行,无需安装 | 在云端运行,无需安装 | 云端或安装在电脑上都可以 |
| 需要密钥 | 否 | 否 | 否 | 否 | 否 | 否 |
| 可在 Claude 中按 + 添加 | 否 | 否 | 否 | 是 | 否 | 否 |
| 基础检查 | 3/3 | 4/4 | 4/4 | 4/4 | 4/4 | 5/5 |
| 许可证 | AGPL-3.0 | MIT | MIT | Apache-2.0 | Apache-2.0 | AGPL-3.0 |
| 价格 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 |
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Werbot
Werbot is an open-source access gateway that authorizes every command from people and AI agents to servers and databases, records everything, and never hands out a single password.
Status
Pre-release (v0.x): breaking changes are possible, see docs/upgrading.md.
Quick start (5 minutes)
You need Docker with Compose v2. Run in an empty directory:
export WERBOT_VERSION=v0.1.1
mkdir werbot && cd werbot curl -fsSLO https://raw.githubusercontent.com/werbot/werbot/$WERBOT_VERSION/deploy/docker-compose.yaml curl -fsSL https://raw.githubusercontent.com/werbot/werbot/$WERBOT_VERSION/deploy/.env.example -o .env sed -i.bak \ -e "s|^WERBOT_VERSION=.*|WERBOT_VERSION=$WERBOT_VERSION|" \ -e "s|^WERBOT_SECRET_KEY=.*|WERBOT_SECRET_KEY=$(openssl rand -base64 32)|" \ -e "s|^POSTGRES_PASSWORD=.*|POSTGRES_PASSWORD=$(openssl rand -hex 24)|" \ .env && rm .env.bak docker compose up -d --wait
On a remote server the login over plain http:// :8080 does not work (the session cookie is Secure): use an SSH tunnel or a TLS proxy, see docs/install.md.
Open http://localhost:8080 and create the first account. What runs, ports and volumes: docs/install.md.
Client quick start
Set the SSH address of the pool (Gateways page, pool details; localhost:2222 for the quick start above), add a resource and bind it to yourself. Then run werbot login --server http://localhost:8080 on your computer and continue with docs/cli.md.
AI agents (Claude Code, Codex, Cursor) connect through werbot mcp: they run commands as a run of your account, under a read-only baseline, with no SSH key or password of their own (docs/agents.md).
Other ways to install
- Binary and systemd: docs/install.md.
- Gateway on another host: docs/gateway.md.
- Web UI on its own host and domain: docs/web.md.
- Several server replicas and gateway pools: docs/scaling.md.
Verify downloads
Releases and images are signed with cosign (keyless) and ship SBOMs. Commands: docs/security.md.
Documentation
- install.md: Docker Compose, remote access, binary.
- gateway.md: pools, join tokens, instances, SSH address, firewall, connections.
- web.md: the web UI on its own host (
werbot web). - configuration.md: every environment variable.
- upgrading.md: pre-1.0 policy, backup, upgrade order.
- security.md: reporting, release verification, threat model, join tokens, CLI sessions and user certificates.
- scaling.md: replicas, load balancing, PostgreSQL, Kubernetes, metrics, cluster example.
- failure-modes.md: what happens when a part fails.
- connectors.md: adding a target type.
- cli.md:
werbot login, profiles, certificates,ssh,ssh-config,proxy, access requests. - jit.md: just-in-time access: requests, approval policies, break-glass, grants, locks, lock mode.
- policies.md: command policies: risk classes, class overrides, command rules, folder rules, the command console, custom Cedar, command approvals, output masking.
- ssh-hardening.md: host permissions under the Werbot rules: accounts per access level, ACLs, SFTP-only accounts, narrow
sudo. - connect.md: the
werbot connectclient, also over WebSocket. - vnet.md:
werbot connect --vnet: an address and a DNS name per resource, TCP and UDP, on Linux and macOS. - web-terminal.md: the web terminal, the live view of a running session, Terminate, close codes and limits.
- sso.md: single sign-on with OpenID Connect: IdP setup, claims mapping, provisioning and linking, the hourly check, IdP outages.
- mfa.md: TOTP, passkeys and recovery codes,
require_mfa, MFA rules for SSH and the web terminal, fresh MFA for admin actions, rate limits. - agents.md: AI agents:
werbot mcp,werbot agent run, sponsors, runs, the baseline, limits, the kill switch, agent profiles. - migrate-from-boundary.md: how HashiCorp Boundary objects map to Werbot, what you move by hand.
The same pages are on the documentation site: https://docs.werbot.com. A demo stack is in deploy/demo/. The MCP Registry entry is server.json.
Release notes (the changelog): GitHub Releases.
Security
Report vulnerabilities privately: docs/security.md.
Development
Requirements:
- Go 1.27
- Bun 1.3
- Docker (local Postgres 18 and the compose stack)
Quick start from source
make dev-db # Postgres 18 on localhost:27432 (postgres/password), Mailpit SMTP :27025, UI http://localhost:27825
(cd web && bun install) # web/node_modules is required by make proto make proto # buf lint + generate (Go and TypeScript) make build # builds the UI and bin/werbot export WERBOT_SECRET_KEY="$(openssl rand -base64 32)" # generate once and keep: it decrypts resource credentials and queued email jobs WERBOT_ENV=development \ WERBOT_DATABASE_URL='postgres://postgres:password@localhost:27432/postgres?sslmode=disable' \ WERBOT_SMTP_HOST=localhost WERBOT_SMTP_PORT=27025 WERBOT_SMTP_FROM=werbot@localhost \ WERBOT_PUBLIC_URL=http://localhost:8080 ./bin/werbot server
WERBOT_ENV=development is for local plain-http runs: the session cookie is werbot_session without Secure, STARTTLS is used only when the SMTP server offers it (Mailpit does not), and without SMTP the log shows the full email text with reset and invite links. Production mode uses __Host-werbot_session with Secure, which browsers drop over plain http on any host but localhost (Safari drops it on localhost too).
Commands: ./bin/werbot .
serverruns migrations (schema and River job queue) and creates the internal gateway CA and the ed25519 key that signs session recording manifests on first start, under an advisory lock. Then it serves the API (and the UI when embedded), the gateway tunnel onWERBOT_GATEWAY_ADDRand runs the River job client.server --with-gatewayalso runs a gateway instance in the same process. Each replica joins the system poollocalof the first organization (by creation time) with a system join token (max uses 1); beforeSetupit checks for an organization every 5s. It reaches its own server over loopback (http://127.0.0.1:, tunnelhttps://127.0.0.1:), so both addresses must accept connections on 127.0.0.1: leave the host empty (:8080) or use0.0.0.0or127.0.0.1, not a single non-loopback IP. It keeps its identity inWERBOT_DATA_DIR/gateway(orWERBOT_GATEWAY_DATA_DIR) and reads the otherWERBOT_GATEWAY_*variables (docs/configuration.md); it refuses loopback, link-local (including cloud metadata), multicast and unspecified targets and the resolved addresses of the database host unlessWERBOT_LOCAL_POOL_ALLOW_LOOPBACK=true(docs/configuration.md), so a same-host database needs that opt-in, while the host's LAN addresses stay reachable (this applies totelnet,tcpandudpsessions and to health probes;sshresources keep their own dial, so a loopbacksshresource connects but its health showsunhealthy); its metrics go to the server's/metrics. Database and enrollment errors before the instance is enrolled are logged and retried (the wait doubles up to 5 minutes, a new system token each time); a busy SSH port or a failure after enrollment stops the server. On shutdown the gateway drains its sessions before the server closes the tunnel, so allowWERBOT_GATEWAY_DRAIN_TIMEOUTplus about 40s for the stop (compose:stop_grace_period: 70s).- Upgrade the server and every standalone gateway to the same release together: the server requires the session kind (
terminal,exec,stream,datagram) that older gateways do not send, so their new sessions fail until they are upgraded. gatewayruns a standalone gateway instance (./bin/werbot gateway --helplists the flags:--server,--join-token,--data-dir,--ssh-addr,--proxy-protocol,--name,--idle-timeout,--http-addr,--drain-timeout,--max-sessions,--spool-max,--max-duration, and the flag-only--insecure-enroll).- Web UI
/gateways(owners and admins): create pools, see instances (online within 45s of the last heartbeat) and manage join tokens. "Create join token" shows theWERBOT_GATEWAY_JOIN_TOKEN= werbot gateway --servercommand once (the env form keeps the token out ofpsoutput and shell history); the token is not shown again. The resource form shows a pool select when more than one pool exists. - Web UI
/sessions(every user; members see only their own): session list filtered by status and period (owners and admins also by user and resource) and, per session, its details, the recording integrity badge (Recording verifiedwhenX-Werbot-Recording-Verifiedistrue, a failure banner otherwise, a notice while the recording is unfinished) and an asciinema player of/api/recordings/{session_id}.cast. The list shows the command a session ran with its classes and bytes up and down; the details add kind, target and, for datagram sessions, datagram counts. The resource pages offertelnet,tcpandudpforms (port ranges like22, 8000-8100), idle timeout and max duration in minutes, a health dot, connect hints per session kind, and ports on bindings oftcpandudpresources. - Web UI
/requests(every user): new request (resource, duration, reason, break-glass), tabs My requests, To approve (with the pending count) and All (owners and admins), approve and deny with a comment, grants with revoke and break-glass review./policies/approvalsand/locks(owners and admins) manage approval policies and locks. - Web UI
/audit(owners and admins): the audit log filtered by action, actor and period; the filter lives in the query string (/audit?action=session&actor= &from=YYYY-MM-DD&to=YYYY-MM-DD,toinclusive). A click on an event opens its fields anddata. connectopens local ports that reachtcp,udpand other port resources through a gateway (docs/connect.md);connect --vnetgives each resource an address and a name. .werbotinstead (Linux and macOS, root orCAP_NET_ADMIN; docs/vnet.md).request,requests,approve,denyask for just-in-time access to a resource, list requests and decide them (docs/cli.md);lsmarks resources you can only request withACCESSrequest.login,logout,status,ls,ssh,ssh-configsign the CLI in with a browser or device flow, keep a profile and a short-lived SSH certificate inWERBOT_HOME, and open sessions with the systemssh(docs/cli.md);connectuses the profile when there is one.proxyconnects stdin and stdout to a gateway (over SSH or its WebSocket URL) for an OpenSSHProxyCommand.mcp,agent run,agentsrun an AI agent as a run of your account (MCP on stdio, or a program withsshset up) and manage your agents and agent profiles (docs/agents.md).migrateruns migrations (schema and