跳到正文
Skillpedia
✓ 官方 · SmartBear💻☁️ 本地 / 远程🔑 需要 API 密钥编程

SmartBear MCP

让你的智能体使用 SmartBear 的工具,例如 BugSnag、Swagger、Zephyr、PactFlow、Reflect 和 QMetry。

0 GitHub 星标作者 SmartBear更新于 —

如何安装

这个 MCP 有两种运行方式:本地或远程。

请在下面选一种。本地在你的电脑上运行;远程在云端运行,无需安装。

粘贴到终端:

claude mcp add smartbear -- npx -y @smartbear/mcp

需要填写的内容

名称用途必填
BEARQ_API_TOKENBearQ workspace API token. Leave empty to disable BearQ tools. Learn more: https://developer.smartbear.com/smartbear-mcp/docs/bearq-integration否
BEARQ_API_BASE_URLOverride the BearQ public API base URL (optional). Defaults to https://api.bearq.smartbear.com否
BUGSNAG_AUTH_TOKENBugSnag auth token. Leave empty to disable BugSnag tools. Learn more: https://developer.smartbear.com/smartbear-mcp/docs/bugsnag-integration否
BUGSNAG_PROJECT_API_KEYBugSnag project API key (optional; narrows interactions to a single project). Learn more: https://developer.smartbear.com/smartbear-mcp/docs/bugsnag-integration否
REFLECT_API_TOKENReflect API token. Leave empty to disable Reflect tools. Learn more: https://developer.smartbear.com/smartbear-mcp/docs/reflect-integration否
SWAGGER_API_KEYSwagger API key. Leave empty to disable Swagger tools. Learn more: https://developer.smartbear.com/smartbear-mcp/docs/swagger-portal-integration否
SWAGGER_FUNCTIONAL_TESTING_API_TOKENSwagger Functional Testing API token. Leave empty to disable Functional Testing tools. Learn more: https://developer.smartbear.com/smartbear-mcp/docs/functional-testing-integration否
SWAGGER_FUNCTIONAL_TESTING_BASE_PATHOverride the Swagger Functional Testing API base URL (optional). Defaults to https://api.reflect.run/v1否
PACT_BROKER_BASE_URLPactFlow/Pact Broker base URL. Leave empty to disable Pact tools. Learn more: https://developer.smartbear.com/smartbear-mcp/docs/contract-testing-with-pactflow否
PACT_BROKER_TOKENPactFlow authentication token. Learn more: https://developer.smartbear.com/smartbear-mcp/docs/contract-testing-with-pactflow否
PACT_BROKER_USERNAMEPact Broker username (alternative to token). Learn more: https://developer.smartbear.com/smartbear-mcp/docs/contract-testing-with-pactflow否
PACT_BROKER_PASSWORDPact Broker password (alternative to token). Learn more: https://developer.smartbear.com/smartbear-mcp/docs/contract-testing-with-pactflow否
ZEPHYR_API_TOKENThe Zephyr Cloud API token for authentication. Learn more: https://support.smartbear.com/zephyr/docs/en/rest-api/api-access-tokens-management.html否
ZEPHYR_BASE_URL The Zephyr Cloud API base url. Should be changed depending on the region of your Jira instance. Learn more: https://support.smartbear.com/zephyr-scale-cloud/api-docs/#section/Authentication/Accessing-the-API否
QTM4J_API_KEYQTM4J (QMetry Test Management for Jira) API key. Leave empty to disable QTM4J tools. Learn more: https://developer.smartbear.com/smartbear-mcp/docs/qtm4j-integration否
QTM4J_BASE_URLQTM4J base URL (optional). Defaults to https://qtmcloud.qmetry.com. Override when using a self-hosted or region-specific instance.否
QTM4J_AUTOMATION_API_KEYQTM4J Automation API key used exclusively by the automation import tools. Leave empty to disable automation tools. Learn more: https://developer.smartbear.com/smartbear-mcp/docs/qtm4j-integration否

好了!现在试试

重启应用,把下面任意一条请求粘贴到聊天里:

显示本周 BugSnag 中最常见的错误。
在 Swagger 中为一个简单的订单服务创建 API 定义。

简介

这个服务器让 AI 助手可以使用 SmartBear 的测试和监控产品。你可以查询测试数据、排查错误、管理测试用例,并处理 API 定义。BugSnag、Swagger 和 Zephyr 也提供托管的远程服务器,其他产品则通过本地 npm 包运行。

它能做什么

  • BugSnag:错误监控和调试
  • Swagger:门户、API 和域名管理,包括根据提示生成 API
  • 使用 PactFlow 进行契约测试
  • Reflect 和 BearQ:测试管理和执行
  • QMetry、QTM4J 和 Zephyr:测试管理
  • Collaborator:评审和远程系统配置

什么时候用

  • ›当你想排查 BugSnag 中报告的错误时
  • ›当你想在 Swagger 中起草或规范化 API 定义时
  • ›当你想在 Zephyr 或 QMetry 中管理测试用例时

你需要准备

对于远程服务器(BugSnag、Swagger、Zephyr),只需 OAuth 登录。对于本地 npm 包,需要 Node.js 22 或更高版本,以及你所用产品的 API 令牌。

搭配的技能

⭐ Skillpedia MCP · 免费你的智能体自己找到合适的技能安装我们的 MCP,智能体需要时会在 15,000+ 个技能中搜索。免费安装 →

常见问题

免费吗?

该服务器可通过 npm 和托管地址使用,但你需要使用的 SmartBear 产品的账户和令牌。readme 没有给出价格。

有哪些远程服务器?

Swagger:https://swagger.mcp.smartbear.com/mcp,BugSnag:https://bugsnag.mcp.smartbear.com/mcp,Zephyr:https://zephyr.mcp.smartbear.com/mcp。

哪些产品需要本地包?

BearQ、Reflect、QMetry、QTM4J、PactFlow、Collaborator 和 Functional Testing。

如何安装本地包?

用 npx -y @smartbear/mcp@latest 运行,并在环境设置中填写令牌。不用的产品留空。

可以同时使用多个远程服务器吗?

可以,你可以同时连接多个远程服务器。

哪些应用可以使用它?

readme 中展示了带 Copilot 的 VS Code,远程设置指南也涵盖其他 MCP 客户端。

如果不能用

  • ›使用本地包时,请确认已安装 Node.js 22 或更新版本。
  • ›对于你不使用的产品,请将令牌留空,这样它们的工具会保持禁用。
  • ›对于本地部署的 Swagger,请设置门户、注册表和 UI 的基础路径;云端部署则留空。

每周 5 个新技能,1 分钟读完。