Gives agents tools and resources across SmartBear API Hub, Test Hub and Insight Hub.
Setup
Choose your client, copy the config, then fill in any required environment variables.
Local
claude mcp add smartbear --env BEARQ_API_TOKEN='<BEARQ_API_TOKEN>' --env BUGSNAG_AUTH_TOKEN='<BUGSNAG_AUTH_TOKEN>' --env REFLECT_API_TOKEN='<REFLECT_API_TOKEN>' --env SWAGGER_API_KEY='<SWAGGER_API_KEY>' --env SWAGGER_FUNCTIONAL_TESTING_API_TOKEN='<SWAGGER_FUNCTIONAL_TESTING_API_TOKEN>' --env PACT_BROKER_TOKEN='<PACT_BROKER_TOKEN>' --env PACT_BROKER_PASSWORD='<PACT_BROKER_PASSWORD>' --env ZEPHYR_API_TOKEN='<ZEPHYR_API_TOKEN>' -- npx -y @smartbear/mcp~/.codex/config.toml
[mcp_servers.smartbear]
command = "npx"
args = ["-y", "@smartbear/mcp"]
env = { BEARQ_API_TOKEN = "<BEARQ_API_TOKEN>", BUGSNAG_AUTH_TOKEN = "<BUGSNAG_AUTH_TOKEN>", REFLECT_API_TOKEN = "<REFLECT_API_TOKEN>", SWAGGER_API_KEY = "<SWAGGER_API_KEY>", SWAGGER_FUNCTIONAL_TESTING_API_TOKEN = "<SWAGGER_FUNCTIONAL_TESTING_API_TOKEN>", PACT_BROKER_TOKEN = "<PACT_BROKER_TOKEN>", PACT_BROKER_PASSWORD = "<PACT_BROKER_PASSWORD>", ZEPHYR_API_TOKEN = "<ZEPHYR_API_TOKEN>" }
# codex mcp add smartbear --env BEARQ_API_TOKEN='<BEARQ_API_TOKEN>' --env BUGSNAG_AUTH_TOKEN='<BUGSNAG_AUTH_TOKEN>' --env REFLECT_API_TOKEN='<REFLECT_API_TOKEN>' --env SWAGGER_API_KEY='<SWAGGER_API_KEY>' --env SWAGGER_FUNCTIONAL_TESTING_API_TOKEN='<SWAGGER_FUNCTIONAL_TESTING_API_TOKEN>' --env PACT_BROKER_TOKEN='<PACT_BROKER_TOKEN>' --env PACT_BROKER_PASSWORD='<PACT_BROKER_PASSWORD>' --env ZEPHYR_API_TOKEN='<ZEPHYR_API_TOKEN>' -- npx -y @smartbear/mcp~/.cursor/mcp.json
{
"mcpServers": {
"smartbear": {
"command": "npx",
"args": [
"-y",
"@smartbear/mcp"
],
"env": {
"BEARQ_API_TOKEN": "<BEARQ_API_TOKEN>",
"BUGSNAG_AUTH_TOKEN": "<BUGSNAG_AUTH_TOKEN>",
"REFLECT_API_TOKEN": "<REFLECT_API_TOKEN>",
"SWAGGER_API_KEY": "<SWAGGER_API_KEY>",
"SWAGGER_FUNCTIONAL_TESTING_API_TOKEN": "<SWAGGER_FUNCTIONAL_TESTING_API_TOKEN>",
"PACT_BROKER_TOKEN": "<PACT_BROKER_TOKEN>",
"PACT_BROKER_PASSWORD": "<PACT_BROKER_PASSWORD>",
"ZEPHYR_API_TOKEN": "<ZEPHYR_API_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"smartbear": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@smartbear/mcp"
],
"env": {
"BEARQ_API_TOKEN": "<BEARQ_API_TOKEN>",
"BUGSNAG_AUTH_TOKEN": "<BUGSNAG_AUTH_TOKEN>",
"REFLECT_API_TOKEN": "<REFLECT_API_TOKEN>",
"SWAGGER_API_KEY": "<SWAGGER_API_KEY>",
"SWAGGER_FUNCTIONAL_TESTING_API_TOKEN": "<SWAGGER_FUNCTIONAL_TESTING_API_TOKEN>",
"PACT_BROKER_TOKEN": "<PACT_BROKER_TOKEN>",
"PACT_BROKER_PASSWORD": "<PACT_BROKER_PASSWORD>",
"ZEPHYR_API_TOKEN": "<ZEPHYR_API_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"smartbear": {
"command": "npx",
"args": [
"-y",
"@smartbear/mcp"
],
"env": {
"BEARQ_API_TOKEN": "<BEARQ_API_TOKEN>",
"BUGSNAG_AUTH_TOKEN": "<BUGSNAG_AUTH_TOKEN>",
"REFLECT_API_TOKEN": "<REFLECT_API_TOKEN>",
"SWAGGER_API_KEY": "<SWAGGER_API_KEY>",
"SWAGGER_FUNCTIONAL_TESTING_API_TOKEN": "<SWAGGER_FUNCTIONAL_TESTING_API_TOKEN>",
"PACT_BROKER_TOKEN": "<PACT_BROKER_TOKEN>",
"PACT_BROKER_PASSWORD": "<PACT_BROKER_PASSWORD>",
"ZEPHYR_API_TOKEN": "<ZEPHYR_API_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"smartbear": {
"command": "npx",
"args": [
"-y",
"@smartbear/mcp"
],
"env": {
"BEARQ_API_TOKEN": "<BEARQ_API_TOKEN>",
"BUGSNAG_AUTH_TOKEN": "<BUGSNAG_AUTH_TOKEN>",
"REFLECT_API_TOKEN": "<REFLECT_API_TOKEN>",
"SWAGGER_API_KEY": "<SWAGGER_API_KEY>",
"SWAGGER_FUNCTIONAL_TESTING_API_TOKEN": "<SWAGGER_FUNCTIONAL_TESTING_API_TOKEN>",
"PACT_BROKER_TOKEN": "<PACT_BROKER_TOKEN>",
"PACT_BROKER_PASSWORD": "<PACT_BROKER_PASSWORD>",
"ZEPHYR_API_TOKEN": "<ZEPHYR_API_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"smartbear": {
"command": "npx",
"args": [
"-y",
"@smartbear/mcp"
],
"env": {
"BEARQ_API_TOKEN": "<BEARQ_API_TOKEN>",
"BUGSNAG_AUTH_TOKEN": "<BUGSNAG_AUTH_TOKEN>",
"REFLECT_API_TOKEN": "<REFLECT_API_TOKEN>",
"SWAGGER_API_KEY": "<SWAGGER_API_KEY>",
"SWAGGER_FUNCTIONAL_TESTING_API_TOKEN": "<SWAGGER_FUNCTIONAL_TESTING_API_TOKEN>",
"PACT_BROKER_TOKEN": "<PACT_BROKER_TOKEN>",
"PACT_BROKER_PASSWORD": "<PACT_BROKER_PASSWORD>",
"ZEPHYR_API_TOKEN": "<ZEPHYR_API_TOKEN>"
}
}
}
}Remote
claude mcp add --transport http smartbear https://bugsnag.mcp.smartbear.com/mcp~/.codex/config.toml
[mcp_servers.smartbear]
url = "https://bugsnag.mcp.smartbear.com/mcp"
# codex mcp add smartbear --url https://bugsnag.mcp.smartbear.com/mcp~/.cursor/mcp.json
{
"mcpServers": {
"smartbear": {
"url": "https://bugsnag.mcp.smartbear.com/mcp"
}
}
}.vscode/mcp.json
{
"servers": {
"smartbear": {
"type": "http",
"url": "https://bugsnag.mcp.smartbear.com/mcp"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"smartbear": {
"httpUrl": "https://bugsnag.mcp.smartbear.com/mcp"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"smartbear": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://bugsnag.mcp.smartbear.com/mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"smartbear": {
"url": "https://bugsnag.mcp.smartbear.com/mcp"
}
}
}Environment variables
BEARQ_API_TOKENBUGSNAG_AUTH_TOKENREFLECT_API_TOKENSWAGGER_API_KEYSWAGGER_FUNCTIONAL_TESTING_API_TOKENPACT_BROKER_TOKENPACT_BROKER_PASSWORDZEPHYR_API_TOKEN
Replace the placeholders with your own credentials and keep them out of version control.