
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.
概覽
雲端抓蟲審查服務:把編碼代理的變更送到 OhMyBug 的模型,回傳經分診的缺陷發現,再由代理逐條核實。
- 可以做什麼
- 提交 diff、分支、提交範圍或零散檔案進行雲端審查,取得審查編號與狀態
- 輪詢進行中的抓蟲任務,取回含嚴重度、檔案、行號、失敗情境與修復建議的發現
- 依需求補上抓蟲任務索取的檔案,或由外掛從磁碟讀取
- 回傳代理的 REAL / NOT_REAL / UNCLEAR 判定以確認發現,並取得計費收據
- 查詢餘額、剩餘免費審查次數與已確認缺陷統計
- 在內容離開本機前掃描憑證
- 適用情境
- 適合在合併前對編碼代理的變更做一次獨立的雲端審查,而不只依賴本機審查。也適合希望對某個 diff 或儲存庫近 30 天變更做對抗式抓蟲、並接受依確認結果付費的團隊。
- 執行需求
- 遠端 MCP 端點,透過 GitHub 進行 OAuth 登入,會自動建立帳號並附贈首次免費審查。無頭 CI 可改用營運方簽發的 API 金鑰,透過 OHMYBUG_API_KEY 環境變數以 bearer token 提供。儲存庫掃描功能需要在該儲存庫安裝 OhMyBug GitHub App。密鑰掃描需要 python3,且在 Windows 上不會執行。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 OhMyBug,將其新增到工作區。
- 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
- 為需要使用其工具的對話啟用該服務。
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
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)
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:
Add to .mcp.json in your project root (or ~/.config/mcp/mcp.json):
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:
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:
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:
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:
(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 withSKIP_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:statsshows 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; withoutpython3it 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. SetOHMYBUG_SECRET_SCAN=0(in theenvblock ofsettings.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.
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)
Errors: payment_required (top up), pending_verdicts (resolve previous
review's verdicts first).
來源:README.md,提交 53a3e94
工具
0版本歷史
1- v1.0.1最新Nov 6, 2026
評分
已滿足適用檢查項的 75%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。