Token导航 LogoToken导航

MCP Server · 开发工具

Bug Automation MCP

一个集成Google Sheets、GitLab和Playwright的MCP服务器,用于自动化Bug重现、修复和验证工作流程。

stdio官方级别未说明来源级核验工具 5
自动化测试工作流自动化PythonClaude浏览器自动化Claude Desktop

快速开始

作者 / 组织
sunilbittu
提供方
sunilbittu

工具数量

5

来源目录标注

资源数量

0

来源目录标注

提示词数量

0

来源目录标注

GitHub Star

0

仓库热度

收录来源

1 个

MCP World

选型结论

Bug Automation MCP 属于开发工具类 MCP Server,公开资料标注 5 个工具,通过stdio 本地进程接入,适配 Claude Desktop、Claude,有可以直接复制的安装命令;接入前要先准备 访问 Token。

分类

开发工具

传输方式

stdio

认证方式

访问 Token

部署方式

公开资料未说明

安装与配置

安装命令

pip install -r requirements.txt

公开命令不是通用的启动方式,拼不出可靠配置示例;请在客户端 MCP 配置里按官方文档填写 command 和 args。

上手步骤

  1. 1

    准备运行环境

    stdio 服务在本地起进程,需要先装好 对应的运行时,再按安装命令拉取依赖。

  2. 2

    安装服务

    复制下面的安装命令执行;命令里带占位符的位置换成自己的密钥或路径。

  3. 3

    写入客户端配置

    在客户端的 MCP 配置里填启动命令和参数,保存后完全退出客户端再打开,让新配置生效。

  4. 4

    验证是否可用

    连接成功后客户端会列出 5 个工具,随便调一个只读工具确认能返回结果。

接入前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

详细介绍

Bug Automation MCP Server

An MCP (Model Context Protocol) server that integrates Google Sheets, GitLab, and Playwright to automate bug reproduction, fixing, and verification workflows.

Features

  • Google Sheets Integration: Read and update bug information from spreadsheets
  • Playwright Automation: Reproduce bugs and verify fixes automatically
  • GitLab Integration: Commit fixes and create merge requests
  • End-to-end Workflow: From bug reading to fix verification and code commit

Architecture

Bug Tracking (Google Sheets)
        ↓
Read Bug Details
        ↓
Reproduce with Playwright
        ↓
Fix Code
        ↓
Verify Fix with Playwright
        ↓
Commit to GitLab
        ↓
Update Status in Google Sheets

Setup

1. Install Dependencies

pip install -r requirements.txt
playwright install chromium

2. Configure Google Sheets API

  1. Go to Google Cloud Console
  2. Create a new project or select existing one
  3. Enable Google Sheets API
  4. Create a Service Account
  5. Download the credentials JSON file and save as credentials.json
  6. Share your Google Sheet with the service account email

3. Configure GitLab

  1. Create a GitLab personal access token with api, read_repository, and write_repository scopes
  2. Note your project ID from your GitLab project settings

4. Set Environment Variables

Copy .env.example to .env and fill in your credentials:

cp env.example .env
# Edit .env with your actual values

5. Prepare Google Sheet Format

Your Google Sheet should have these columns:

  • Column A: Bug ID
  • Column B: Title
  • Column C: Description
  • Column D: Reproduction Steps
  • Column E: Expected Result
  • Column F: Actual Result
  • Column G: Status
  • Column H: Priority
  • Column I: Notes (optional)

Example:

| ID   | Title              | Description        | Steps                | Expected    | Actual      | Status | Priority |
|------|--------------------|--------------------|----------------------|-------------|-------------|--------|----------|
| BUG-001 | Login fails     | Cannot login       | 1. Go to /login...   | Success     | Error 500   | Open   | High     |

Running the Server

python server.py

Usage with Claude Desktop

Add to your Claude Desktop config (claude_desktop_config.json):

{
  "mcpServers": {
    "bug-automation": {
      "command": "python",
      "args": ["/path/to/bug-automation-mcp/server.py"],
      "env": {
        "GOOGLE_SHEET_ID": "your_sheet_id",
        "GOOGLE_CREDENTIALS_PATH": "/path/to/credentials.json",
        "GITLAB_URL": "https://gitlab.com",
        "GITLAB_TOKEN": "your_token",
        "GITLAB_PROJECT_ID": "your_project_id"
      }
    }
  }
}

Available Tools

1. read_bug

Read a specific bug from Google Sheets by ID.

read_bug(bug_id="BUG-001")

2. reproduce_bug

Use Playwright to reproduce a bug based on steps.

reproduce_bug(
    bug_id="BUG-001",
    url="https://yourapp.com",
    steps=[
        "Navigate to login page",
        "Enter username",
        "Click submit",
        "Observe error"
    ]
)

3. verify_fix

Verify that a bug fix works using Playwright.

verify_fix(
    bug_id="BUG-001",
    url="https://yourapp.com",
    verification_steps=[
        "Navigate to login page",
        "Enter credentials",
        "Verify successful login"
    ]
)

4. commit_fix

Commit bug fix to GitLab repository.

commit_fix(
    bug_id="BUG-001",
    branch_name="fix/bug-001",
    files=[
        {
            "path": "src/login.js",
            "content": "// fixed code here"
        }
    ],
    commit_message="Fix: Login authentication error"
)

5. update_bug_status

Update bug status in Google Sheets.

update_bug_status(
    bug_id="BUG-001",
    status="Fixed",
    notes="Fixed authentication logic"
)

Available Resources

  • sheets://bugs/active - List of active bugs
  • sheets://bugs/pending - List of pending bugs

Example Workflow

Using Claude with this MCP server:

User: "Read bug BUG-001 and try to reproduce it"

Claude will:
1. Call read_bug("BUG-001") to get bug details
2. Parse the reproduction steps
3. Call reproduce_bug() with the URL and steps
4. Return screenshots and results

User: "The bug is confirmed. Let me fix it and commit."

Claude will:
1. Help you write the fix
2. Call commit_fix() to push to GitLab
3. Call verify_fix() to test the fix
4. Call update_bug_status() to mark as fixed

Advanced Playwright Step Parsing

For more sophisticated bug reproduction, you can extend the step parsing logic to understand:

  • Navigation: "Go to URL", "Click on X"
  • Input: "Type X into Y", "Enter text"
  • Assertions: "Verify X is visible", "Check error message"
  • Wait conditions: "Wait for X to load"

Example enhancement:

async def parse_and_execute_step(page: Page, step: str):
    step_lower = step.lower()
    
    if "navigate to" in step_lower or "go to" in step_lower:
        # Extract URL and navigate
        pass
    elif "click" in step_lower:
        # Extract selector and click
        selector = extract_selector(step)
        await page.click(selector)
    elif "type" in step_lower or "enter" in step_lower:
        # Extract text and selector
        pass
    elif "verify" in step_lower or "check" in step_lower:
        # Add assertion
        pass

Security Notes

  • Keep your credentials.json and .env files secure
  • Never commit sensitive credentials to version control
  • Use environment variables for production deployments
  • Limit Google Sheet and GitLab access to necessary permissions only

Troubleshooting

Google Sheets Permission Error

  • Ensure the service account email has been granted access to the sheet
  • Verify the Sheet ID is correct

GitLab Authentication Error

  • Check your personal access token has required scopes
  • Verify the GitLab URL and project ID

Playwright Errors

  • Run playwright install to ensure browsers are installed
  • Check if the target website is accessible

License

MIT License

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

工具与能力

工具数量

5

资源数量

0

提示词数量

0

能力标签

自动化测试Python本地部署Bug管理工作流自动化GitLab集成Playwright

支持客户端

Claude DesktopClaude

数量来自来源目录的标注,具体工具清单以官方文档为准。

典型使用场景

让助手直接读代码

把仓库、提交记录和 issue 交给模型检索,补全和重构时不用来回复制文件。

在对话里跑命令

触发构建、测试和脚本,执行结果直接回到上下文,省去切终端。

接进开发流程

把 PR、CI 状态和代码审查接进助手,减少在几个工具之间跳。

选择建议

值得选的地方

  • 只提供 5 个工具,职责集中,接入后不容易误操作。
  • 有现成的安装命令,不用自己找入口,照着跑就能起服务。
  • 已经适配 Claude Desktop、Claude,换客户端不用重新研究配置。

先想清楚的地方

  • stdio 方式要求本地装好 运行环境,换机器要重新装一遍。
  • 需要自备访问 Token,没有凭据没法直接试。
  • 第三方目录整理,版本更新和行为细节以官方仓库为准。

更适合

  • 需要在开发工具场景里让模型直接调用外部能力的人。
  • 已经在用 Claude Desktop 的用户,接入路径最短。
  • 想先快速试一下、能接受在本地跑服务的人。

不太适合

  • 完全不想在本地装环境的人。
  • 暂时拿不到访问 Token的人。
  • 需要厂商级 SLA 和技术支持的生产环境。

同类对比

5 个同类
MCP Server工具数传输方式安装命令收录来源最后核验
Bug Automation MCP

MCP World · 本页

5stdio有1 个2026-05-17
Git 838e2ec1

MCP World

12stdio有2 个2026-05-17
Markitdown MCP 2c653a5f

MCP World

1stdio有1 个2026-05-17
Context7 MCP C671e75a

MCP World

0stdio有1 个2026-05-17
Context7 831acf40

MCP World

0stdio有1 个2026-05-17

按同分类和工具数量挑出最接近的几条,字段以各自详情页为准。

常见问题

5 条

Bug Automation MCP 怎么安装?

公开资料给出的安装命令是 pip install -r requirements.txt,运行环境为 未标注。装完后按客户端要求写进 MCP 配置,重启客户端生效。

Bug Automation MCP 怎么在 Claude Desktop、Cursor 里配置?

它是stdio 本地进程,客户端配置里要写启动命令和参数,运行环境是 未标注;保存后完全退出客户端再打开,配置才会生效。

Bug Automation MCP 收费吗?

本站只整理公开资料,不代收费用,也没有标注具体价格。是否收费取决于服务本身和背后的接口额度,正式使用前按官方说明确认。

Bug Automation MCP 需要 API Key 吗?

公开资料标注的认证方式是访问 Token,也就是要先拿到凭据才能连上;凭据只填在自己本地的配置里,不要写进公开仓库。

Bug Automation MCP 支持哪些客户端?

公开资料标注支持 Claude Desktop、Claude;其他客户端只要能配置 MCP Server,也能用同样的命令或地址接入。

来源信息

继续浏览同类 MCP