
BugMojo
io.github.viveksinra由 GitHub 帳號 viveksinra 發布v0.2.1更新於 Oct 31, 2026
Bug tracking for AI agents: session replay, console/network logs, repro packs, test plans, evidence.
概覽
把 AI 程式助理接上 BugMojo 缺陷追蹤,可列出、搜尋、檢視、建立與更新缺陷,並附帶工作階段重播與日誌脈絡。
- 可以做什麼
- 依專案、狀態、優先順序或負責人列出與篩選缺陷,並全文搜尋缺陷標題與描述
- 檢視單一缺陷的完整內容,包括描述、留言、標籤、錄影與截圖
- 建立新缺陷,並更新狀態、優先順序、負責人、標題或描述
- 為既有缺陷新增留言
- 託管 OAuth 端點另提供回歸測試套件與執行、QA 流程、代理、工作階段重播摘要以及內嵌主控台/網路日誌
- 適用情境
- 適合以 BugMojo 追蹤缺陷的團隊,讓程式助理帶著完整的瀏覽器擷取脈絡來分流、摘要或提交缺陷,而不是只憑一行描述。
- 執行需求
- 兩種方式:使用 bugmojo.com/api/mcp 遠端 HTTP 端點並以瀏覽器 OAuth 登入,或以 npx 執行 npm 套件(需 Node.js 18 以上)。npm 方式需在 BUGMOJO_API_KEY 提供以 bm_key_ 開頭的 BugMojo API 金鑰(於 Settings > API Keys 產生);BUGMOJO_API_URL 為選用,僅供自架或本機執行個體使用。需要能連線到 BugMojo 執行個體的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 BugMojo,將其新增到工作區。
- 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/io.github.viveksinra%2Fbugmojo/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。
{
"mcpServers": {
"bugmojo": {
"type": "http",
"url": "https://www.bugmojo.com/api/mcp"
}
}
}README
@bugmojo/mcp-server
MCP server that connects AI coding agents — Claude Code, Cursor, VS Code, Claude Desktop — to BugMojo bug tracking.
Why
BugMojo captures pixel-perfect bug reports straight from the browser — session replay, console logs, network requests, screenshots. This MCP server hands that context to your AI coding agent: it can list, search, and read bugs, file new ones, update status/priority/assignee, and add comments over BugMojo's API-key-authenticated REST API. Your agent fixes bugs with the full capture context instead of a one-line description.
Want the full surface? Regression suites/runs, testing workflow, agents, session-replay summaries, and inline console/network logs are available on the hosted, OAuth-authenticated HTTP endpoint at
https://www.bugmojo.com/api/mcp— see Full surface (OAuth HTTP) below. This npm package intentionally stays a minimal bugs shim so every tool maps to a real endpoint (nothing 404s).
Install
Requires Node.js 18+. No install needed — MCP clients run it with npx:
Or install the bugmojo-mcp command globally:
It speaks MCP over stdio and reads two environment variables (below).
Quickstart (Claude Code, 60 seconds)
- Generate an API key in your BugMojo dashboard under Settings → API Keys (it starts with
bm_key_). - Register the server:
- Ask Claude: "List the open CRITICAL bugs and summarise the newest one."
Configuration
Client setup
Claude Code
Either use the CLI (per-user):
Or check a project-scoped .mcp.json into your repo root so the whole team gets it:
Claude Desktop
Add to claude_desktop_config.json (Settings → Developer → Edit Config):
Cursor
~/.cursor/mcp.json (global) or .cursor/mcp.json (per project):
VS Code (MCP)
.vscode/mcp.json:
Any other MCP client
Point it at the same stdio command: npx -y @bugmojo/mcp-server (or bugmojo-mcp if installed globally) with BUGMOJO_API_KEY in the environment. Add BUGMOJO_API_URL only if you self-host.
Tools
That's the whole npm package — six tools, each mapping to a real /api/v1/bugs/* endpoint.
Full surface (OAuth HTTP)
Regression suites/runs, the testing (QA) workflow, agents, session-replay summaries (summarize_replay), and inline console/network logs (get_bug_console_logs, get_bug_network_logs) are served by the hosted, OAuth 2.1-authenticated streaming endpoint — not this npm package. Point an HTTP-capable MCP client at:
The client opens a browser login the first time (no API key to manage). Optional query params: ?workspace=<slug> binds the connection to a workspace, and ?mode=admin additionally exposes the admin-management tools.
Example
Once configured, ask your agent things like:
"List the open CRITICAL bugs in project X, open the newest one, and summarise the repro steps."
The agent calls list_bugs (status=OPEN, priority=CRITICAL), then get_bug for the full context — including the session replay BugMojo captured in the browser.
How it works
This package is a thin, stateless client: it translates MCP tool calls into authenticated HTTPS requests to the BugMojo REST API (/api/v1). All business logic and data live in your BugMojo instance — nothing is stored locally.
Troubleshooting
"BUGMOJO_API_KEY environment variable is required"
The key isn't reaching the server process. Put it in the env block of your MCP config (or pass -e BUGMOJO_API_KEY=... to claude mcp add) — shell exports are not inherited by every MCP client.
"BUGMOJO_API_KEY must start with 'bm_key_' prefix"
You copied the wrong value (e.g. a session token or a truncated key). Regenerate the key in the dashboard under Settings → API Keys and copy the whole bm_key_... string.
"Authentication failed ... Check your BUGMOJO_API_KEY" (401)
The key was revoked or belongs to a different instance. Generate a fresh key; if you self-host, also confirm BUGMOJO_API_URL points at that instance.
"Permission denied" (403) on create/update/comment
Your key is read-only. create_bug, update_bug, and add_comment need a write-scoped key.
"fetch failed" / ECONNREFUSED
The server can't reach BUGMOJO_API_URL. The default is https://www.bugmojo.com; if you set a self-hosted/local URL, make sure that instance is running and reachable.
Server disconnects immediately on first run
Make sure your config uses "args": ["-y", "@bugmojo/mcp-server"] — without -y, npx's first-run "Ok to proceed?" prompt hangs the stdio handshake. Also confirm node --version is 18 or newer.
Related packages
Links
- Website — https://www.bugmojo.com
- Docs & issues (GitHub) — https://github.com/viveksinra/bugmojo-sdk
- Issues — https://github.com/viveksinra/bugmojo-sdk/issues
- Changelog — https://github.com/viveksinra/bugmojo-sdk/blob/main/packages/mcp-server/CHANGELOG.md
- Model Context Protocol — https://modelcontextprotocol.io
License
MIT © Softech Infra
來源:packages/mcp-server/README.md,提交 42e139d
工具
0版本歷史
1- v0.2.1最新Oct 17, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分