KnowBe4 MCP
概览
作者提供的说明(英文原文)
Every KnowBe4 KMSAT reporting feature plus a local SQLite store that answers the cross-client
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i1 项中通过 1 项依据公开信息检查;尚未扫描代码
- 使用情况i非常新★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在你的电脑上运行
- 传输方式: stdio
- 分类: 数据库与数据集
- 你需要填写:KNOWBE4_API_KEY, KNOWBE4_USER_EVENT_API_KEY, PRINTING_PRESS_CLIENT_PROFILE, KNOWBE4_MCP_HTTP_TOKEN
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:1 项中通过 1 项
- 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
- 需要你自己填写:
KNOWBE4_API_KEY,KNOWBE4_BASE_URL,KNOWBE4_REGION,KNOWBE4_USER_EVENT_API_KEY,KNOWBE4_USER_EVENT_BASE_URL,PRINTING_PRESS_CLIENT_PROFILE,KNOWBE4_MCP_READ_ONLY,KNOWBE4_NO_LOCAL_DATA,KNOWBE4_MCP_HTTP_TOKEN,KNOWBE4_USER_AGENT
标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
链接指向作者自己的文件;我们不托管也不重新打包它。打开文件后,Claude Desktop 会进行安装。
在终端中运行这条命令
运行前请先填写空着的值。
浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
需要你填写的值
- Set the KNOWBE4_API_KEY credential for the KnowBe4 MCP server.
KNOWBE4_BASE_URLenvFull API base URL. Leave blank: the CLI builds it from KNOWBE4_REGION. Set it only to point at a different host.KNOWBE4_REGIONenvYour tenant's KnowBe4 server: us, eu, ca, uk or de. Builds the API base URL; default us.- Optional. The separate User Event API key (KnowBe4 User Event API Management Console > API key), used only by the events commands to push custom risk events. Sent only to the User Event API host for…
KNOWBE4_USER_EVENT_BASE_URLenvOptional. Overrides the User Event API host the events commands use. Leave blank to use the host for your KNOWBE4_REGION.- Optional: binds the MCP server to an existing tenant-gated Printing Press client profile. Leave unset for a single-tenant install.
KNOWBE4_MCP_READ_ONLYenvOptional. Set to exactly 1 to expose only read-only tools and refuse any non-GET execute call. Preset to 1; clear it only when you want the agent to run the tools this switch hides.KNOWBE4_NO_LOCAL_DATAenvOptional. Set to 1 to keep no local copy of API responses: reads go to the API, the response cache is off, and sync refuses to run. Leave blank to keep the local store.- Required only when running the MCP server with --transport http. Not needed for the default local stdio transport.
KNOWBE4_USER_AGENTenvOverrides the User-Agent the CLI sends on KnowBe4 requests.
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 servosity 验证,该账户拥有此仓库
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与“数据库与数据集”中的其他服务器比较i
- 星标数多于此分类中其他 1151 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 1151 个服务器的 93% 更新
- 基础检查结果等于或优于此分类中其他 1151 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
KnowBe4 MCP 安全吗?
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
你需要填写:KNOWBE4_API_KEY, KNOWBE4_USER_EVENT_API_KEY, PRINTING_PRESS_CLIENT_PROFILE, KNOWBE4_MCP_HTTP_TOKEN
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(0.1.8)于前天进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 MCPB。
有什么可以替代它?
同一分类中有:Supabase, MongoDB MCP Server, Elasticsearch MCP Server
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
KnowBe4 + AI - for Claude, the ChatGPT desktop app, GitHub Copilot, Gemini CLI, and any agent that speaks MCP
Unofficial. Community-built Claude Code Skill and MCP server for the KnowBe4
API. Not affiliated with, endorsed by, or sponsored by KnowBe4, Inc.
▶ Watch the 30-second demo - demo data is simulated; every command shown exists in the real CLI.
Every KnowBe4 KMSAT reporting feature plus a local SQLite store that answers the cross-client questions the console can't - repeat-clicker hunts and training-coverage anti-joins. Works with the AI you already use - ChatGPT (desktop app), Claude Desktop, Codex, Claude Code, Claude Cowork, and GitHub Copilot - plus Gemini CLI. Free, open source, runs on your laptop. Built for MSP owners. No code required.
Works with your agent
Security note (until this connector is reprinted). Do not run HTTP mode
(
--transport http), not even on localhost. This build has no password,
listens on every network interface, and predates the browser-rebinding guard,
so a web page you open can reach it. The MCP tools can also read your data
with your credentials. Use the default stdio transport. If you set up a tunnel
for a remote agent, shut it down. A fix is on the way.
The six agents MSP owners actually use (self-serve, works today):
| Your AI agent | How to install the KnowBe4 skill |
|---|---|
| Claude Desktop | Run installer, then Settings > Extensions to register knowbe4-mcp (no JSON editing). |
| ChatGPT (desktop app) | Run installer, then add knowbe4-mcp in Settings > MCP servers as a local (STDIO) server. ChatGPT on the web is not supported yet. |
| Codex CLI | Paste the install prompt below. |
| Claude Code | Paste the install prompt below. |
| Claude Cowork | Paste the install prompt below. |
| GitHub Copilot (VS Code) | Run installer, add knowbe4-mcp to mcp.json under the servers key, then pick Agent mode. |
The ChatGPT desktop app runs knowbe4-mcp locally and shares MCP configuration with Codex (OpenAI). ChatGPT on the web needs a remote (HTTP) server, and this connector's HTTP mode is paused until it is reprinted (see the security note in mcp-install.md), so msp-skills does not support it yet. If your team works there, a hosted gateway is the better pick; check that your AI app is on the gateway's setup list.
Also for the Microsoft and Google stacks
Big install base, but an honest heads-up: Gemini CLI runs the local binary you just installed, while Microsoft 365 Copilot and the Gemini app need a remote server, which msp-skills does not support yet.
| Agent | What it takes |
|---|---|
| Microsoft 365 Copilot / Copilot Studio | Not supported by msp-skills yet: it needs a remote server. A hosted gateway is the better pick; check that your AI app is on the gateway's setup list. |
| Google Gemini | Gemini CLI is local - same as Claude Code. See mcp-install.md. The Gemini app needs a remote server and is not supported by msp-skills yet. |
Skill-native agents (also covered): Hermes and OpenClaw read this skill's
SKILL.mddirectly *and* speak MCP - see their install sections below. Also works with Cursor, Windsurf, Cline, Continue.dev, and Zed via MCP. Full per-tool wire-up: [docs/which-agent.md](../../docs/which-agent.md).
Run more than one agent? Install across all 51+ supported agents in one command:
npx skills add Servosity/msp-skills@latest(requires Node.js, then run the per-skill installer for the CLI/MCP binaries). See docs/which-agent.md.
Install in 60 seconds
Fastest for Claude Desktop - one-click .mcpb
Claude Desktop bundle: the
.mcpblaunches on macOS (Intel and Apple Silicon), Windows x64 and Linux x64. Every tool shells out to the companionknowbe4-cli. Releases cut from 2026-09-18 on ship that CLI inside the bundle; older bundles contain only the MCP server, so if yours lacks the companion, run the Path A or Path B installer below first (or setKNOWBE4_CLI_PATHto an existing binary). Details: #331.
Download KnowBe4 MCP (.mcpb) - then open Claude Desktop > Settings > Extensions and select the file. One click, no JSON, no shell. (Browse every KnowBe4 release on the releases page.)
Prefer the Claude Code plugin? Add the marketplace once, then install - works immediately, no directory listing required:
/plugin marketplace add Servosity/msp-skills
/plugin install knowbe4@msp-skills
Path A - paste one prompt into your AI agent (recommended)
Copy this into Claude Code, Codex CLI, or Claude Cowork:
Install the KnowBe4 Skill and MCP server from Servosity/msp-skills in this agent workspace. If this workspace uses a POSIX shell (macOS, Linux, WSL, or Bash), run
bash <(curl -fsSL https://raw.githubusercontent.com/Servosity/msp-skills/main/skills/knowbe4/install.sh). If it uses Windows PowerShell, runiwr -useb https://raw.githubusercontent.com/Servosity/msp-skills/main/skills/knowbe4/install.ps1 | iex. Then authenticate per the README and runknowbe4-cli --helpto explore.
The same prompt works in any agent that can run shell.
Path B - run the installer yourself
Windows (PowerShell):
iwr -useb https://raw.githubusercontent.com/Servosity/msp-skills/main/skills/knowbe4/install.ps1 | iex
macOS / Linux:
bash <(curl -fsSL https://raw.githubusercontent.com/Servosity/msp-skills/main/skills/knowbe4/install.sh)
The installer drops both knowbe4-cli (the CLI) and knowbe4-mcp (the MCP server) into your user bin path. Claude Code, Codex, and Cowork discover the Skill via SKILL.md in this directory.
Verify:
knowbe4-cli --version
Upgrade to the latest version
The installer always fetches the current release - re-run it to upgrade:
macOS / Linux:
bash <(curl -fsSL https://raw.githubusercontent.com/Servosity/msp-skills/main/skills/knowbe4/install.sh)
Windows (PowerShell):
iwr -useb https://raw.githubusercontent.com/Servosity/msp-skills/main/skills/knowbe4/install.ps1 | iex
Claude Desktop .mcpb users: download the latest .mcpb (top of this section) and re-select it in Settings > Extensions. Claude Code plugin users: /plugin update knowbe4@msp-skills.
Add to Claude Desktop, the ChatGPT desktop app, GitHub Copilot, Gemini CLI, or another MCP client
After the installer runs, see [mcp-install.md](./mcp-install.md) and [docs/which-agent.md](../../docs/which-agent.md) for the per-agent wire-up - one section per agent, including the GitHub Copilot servers key and the ChatGPT desktop app. Claude Desktop's Settings > Extensions panel is the simplest path; the MCP config block (for users who prefer editing JSON) is documented in mcp-install.md.
Install for Hermes
From the Hermes CLI:
hermes skills install servosity/msp-skills/skills/knowbe4 --force
Inside a Hermes chat session:
/skills install servosity/msp-skills/skills/knowbe4 --force
Hermes speaks MCP natively, so it can also use the knowbe4-mcp server directly - same install path, same env vars.
Install for OpenClaw
Tell your OpenClaw agent (copy this):
Install the knowbe4 skill from https://github.com/servosity/msp-skills/tree/main/skills/knowbe4. The skill defines how its required CLI (
knowbe4-cli) can be installed via theopenclaw:frontmatter block.
OpenClaw isn't generally available yet; the frontmatter wiring is pre-shipped and will activate the moment OpenClaw launches.
Authenticate
Set the credentials the CLI needs (from your KnowBe4 portal):
KNOWBE4_API_KEY=<value> KNOWBE4_REGION=<value> knowbe4-cli doctor
doctor confirms the credentials work before you run anything that touches data. It exits 0 even when the credential is rejected, so scripts should add --fail-on error.
What this skill does
| Question your MSP keeps asking | Command |
|---|---|
| Who clicked the bait in more than one phishing test? | knowbe4-cli repeat-clickers --min-clicks 2 --since 90d |
| Who clicked a phish but never passed training? | knowbe4-cli untrained-clickers --since 180d |
| Whose risk score is getting worse this quarter? | knowbe4-cli risk-drift --window 90d --worsened --top 20 |
| Which active users have zero training or zero phishing coverage? | knowbe4-cli coverage-gaps |
| Is training actually working for the Finance group? | knowbe4-cli phish-prone-trend --group "Finance" --since 12mo |
| Who are my highest-risk users, with the why behind the score? | knowbe4-cli risk-leaderboard --top 25 |
| Which departments are driving our risk up? | knowbe4-cli group-risk-contribution --window 90d --top 10 |
| Assemble the full client quarterly review in one command | knowbe4-cli qbr --since 90d |
| Who never reports a simulated phish? | knowbe4-cli report-rate --bottom 25 |
Full command reference: guide.md. For the AI-agent operating contract (--agent, --dry-run, when to confirm before mutating), see AGENTS.md.
What makes this different
Most KnowBe4 integrations and MCP servers proxy each question into a live API call. That's fine for one record. It dies at scale, when you're asking "who are my repeat clickers across all 40 client tenants this quarter" - a question no single KnowBe4 endpoint answers.
This skill syncs KnowBe4 into a local SQLite mirror with full-text search. Aggregate questions become one local SQL join: instant, offline, and the AI sees the answer, not the raw data. Compound commands like repeat-clickers, untrained-clickers, and qbr join across phishing tests, training enrollments, and risk-score snapshots - work a stateless API wrapper can't do, because KnowBe4 keeps those records in separate reports.
The pain this closes
On r/msp the recurring KnowBe4 complaint is reporting, not the product: the KMSAT console answers one tenant, one phishing test, and one risk chart at a time, so any cross-client or cross-test question turns into a CSV export and a pivot table. The hardest gap is correlation - phishing results and training completion live in separate reports, so the most useful list a vCISO owns (clicked a phish, never finished training) doesn't exist in the portal. This skill closes that with untrained-clickers (the anti-join), repeat-clickers (the riskiest humans across every test), risk-drift (who is deteriorating), coverage-gaps (who your program silently misses), and qbr (the whole quarterly review in one command).
See pain-point.md for the longer narrative.
Frequently asked questions
Does this work with ChatGPT?
Yes, in the ChatGPT desktop app. It runs MCP servers locally (STDIO), the way knowbe4-mcp runs, and shares MCP configuration with Codex ([OpenAI](https
只显示了开头部分;其余内容请在仓库中阅读