WP HealthKit

com.wphealthkit由 wphealthkit.com 发布官方发布者v0.6.4更新于 Oct 24, 2026

Security audits for WordPress plugins and themes — 62 verification layers, fix plans and SBOMs.

已验证Streamable HTTP可网页运行开发者工具安全与监控

概览

AI 生成的概览

调用 WP HealthKit 对 WordPress 插件和主题做安全审计,返回问题清单、评级、修复提示和批量风险汇总。

可以做什么
  • 按 slug 审计 wp.org 插件、审计本地插件 ZIP,或按批次审计目录内所有 ZIP
  • 轮询审计状态并读取完整报告、评级和风险等级
  • 按严重程度和类别筛选、分页查看问题清单
  • 获取按严重程度分组的 AI 修复提示,可直接交给编码助手
  • 不消耗审计额度地查询插件现有评级和问题数量
  • 查看本月用量与配额,并将问题标记为误报
适用场景
适合在安装或发布 WordPress 插件前做安全检查,在编码助手中把审计结果转成修复提示,或需要批量筛查一批插件 ZIP 时使用。
运行要求
需要 WP HealthKit API 密钥,通过环境变量 WPHK_API_KEY 提供,可在服务商控制台获取。可作为远程端点使用,也可通过 npx 在本地运行(需 Node.js)。声明使用 OAuth 认证。可选环境变量 WPHK_API_URL 可指向自建或测试实例。
安装前请注意
API 密钥是敏感信息,通过环境变量传入,避免写入共享配置文件。审计会消耗与套餐挂钩的月度配额,批量运行可能很快用完。本地 ZIP 路径和目录路径会发送到该服务进行扫描。标记误报会向 WP HealthKit 团队提交报告以供审核。

安装

在 SourceWeft 中

  1. 打开 控制台中的 WP HealthKit,将其添加到工作区。
  2. 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/com.wphealthkit%2Fmcp-server/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。

{
  "mcpServers": {
    "wp-healthkit": {
      "type": "http",
      "url": "https://mcp.wphealthkit.com/mcp"
    }
  }
}

README

@wphealthkit/mcp-server v0.4.0

An MCP (Model Context Protocol) server that gives AI assistants direct access to WP HealthKit's plugin audit API. Once configured, tools like Claude Desktop, Claude Code, and Cursor can trigger security audits, retrieve findings, fetch AI-ready fix prompts, bulk-audit entire plugin directories, and flag false positives — all without leaving the chat interface.

Setup

Required environment variable

WPHK_API_KEY=your_api_key_here

Get your API key from wphealthkit.com/dashboard.

Claude Desktop

Add the following to your claude_desktop_config.json (usually at ~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

json
{  "mcpServers": {    "wphealthkit": {      "command": "npx",      "args": ["-y", "@wphealthkit/mcp-server"],      "env": {        "WPHK_API_KEY": "your_api_key_here"      }    }  }}

Claude Code

Add to your project's .mcp.json:

json
{  "mcpServers": {    "wphealthkit": {      "command": "npx",      "args": ["-y", "@wphealthkit/mcp-server"],      "env": {        "WPHK_API_KEY": "your_api_key_here"      }    }  }}

Cursor

Open Cursor Settings > MCP > Add Server and use:

json
{  "wphealthkit": {    "command": "npx",    "args": ["-y", "@wphealthkit/mcp-server"],    "env": {      "WPHK_API_KEY": "your_api_key_here"    }  }}

Available tools

ToolDescription
audit_pluginTrigger a security audit for a wp.org plugin by slug. Returns an audit ID.
audit_plugin_zipTrigger an audit from a local ZIP file. Returns an audit ID.
audit_plugins_bulkAudit all plugin ZIP files in a local directory. Submits in batches of 10, streams results as each completes, and prints a final summary with risk breakdown and links to top findings.
get_reportPoll the status and full results of an audit by its ID.
get_findingsGet paginated findings, with optional filters for severity and category.
get_fix_promptGet AI-ready fix prompts for an audit's findings, batched by severity.
check_pluginLook up a plugin's security grade, risk level, and findings count from the directory.
list_usageCheck your current usage — audits used this month, tier, and limits.
flag_findingFlag a finding as a false positive. The report goes to the WP HealthKit team for review; confirmed patterns result in a scanner rule update that prevents that pattern in all future audits.

Tool reference

audit_plugin

Triggers a security audit for any plugin hosted on wp.org.

Parameters

ParameterTypeRequiredDescription
slugstringYesThe wp.org plugin slug (e.g. "contact-form-7").
enginesstring[]NoAudit engines to run. Defaults to all engines.

Example

javascript
audit_plugin({ slug: "contact-form-7" })// Returns: { auditId: "abc-123", status: "queued" }

audit_plugin_zip

Triggers an audit from a local ZIP file. Useful for plugins not on wp.org or pre-release builds.

Parameters

ParameterTypeRequiredDescription
pathstringYesAbsolute path to the ZIP file on disk.
enginesstring[]NoAudit engines to run. Defaults to all engines.

Example

javascript
audit_plugin_zip({ path: "/Users/me/plugins/my-plugin.zip" })// Returns: { auditId: "def-456", status: "queued" }

audit_plugins_bulk

Audits all plugin ZIP files in a local directory. Submissions are batched in groups of 10. Results stream as each audit completes, and a final summary table is printed with a risk breakdown and links to top findings.

Parameters

ParameterTypeRequiredDescription
directorystringYesAbsolute path to the directory containing plugin ZIPs.
enginesstring[]NoAudit engines to run (e.g. ["performance"]). Defaults to all engines.
patternstringNoGlob pattern to match files. Defaults to "*.zip".

Example

javascript
audit_plugins_bulk({ directory: "/Users/me/plugins", engines: [] })

Output

Results stream to the conversation as each plugin completes. Once all audits finish, the tool prints a summary table:

Plugin                  Risk      Findings   Report----------------------  --------  ---------  ----------------------------------------my-plugin.zip           CRITICAL  14         https://wphealthkit.com/report/abc-123another-plugin.zip      LOW       2          https://wphealthkit.com/report/def-456legacy-plugin.zip       HIGH      7          https://wphealthkit.com/report/ghi-789
Summary: 3 plugins audited — 1 CRITICAL, 1 HIGH, 0 MEDIUM, 1 LOW

get_report

Polls the status and full results of an audit. Call this after audit_plugin or audit_plugin_zip to wait for completion and retrieve the report.

Parameters

ParameterTypeRequiredDescription
auditIdstringYesThe audit ID returned by audit_plugin or audit_plugin_zip.

Example

javascript
get_report({ auditId: "abc-123" })// Returns: { status: "completed", grade: "C", riskLevel: "HIGH", findingsCount: 7, reportUrl: "..." }

get_findings

Returns paginated findings for a completed audit. Supports filtering by severity and category.

Parameters

ParameterTypeRequiredDescription
auditIdstringYesThe audit ID.
severitystringNoFilter by severity: "CRITICAL", "HIGH", "MEDIUM", or "LOW".
categorystringNoFilter by category (e.g. "xss", "csrf", "performance").
pagenumberNoPage number for pagination. Defaults to 1.

Example

javascript
get_findings({ auditId: "abc-123", severity: "CRITICAL" })

get_fix_prompt

Returns AI-ready fix prompts for an audit's findings, grouped and batched by severity. Pass the output directly to a coding assistant to generate patches.

Parameters

ParameterTypeRequiredDescription
auditIdstringYesThe audit ID.
severitystringNoLimit prompts to a specific severity level.

Example

javascript
get_fix_prompt({ auditId: "abc-123", severity: "HIGH" })

check_plugin

Looks up a plugin's current security grade, risk level, and findings count from the WP HealthKit directory without triggering a new audit.

Parameters

ParameterTypeRequiredDescription
slugstringYesThe wp.org plugin slug.

Example

javascript
check_plugin({ slug: "woocommerce" })// Returns: { grade: "B", riskLevel: "MEDIUM", findingsCount: 3, lastAudited: "2026-04-20" }

list_usage

Returns your current billing period usage — audits consumed, tier, and remaining quota.

Parameters

None.

Example

javascript
list_usage()// Returns: { auditsUsed: 47, auditsLimit: 100, tier: "pro", resetsAt: "2026-05-01" }

flag_finding

Flags a finding as a false positive. The report is reviewed by the WP HealthKit team. If the pattern is confirmed as a false positive, the scanner rule is updated to prevent the same result from appearing in all future audits.

Parameters

ParameterTypeRequiredDescription
auditIdstringYesUUID of the audit containing the finding.
findingIdstringYesID of the finding to flag (e.g. "finding-12").
findingTitlestringYesTitle of the finding as shown in the report.
reasonstringNoExplanation of why this is a false positive.

Example

javascript
flag_finding({  auditId: "abc-123-def-456",  findingId: "finding-5",  findingTitle: "Named arguments used in internal function call",  reason: "These are positional args — the scanner is misidentifying the call signature"})// Returns: { flagged: true, reviewTicket: "FP-2891" }

Usage flows

Audit a single plugin and get fix prompts

audit_plugin({ slug: "my-plugin" })  → get_report({ auditId: "..." })          // poll until status === "completed"  → get_findings({ auditId: "...", severity: "CRITICAL" })  → get_fix_prompt({ auditId: "..." })

Audit all plugins in a local directory

audit_plugins_bulk({ directory: "/Users/me/plugins" })  // streams per-plugin results as they complete  // prints final summary table with risk breakdown

Check a plugin before installing

check_plugin({ slug: "advanced-custom-fields" })  // returns grade, risk level, and findings count without consuming an audit credit

Flag a false positive after reviewing findings

get_findings({ auditId: "...", severity: "HIGH" })  → flag_finding({      auditId: "...",      findingId: "finding-12",      findingTitle: "Unescaped output in template",      reason: "Output is escaped upstream via wp_kses before reaching this call"    })

Environment variables

VariableDefaultDescription
WPHK_API_KEY—Required. Your WP HealthKit API key.
WPHK_API_URLhttps://wphealthkit.com/api/v1Override to point at a self-hosted or staging instance.

License

MIT

来源:README.md,提交 9c3e31d

工具

0
该服务器需要 API 密钥等凭据,因此 SourceWeft 无法在没有凭据的情况下读取其工具,也未收录。

版本历史

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

评分

已满足适用检查项的 85%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分