
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 分