Configure the SmartBear MCP server for BugSnag On-premise.
The SmartBear Model Context Protocol (MCP) server provides a standardized way for AI agents to connect to and interact with your BugSnag On-premise installation. The MCP server is included in the On-premise installation along with an authorization server for users to set up an OAuth workflow for access.
You can enable the MCP server by reconfiguring BugSnag via the Admin Console (KOTS).
hostname:port. Setting to empty will allow all endpoints. Defaults to your Dashboard host.* will allow all origins. Defaults to *.https://oauth.example.com and must be updated to your actual OAuth server host.* will allow all origins. Defaults to *.1h). Defaults to 1h.24h). Defaults to 24h.10m). Defaults to 10m.0 (no expiry).ID@ID|SECRET|REDIRECT_URIS|SCOPES. Multiple clients can be separated by a semicolon (;).In order to access the MCP server and its associated OAuth server from outside the cluster, you must configure load balancers. See our load balancing guide for the required ports and protocols.
If you are using our provided CloudFormation template to install BugSnag, you can automatically provision external load balancers for the SmartBear MCP server and its associated OAuth server.
To create the load balancers and target groups, you should provide the following parameters when provisioning or updating your CloudFormation stack:
CreateOAuthServerLBResources: Set to true to create the OAuth server load balancer.OAuthServerHostname: Hostname to use for creating a public DNS record for the OAuth server load balancer.OAuthServerCertificateArn: ARN of the certificate to use for the OAuth server load balancer.OAuthServerLBIngressCidrBlock: Optional override for the IPv4 CIDR block of addresses allowed to access the OAuth server load balancer.If you are using an externally managed load balancer, you can specify the target group using OAuthServerLBTargetGroupArn. By default, the Kubernetes node port is 30008 and can be overridden with OAuthServerK8sNodePort.
CreateSmartbearMcpLBResources: Set to true to create the SmartBear MCP load balancer.SmartbearMcpHostname: Hostname to use for creating a public DNS record for the SmartBear MCP load balancer.SmartbearMcpCertificateArn: ARN of the certificate to use for the SmartBear MCP load balancer.SmartbearMcpLBIngressCidrBlock: Optional override for the IPv4 CIDR block of addresses allowed to access the SmartBear MCP load balancer.If you are using an externally managed load balancer, you can specify the target group using SmartbearMcpLBTargetGroupArn. By default, the Kubernetes node port is 30007 and can be overridden with SmartbearMcpK8sNodePort.
Once you have provisioned the load balancers, remember to reconfigure BugSnag via the Admin Console (KOTS) to set the MCP OAuth server host to match the hostname of the newly created OAuth server load balancer.