S

Smartbear MCP

by smartbear.com · com.smartbear/smartbear-mcp

Enables AI assistants to interact with SmartBear's suite of testing and monitoring tools including BugSnag, Swagger, Reflect, and more through natural language, allowing querying of testing data, analysis of performance metrics, and management of test automation.

npm Remote GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "com-smartbear-smartbear-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@smartbear/mcp"
      ],
      "env": {
        "BEARQ_API_TOKEN": "<YOUR_VALUE>",
        "BEARQ_API_BASE_URL": "https://api.bearq.smartbear.com",
        "BUGSNAG_AUTH_TOKEN": "<YOUR_VALUE>",
        "BUGSNAG_PROJECT_API_KEY": "<VALUE>",
        "REFLECT_API_TOKEN": "<YOUR_VALUE>",
        "SWAGGER_API_KEY": "<YOUR_VALUE>",
        "SWAGGER_FUNCTIONAL_TESTING_API_TOKEN": "<YOUR_VALUE>",
        "SWAGGER_FUNCTIONAL_TESTING_BASE_PATH": "<VALUE>",
        "PACT_BROKER_BASE_URL": "<VALUE>",
        "PACT_BROKER_TOKEN": "<YOUR_VALUE>",
        "PACT_BROKER_USERNAME": "<VALUE>",
        "PACT_BROKER_PASSWORD": "<YOUR_VALUE>",
        "ZEPHYR_API_TOKEN": "<YOUR_VALUE>",
        "ZEPHYR_BASE_URL": "https://api.zephyrscale.smartbear.com/v2",
        "QTM4J_API_KEY": "<YOUR_VALUE>",
        "QTM4J_BASE_URL": "https://qtmcloud.qmetry.com",
        "QTM4J_AUTOMATION_API_KEY": "<YOUR_VALUE>",
        "QMETRY_API_KEY": "<VALUE>",
        "QMETRY_BASE_URL": "https://testmanagement.qmetry.com",
        "SWAGGER_UI_BASE_PATH": "https://app.swaggerhub.com",
        "COLLABORATOR_BASE_URL": "<VALUE>",
        "COLLABORATOR_USERNAME": "<VALUE>",
        "SWAGGER_PORTAL_BASE_PATH": "https://api.portal.swaggerhub.com/v1",
        "COLLABORATOR_LOGIN_TICKET": "<VALUE>",
        "SWAGGER_REGISTRY_BASE_PATH": "https://api.swaggerhub.com"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "com-smartbear-smartbear-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@smartbear/mcp"
      ],
      "env": {
        "BEARQ_API_TOKEN": "<YOUR_VALUE>",
        "BEARQ_API_BASE_URL": "https://api.bearq.smartbear.com",
        "BUGSNAG_AUTH_TOKEN": "<YOUR_VALUE>",
        "BUGSNAG_PROJECT_API_KEY": "<VALUE>",
        "REFLECT_API_TOKEN": "<YOUR_VALUE>",
        "SWAGGER_API_KEY": "<YOUR_VALUE>",
        "SWAGGER_FUNCTIONAL_TESTING_API_TOKEN": "<YOUR_VALUE>",
        "SWAGGER_FUNCTIONAL_TESTING_BASE_PATH": "<VALUE>",
        "PACT_BROKER_BASE_URL": "<VALUE>",
        "PACT_BROKER_TOKEN": "<YOUR_VALUE>",
        "PACT_BROKER_USERNAME": "<VALUE>",
        "PACT_BROKER_PASSWORD": "<YOUR_VALUE>",
        "ZEPHYR_API_TOKEN": "<YOUR_VALUE>",
        "ZEPHYR_BASE_URL": "https://api.zephyrscale.smartbear.com/v2",
        "QTM4J_API_KEY": "<YOUR_VALUE>",
        "QTM4J_BASE_URL": "https://qtmcloud.qmetry.com",
        "QTM4J_AUTOMATION_API_KEY": "<YOUR_VALUE>",
        "QMETRY_API_KEY": "<VALUE>",
        "QMETRY_BASE_URL": "https://testmanagement.qmetry.com",
        "SWAGGER_UI_BASE_PATH": "https://app.swaggerhub.com",
        "COLLABORATOR_BASE_URL": "<VALUE>",
        "COLLABORATOR_USERNAME": "<VALUE>",
        "SWAGGER_PORTAL_BASE_PATH": "https://api.portal.swaggerhub.com/v1",
        "COLLABORATOR_LOGIN_TICKET": "<VALUE>",
        "SWAGGER_REGISTRY_BASE_PATH": "https://api.swaggerhub.com"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "com-smartbear-smartbear-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@smartbear/mcp"
      ],
      "env": {
        "BEARQ_API_TOKEN": "<YOUR_VALUE>",
        "BEARQ_API_BASE_URL": "https://api.bearq.smartbear.com",
        "BUGSNAG_AUTH_TOKEN": "<YOUR_VALUE>",
        "BUGSNAG_PROJECT_API_KEY": "<VALUE>",
        "REFLECT_API_TOKEN": "<YOUR_VALUE>",
        "SWAGGER_API_KEY": "<YOUR_VALUE>",
        "SWAGGER_FUNCTIONAL_TESTING_API_TOKEN": "<YOUR_VALUE>",
        "SWAGGER_FUNCTIONAL_TESTING_BASE_PATH": "<VALUE>",
        "PACT_BROKER_BASE_URL": "<VALUE>",
        "PACT_BROKER_TOKEN": "<YOUR_VALUE>",
        "PACT_BROKER_USERNAME": "<VALUE>",
        "PACT_BROKER_PASSWORD": "<YOUR_VALUE>",
        "ZEPHYR_API_TOKEN": "<YOUR_VALUE>",
        "ZEPHYR_BASE_URL": "https://api.zephyrscale.smartbear.com/v2",
        "QTM4J_API_KEY": "<YOUR_VALUE>",
        "QTM4J_BASE_URL": "https://qtmcloud.qmetry.com",
        "QTM4J_AUTOMATION_API_KEY": "<YOUR_VALUE>",
        "QMETRY_API_KEY": "<VALUE>",
        "QMETRY_BASE_URL": "https://testmanagement.qmetry.com",
        "SWAGGER_UI_BASE_PATH": "https://app.swaggerhub.com",
        "COLLABORATOR_BASE_URL": "<VALUE>",
        "COLLABORATOR_USERNAME": "<VALUE>",
        "SWAGGER_PORTAL_BASE_PATH": "https://api.portal.swaggerhub.com/v1",
        "COLLABORATOR_LOGIN_TICKET": "<VALUE>",
        "SWAGGER_REGISTRY_BASE_PATH": "https://api.swaggerhub.com"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "com-smartbear-smartbear-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@smartbear/mcp"
      ],
      "env": {
        "BEARQ_API_TOKEN": "<YOUR_VALUE>",
        "BEARQ_API_BASE_URL": "https://api.bearq.smartbear.com",
        "BUGSNAG_AUTH_TOKEN": "<YOUR_VALUE>",
        "BUGSNAG_PROJECT_API_KEY": "<VALUE>",
        "REFLECT_API_TOKEN": "<YOUR_VALUE>",
        "SWAGGER_API_KEY": "<YOUR_VALUE>",
        "SWAGGER_FUNCTIONAL_TESTING_API_TOKEN": "<YOUR_VALUE>",
        "SWAGGER_FUNCTIONAL_TESTING_BASE_PATH": "<VALUE>",
        "PACT_BROKER_BASE_URL": "<VALUE>",
        "PACT_BROKER_TOKEN": "<YOUR_VALUE>",
        "PACT_BROKER_USERNAME": "<VALUE>",
        "PACT_BROKER_PASSWORD": "<YOUR_VALUE>",
        "ZEPHYR_API_TOKEN": "<YOUR_VALUE>",
        "ZEPHYR_BASE_URL": "https://api.zephyrscale.smartbear.com/v2",
        "QTM4J_API_KEY": "<YOUR_VALUE>",
        "QTM4J_BASE_URL": "https://qtmcloud.qmetry.com",
        "QTM4J_AUTOMATION_API_KEY": "<YOUR_VALUE>",
        "QMETRY_API_KEY": "<VALUE>",
        "QMETRY_BASE_URL": "https://testmanagement.qmetry.com",
        "SWAGGER_UI_BASE_PATH": "https://app.swaggerhub.com",
        "COLLABORATOR_BASE_URL": "<VALUE>",
        "COLLABORATOR_USERNAME": "<VALUE>",
        "SWAGGER_PORTAL_BASE_PATH": "https://api.portal.swaggerhub.com/v1",
        "COLLABORATOR_LOGIN_TICKET": "<VALUE>",
        "SWAGGER_REGISTRY_BASE_PATH": "https://api.swaggerhub.com"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "com-smartbear-smartbear-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@smartbear/mcp"
      ],
      "env": {
        "BEARQ_API_TOKEN": "<YOUR_VALUE>",
        "BEARQ_API_BASE_URL": "https://api.bearq.smartbear.com",
        "BUGSNAG_AUTH_TOKEN": "<YOUR_VALUE>",
        "BUGSNAG_PROJECT_API_KEY": "<VALUE>",
        "REFLECT_API_TOKEN": "<YOUR_VALUE>",
        "SWAGGER_API_KEY": "<YOUR_VALUE>",
        "SWAGGER_FUNCTIONAL_TESTING_API_TOKEN": "<YOUR_VALUE>",
        "SWAGGER_FUNCTIONAL_TESTING_BASE_PATH": "<VALUE>",
        "PACT_BROKER_BASE_URL": "<VALUE>",
        "PACT_BROKER_TOKEN": "<YOUR_VALUE>",
        "PACT_BROKER_USERNAME": "<VALUE>",
        "PACT_BROKER_PASSWORD": "<YOUR_VALUE>",
        "ZEPHYR_API_TOKEN": "<YOUR_VALUE>",
        "ZEPHYR_BASE_URL": "https://api.zephyrscale.smartbear.com/v2",
        "QTM4J_API_KEY": "<YOUR_VALUE>",
        "QTM4J_BASE_URL": "https://qtmcloud.qmetry.com",
        "QTM4J_AUTOMATION_API_KEY": "<YOUR_VALUE>",
        "QMETRY_API_KEY": "<VALUE>",
        "QMETRY_BASE_URL": "https://testmanagement.qmetry.com",
        "SWAGGER_UI_BASE_PATH": "https://app.swaggerhub.com",
        "COLLABORATOR_BASE_URL": "<VALUE>",
        "COLLABORATOR_USERNAME": "<VALUE>",
        "SWAGGER_PORTAL_BASE_PATH": "https://api.portal.swaggerhub.com/v1",
        "COLLABORATOR_LOGIN_TICKET": "<VALUE>",
        "SWAGGER_REGISTRY_BASE_PATH": "https://api.swaggerhub.com"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "com-smartbear-smartbear-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@smartbear/mcp"
      ],
      "env": {
        "BEARQ_API_TOKEN": "<YOUR_VALUE>",
        "BEARQ_API_BASE_URL": "https://api.bearq.smartbear.com",
        "BUGSNAG_AUTH_TOKEN": "<YOUR_VALUE>",
        "BUGSNAG_PROJECT_API_KEY": "<VALUE>",
        "REFLECT_API_TOKEN": "<YOUR_VALUE>",
        "SWAGGER_API_KEY": "<YOUR_VALUE>",
        "SWAGGER_FUNCTIONAL_TESTING_API_TOKEN": "<YOUR_VALUE>",
        "SWAGGER_FUNCTIONAL_TESTING_BASE_PATH": "<VALUE>",
        "PACT_BROKER_BASE_URL": "<VALUE>",
        "PACT_BROKER_TOKEN": "<YOUR_VALUE>",
        "PACT_BROKER_USERNAME": "<VALUE>",
        "PACT_BROKER_PASSWORD": "<YOUR_VALUE>",
        "ZEPHYR_API_TOKEN": "<YOUR_VALUE>",
        "ZEPHYR_BASE_URL": "https://api.zephyrscale.smartbear.com/v2",
        "QTM4J_API_KEY": "<YOUR_VALUE>",
        "QTM4J_BASE_URL": "https://qtmcloud.qmetry.com",
        "QTM4J_AUTOMATION_API_KEY": "<YOUR_VALUE>",
        "QMETRY_API_KEY": "<VALUE>",
        "QMETRY_BASE_URL": "https://testmanagement.qmetry.com",
        "SWAGGER_UI_BASE_PATH": "https://app.swaggerhub.com",
        "COLLABORATOR_BASE_URL": "<VALUE>",
        "COLLABORATOR_USERNAME": "<VALUE>",
        "SWAGGER_PORTAL_BASE_PATH": "https://api.portal.swaggerhub.com/v1",
        "COLLABORATOR_LOGIN_TICKET": "<VALUE>",
        "SWAGGER_REGISTRY_BASE_PATH": "https://api.swaggerhub.com"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
BEARQ_API_TOKEN secret No BearQ workspace API token - leave blank to disable BearQ tools
BEARQ_API_BASE_URL No BearQ API base URL - leave blank to use the default (https://api.bearq.smartbear.com) Default: https://api.bearq.smartbear.com
BUGSNAG_AUTH_TOKEN secret No BugSnag Auth Token - leave blank to disable BugSnag tools
BUGSNAG_PROJECT_API_KEY No BugSnag Project API Key - for single project interactions
REFLECT_API_TOKEN secret No Reflect API Token - leave blank to disable Reflect tools
SWAGGER_API_KEY secret No Swagger API Key - leave blank to disable Swagger tools
SWAGGER_FUNCTIONAL_TESTING_API_TOKEN secret No Swagger 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_PATH No Override the Swagger Functional Testing API base URL (optional). Defaults to https://api.reflect.run/v1
PACT_BROKER_BASE_URL No PactFlow or Pact Broker base url - leave blank to disable the tools
PACT_BROKER_TOKEN secret No PactFlow Authentication Token
PACT_BROKER_USERNAME No Pact Broker Username
PACT_BROKER_PASSWORD secret No Pact Broker Password
ZEPHYR_API_TOKEN secret No Zephyr API token - leave blank to disable Zephyr tools
ZEPHYR_BASE_URL No Zephyr API base URL. By default, connects to https://api.zephyrscale.smartbear.com/v2. Change to region-specific endpoint if needed. Default: https://api.zephyrscale.smartbear.com/v2
QTM4J_API_KEY secret No QTM4J API Key
QTM4J_BASE_URL No US region (default): https://qtmcloud.qmetry.com. Australia region: https://syd-qtmcloud.qmetry.com. Default: https://qtmcloud.qmetry.com
QTM4J_AUTOMATION_API_KEY secret No QTM4J Automation API Key - required for automation tools, leave blank to disable them
QMETRY_API_KEY No QMetry Open API Key
QMETRY_BASE_URL No By default, connects to https://testmanagement.qmetry.com. Change to a custom QMetry server URL or a region-specific endpoint if needed. Default: https://testmanagement.qmetry.com
SWAGGER_UI_BASE_PATH No Swagger UI base path - only needed for on-premise installations (leave blank for cloud) Default: https://app.swaggerhub.com
COLLABORATOR_BASE_URL No Collab base url
COLLABORATOR_USERNAME No Collab username
SWAGGER_PORTAL_BASE_PATH No Swagger Portal API base path - only needed for on-premise installations (leave blank for cloud) Default: https://api.portal.swaggerhub.com/v1
COLLABORATOR_LOGIN_TICKET No Collab login ticket
SWAGGER_REGISTRY_BASE_PATH No Swagger Registry API base path - only needed for on-premise installations (leave blank for cloud) Default: https://api.swaggerhub.com

Similar servers