OhMyBug

ai.ohmybug由 ohmybug.ai 发布官方发布者v1.0.1更新于 Nov 6, 2026

Code review for your coding agent's changes: a cloud bug hunt. From $4; $0 if clean or minor-only.

已验证Streamable HTTP可网页运行开发者工具AI 与机器学习

概览

AI 生成的概览

云端查虫评审服务:把编码代理的改动发送到 OhMyBug 的模型,返回经分诊的缺陷发现,再由代理逐条核实。

可以做什么
  • 提交 diff、分支、提交范围或零散文件进行云端评审,获得评审编号与状态
  • 轮询进行中的查虫任务,取回含严重程度、文件、行号、失败场景与修复建议的发现
  • 按需补充查虫任务索要的文件,或由插件从磁盘读取
  • 回传代理的 REAL / NOT_REAL / UNCLEAR 判定以确认发现,并获得计费回执
  • 查询余额、剩余免费评审次数与已确认缺陷统计
  • 在内容离开本机前扫描凭据
适用场景
适合在合并前对编码代理的改动做一次独立的云端评审,而不只依赖本地评审。也适合希望对某个 diff 或仓库近 30 天改动做对抗式查虫、并接受按确认结果付费的团队。
运行要求
远程 MCP 端点,通过 GitHub 进行 OAuth 登录,自动创建账户并附赠首次免费评审。无头 CI 可改用运营方签发的 API 密钥,通过 OHMYBUG_API_KEY 环境变量作为 bearer token 提供。仓库扫描功能需要在该仓库安装 OhMyBug GitHub App。密钥扫描需要 python3,且在 Windows 上不运行。
安装前请注意
评审收费:快速 4 美元、深度 12 美元、大范围改动深度 24 美元,仅在确认存在真实缺陷时计费;接受深度查虫邀约即产生费用。diff 与所选文件内容会上传到 OhMyBug 云端,密钥扫描可通过 OHMYBUG_SECRET_SCAN=0 关闭,且在部分情况下(包括超大 diff 的带外上传)不会执行。合并闸门会阻止 gh pr merge,直到最终 diff 已查虫;OHMYBUG_AUTO_RESUME=1 会让插件自行发起回合。

安装

在 SourceWeft 中

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

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

交给智能体安装

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

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

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

其他 MCP 客户端

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

{
  "mcpServers": {
    "ohmybug": {
      "type": "http",
      "url": "https://mcp.ohmybug.ai/mcp"
    }
  }
}

README

[图片]

OhMyBug plugin — bughunter


[Discord]

We find the bugs your Claude Code missed. You pay only when your own Claude confirms real bugs: $4 per bug-finding review (however many bugs it holds), $12 for a deep hunt you choose ($24 on a wide change), minor findings free, first review free.

  • Fast review · $4 · finds 73% of significant bugs · up to 15 minutes
  • Deep review · $12 ($24 on a wide change) · finds 90% of significant bugs · up to 2 hours

Install (Claude Code)

bash
claude plugin marketplace add OhMyX-AI/ohmybug-pluginclaude plugin install bughunter@ohmybug

That's the whole setup. On first use Claude Code opens a GitHub sign-in in your browser; your account (with a free first review) is created automatically. No keys to copy, nothing lands in config files.

Install (pi)

pi has no built-in MCP — add the adapter, then the server:

bash
pi install npm:pi-mcp-adapternpx skills add OhMyX-AI/ohmybug-plugin --skill bughunter

Add to .mcp.json in your project root (or ~/.config/mcp/mcp.json):

json
{  "mcpServers": {    "ohmybug": { "url": "https://mcp.ohmybug.ai/mcp", "auth": "oauth" }  }}

Restart pi, run /mcp-auth ohmybug once — a GitHub page opens in the browser, your account with a free first review is created automatically. Then say "hunt bugs" or /skill:bughunter.

Prefer a raw key (CI)? Use "auth": "bearer", "bearerTokenEnv": "OHMYBUG_API_KEY" instead of "auth": "oauth".

Optional merge gate (pi has blocking tool hooks) — .pi/extensions/ohmybug-gate.ts:

ts
import { isToolCallEventType } from "@earendil-works/pi-coding-agent";
pi.on("tool_call", async (event) => {  if (isToolCallEventType("bash", event) && /\bgh pr merge\b/.test(event.input.command)      && !process.env.SKIP_BUGHUNT) {    return { block: true, reason: "Final diff not hunted — run /skill:bughunter first (or SKIP_BUGHUNT=1)" };  }});

Install (Codex app / CLI)

The plugin package wires the skill, MCP server, and Codex review routing in one install. Codex uses the same GitHub OAuth flow as Claude Code:

bash
codex plugin marketplace add OhMyX-AI/ohmybug-plugincodex plugin add bughunter@ohmybugcodex mcp login ohmybugcodex update

The last line brings Codex itself up to date, and it stays last: where Codex cannot tell how it was installed (for example, bundled inside another app) it exits with an error, and by then the plugin, the MCP server and the sign-in are already in place. Update that Codex the way it was installed.

Open /hooks once after installation, review and trust the OhMyBug hook definition, then start a new Codex thread. Codex skips non-managed plugin hooks until you trust their current definition; without that step the skill and MCP still install, but automatic review routing is not active. Then ask Codex to run the OhMyBug cloud hunt (or use the plugin's starter prompt). A local APPROVE from a code-review agent is not merge evidence.

Existing skill-only installs

If the plugin was installed with npx skills add, keep the skill and add the same MCP server explicitly:

bash
npx skills add OhMyX-AI/ohmybug-plugin --skill bughuntercodex mcp add ohmybug --url https://mcp.ohmybug.ai/mcp

codex mcp add detects OAuth and opens the GitHub sign-in flow automatically.

For headless CI, use an operator-issued raw omb_ key — write to [email protected] or DM @ohmybug to get one:

bash
export OHMYBUG_API_KEY=omb_...codex mcp add ohmybug --url https://mcp.ohmybug.ai/mcp \  --bearer-token-env-var OHMYBUG_API_KEY

(Claude Code users who prefer a key over OAuth can do the same with claude mcp add --transport http ohmybug https://mcp.ohmybug.ai/mcp --header "Authorization: Bearer $OHMYBUG_API_KEY" — an explicit Authorization header disables the OAuth flow.)

Questions → Discord.

First run: no pull request needed

Open your agent in the project and run /bughunter:review (or say "hunt bugs in my code"). It hunts whatever is there: a branch against main, uncommitted changes, the last commits, or – in a folder that is not a git repository at all – the files themselves as new code. It says which one it picked before anything is sent, and you can point it elsewhere ("hunt src/solver/", "the last 3 commits").

On a GitHub repository, /bughunter:scan hunts the code this repository changed in the last 30 days (/bughunter:scan 14 for two weeks). The server reads the history from GitHub and clones the repository on its side — nothing is uploaded from your machine — then runs a deep hunt (up to 150 minutes) over the window's changed code, and hands back one merged review that lists anything it did not read. Your agent verifies the findings like any hunt, and it is priced as a deep hunt: $12, or $24 on a wide change, only if a real bug is confirmed. It needs the OhMyBug GitHub App on that repository, runs once per repository per week, and is not a merge gate.

What it does

  • The hunt is the review: run it as soon as a change is ready, instead of a local review. Before every gh pr merge, a gate is the safety net: it checks the final diff was hunted (skip once with SKIP_BUGHUNT=1; review fixes change the diff and re-arm the gate).
  • /bughunter:review (or just ask to "hunt bugs") sends your diff + selected context to OhMyBug's cloud. You see the exact file manifest before upload.
  • An orchestrated fleet of adversarial reviewers hunts on OhMyBug's models. Only findings that survive triage come back.
  • Your own agent verifies each finding against your codebase and reports REAL / NOT_REAL / UNCLEAR. You see and approve the verdicts.
  • Billing: one flat price per review with confirmed real bugs — one or ten, same price: $4 fast, $12 deep, $24 deep on a wide change (11+ folder chunks). Minor findings, review runs, false positives, unclear — $0.
  • /bughunter:stats shows your record: bugs found, reviews run, balance.
  • Before a diff or file contents leave your machine (submit_review, provide_files), a secret scan refuses a payload that carries a credential (vendor-prefixed tokens, private keys, key files) and says which file and line, with the value masked. A payload it cannot read is refused too. It lets a payload through unscanned in four cases only: submits that send no payload (repo + ref) have nothing to scan; without python3 it cannot run, and says so in a system message; it does not run on Windows; the out-of-band upload for very large diffs is not scanned. Set OHMYBUG_SECRET_SCAN=0 (in the env block of settings.json) to turn the scan off.

What runs where

Everything that blocks or refuses lives in shell hooks, so it behaves the same in every client. The Claude Code mod shows and offers; it never refuses. It draws a button only where you have to decide (the deep-hunt offer, which spends money); the agent's own watch picks up a finished hunt, so that band only says what happened.

Claude Code 2.1.287+older Claude CodeCodex
Merge gate, secret scan, hunt recordsyesyesyes
Hunt status in the status line, a toast when a hunt finishes or asks for filesyes——
Band above the prompt when a tracked hunt finishes, fails or asks for files: the news only, no button; it goes once the agent reads the hunt or the next turn startsyes——
Deep-hunt offer (the deep_offer of a tracked hunt's get_findings) as Run deep hunt — pressing it is your consent — Not now, which sends nothing, and Not today, which asks the agent to pause the offer for 24 hoursyes——
A merge the gate refused: the gate's own words in the band, no button; it goes when the next turn startsyes——
Findings drawn as a card (show the raw answer keeps the original)yes——
/hunts paneyes——
A hunt read but not confirmed: one line in the system prompt and the same in the status line (bughunt <id> · verdicts not sent) until confirm_findings for that id; while another hunt runs or waits to be read, the status line shows that hunt insteadyes——

A finished hunt someone already read or judged — in another chat, or in a way the mod did not see — gets no toast, band, resume or verdicts line here: the mod asks the status URL (a finished, unread hunt again every few minutes), and the server says whether the result was read or has verdicts. If the status URL cannot be reached, the band stays until the agent reads the hunt or your next turn starts.

The mod never starts a turn on its own unless you opt in. Two environment variables tune it (in the env block of settings.json, or managed settings for a team):

  • OHMYBUG_AUTO_RESUME=1 — when a tracked hunt finishes, fails or asks for files and the session is idle, send that hunt's next step instead of showing the band. Off by default.
  • OHMYBUG_STATUS=0 — keep the status line clear; the prompt line goes with it, so the agent is never told what the person cannot see.

The VS Code extension has no band above the prompt; there the toast and the status line carry it. Turn the mod off with /plugin like any built-in mod; the shell hooks stay.

MCP contract (server: https://mcp.ohmybug.ai/mcp)

ToolInOut
submit_reviewdiff, files[{path, content}], meta{language?, base_branch?, repo?, ref?}{review_id, status, mode, pending_verdicts[]}
get_findingsreview_id{status: running|needs_files|done|failed, findings[{finding_id, severity, file, line?, title, failure_scenario, suggested_fix?}]}
provide_filesreview_id, paths[] (Claude Code: the plugin's hook reads them from disk) or files[{path, content}]{status, delivered}
confirm_findingsreview_id, verdicts[{finding_id, verdict: REAL|NOT_REAL|UNCLEAR, reason}]{confirmed, minor_confirmed, billed_usd, free_review_used, balance_usd, receipt_id}
get_balance—{balance_usd, free_reviews_left, confirmed_total, stats{…}}

Errors: payment_required (top up), pending_verdicts (resolve previous review's verdicts first).

来源:README.md,提交 53a3e94

工具

0
该服务器需要登录,因此 SourceWeft 无法在没有账号的情况下读取其工具,也未收录。已连接账号所能看到的内容可能因账号及其权限而异。

版本历史

1
  1. v1.0.1最新Nov 6, 2026

评分

已满足适用检查项的 75%

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

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

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

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

    请在仓库或注册中心条目中声明许可证。