AI

Monitor and Observe Bright Data’s Web MCP with Kong

Route Bright Data’s Web MCP through a Kong MCP gateway to add enterprise-grade telemetry, analytics, and traffic insights to every AI request.
13 min read
Monitor and Observe Bright Data's Web MCP with Kong

In this blog post, you will see:

  • What Kong is and what it offers as an API and AI gateway platform.
  • How Kong can add observability to the already enterprise-ready Bright Data Web MCP.
  • How to configure a Kong MCP Gateway to relay requests to the remote Web MCP server.

Let’s dive in!

What Is Kong?

Kong

Kong is an API gateway and AI connectivity platform. It routes, secures, manages, and monitors traffic between clients and backend services, APIs, LLMs, and MCP servers.

From a technical point of view, it acts as a high-performance reverse proxy, applying plugins for authentication, observability, rate limiting, protocol translation, and more. The platform is available as a managed cloud service for enterprise deployments or can be self-hosted using the open-source project.

In detail, Kong Konnect is Kong’s cloud-based control plane. It provides a centralized interface for configuring gateways, managing services, adding plugins, and monitoring API and AI traffic across self-hosted, hybrid, and fully managed environments.

Kong + Bright Data Web MCP for an Enterprise MCP Experience

LLMs are powerful, but their knowledge is limited to the static datasets they were trained on. To overcome this limitation, they need access to the live web.

The Bright Data Web MCP solves that problem by exposing more than 70 MCP tools for enterprise-grade web search, scraping, browser automation, and structured data extraction. These tools allow AI agents to access even websites protected by advanced anti-bot systems.

In Rapid mode (5K free requests a month), the Web MCP already provides:

Tool(s) Purpose
search_engine (search_engine_batch) Retrieve structured search results from Google, Bing, Yandex, and more.
web_fetch (scrape_batch) Extract clean Markdown from web pages while bypassing anti-bot protections.
discover Perform AI-powered website discovery based on intent and relevance.

By enabling Pro mode, the server unlocks 70+ additional tools for extracting structured data from platforms such as LinkedIn, Amazon, Crunchbase, and many others. Also, it provides browser automation tools powered by Bright Data’s Browser API.

What makes the Web MCP suitable for enterprise workloads is the infrastructure behind it. Powered by Bright Data’s global network of more than 400 million residential IPs, it supports unlimited concurrency, maintains 99.99% uptime, and achieves a 99.95% request success rate.

However, organizations also need visibility into how AI agents use MCP tools. Without dedicated observability, troubleshooting performance issues, enforcing governance, and optimizing costs becomes increasingly difficult for enterprise MCP scenarios.

This is where Kong comes in. By placing a Kong MCP Gateway in front of the remote Web MCP server and enabling the AI MCP Proxy plugin, Kong acts as an MCP-aware reverse proxy. It transparently relays all MCP requests to the remote server while collecting detailed observability metrics, enabling centralized monitoring, analytics, and enterprise-grade governance.

How to Add Enterprise-Ready Observability to Bright Data’s Web MCP with Kong Konnect

In this step-by-step guide, you will be guided through setting up a Kong MCP Gateway. This will transmit requests to the Bright Data Web MCP server while adding enterprise-ready observability and visibility.

Prerequisites

To follow along with this section, make sure you have:

Note: If you want to self-host your Kong Gateway (as demonstrated in this article), you will also need Docker installed locally.

Knowledge of the tools exposed by Bright Data’s Web MCP will also be helpful, as well as a basic understanding of how MCP works.

Step #1: Create Your Kong Gateway

If you do not already have one, sign up for a Kong account and create an organization. Otherwise, simply log in. You will be taken to the Kong Konnect dashboard:

Selecting the “Control Planes” option

From the left-hand menu, select “API Gateway”, then choose the “Control planes” option. On the “API Gateway” page, click “New > New API Gateway” to create a new gateway:

Clicking the “New > New API Gateway” option

A Kong Gateway is a lightweight, high-performance reverse proxy. In this tutorial, it will sit between your MCP clients and the Bright Data Web MCP server, routing requests while adding observability and monitoring.

Next, choose a deployment option. If your plan includes Dedicated Cloud Gateways, that is the recommended choice, especially for production and enterprise environments. Otherwise, select “Self-Managed” and choose “Docker” as the running method:

Configuring the setup of your Kong Gateway

With this configuration, the request flow will work as follows:

  1. Your MCP clients will be configured to connect to your Kong Gateway instance running locally in a Docker container.
  2. MCP tool requests will be sent to your local Kong Gateway instead of directly to the Bright Data Web MCP server.
  3. Kong Gateway will forward these requests to the remote MCP server.
  4. While doing so, Kong will collect observability metrics and monitor traffic, sending this data to Kong Konnect.

Note: The “Serverless” option is not suitable because it does not support installing custom plugins, which are required to enable MCP gateway functionality in Kong.

Finally, give your gateway a name (e.g., “Bright Data AI Gateway”) and press “Create”:

Finalizing the Kong Gateway creation

Well done! You just created a Kong Gateway. Time to configure how the Kong Gateway instance will run.

Step #2: Self-Host Your Kong Gateway

Note: Skip this step if you chose the “Dedicated Cloud” option.

Open the dedicated page of the newly created Kong Gateway. In the “Data plane nodes” tab, select the Kong Gateway version (the latest version is recommended) and choose the operating system where you want to deploy the local Docker image.

Selecting a version and platform for the data plane node

Click “Generate certificate and script” to access the Docker command required to run the gateway locally:

Pressing the “Generate certificate and script” button

Make sure Docker is running on your machine, then execute the generated command in your terminal. You should see output similar to this:

The output returned by the Docker command

The local Kong Gateway instance will start running.

Next, return to the gateway page in Kong Konnect and press “View your data plane node”:

Clicking the “View your data plane node” button

The local instance will begin sending data to the cloud Kong Konnect dashboard to verify that the connection is working. Great!

Step #3: Configure a Kong Gateway Route

Navigate to the “Overview” tab of your “Bright Data AI Gateway” page.

Pressing the “Add a service and route” button

Start by clicking “Add a service and route” and fill out the “Configure new API” form as follows:

  • Service name: web-mcp
  • Service URL: https://mcp.brightdata.com/mcp (the URL of the remote Bright Data Web MCP server)
  • Route name: web-mcp-route
  • Route path: /web-mcp
Filling out the “Configure new API” form

Click “Save” to create a Kong Gateway Service named web-mcp. Note that Gateway Services represent your upstream services. Together with Routes, they connect client requests received by a Kong Gateway to the backend components responsible for processing and returning responses.

Amazing! Next, the Gateway Service will be configured to expose a relay endpoint for the Bright Data Web MCP server at the /web-mcp path through the route called web-mcp-route.

Note: By default, Kong will relay requests (from all HTTP methods) to /web-mcp and forward query parameters, headers, and other request details to the upstream service (the remote Bright Data Web MCP server).

Step #4: Configure the AI MCP Proxy Plugin

At this point, you have a relay endpoint for the https://mcp.brightdata.com/mcp API path. However, the MCP standard involves more aspects than a regular server API endpoint.

To ensure your gateway can correctly relay MCP-specific features, you need to configure Kong’s AI MCP Proxy plugin. This plugin acts as a protocol bridge, translating between MCP and HTTP so MCP-compatible clients can either call existing APIs or interact with upstream MCP servers through Kong.

To configure it, start by moving to the “Plugins” tab and clicking the “New Plugin” button:

Pressing the “New Plugin” button

Search for “mcp” and select the “AI MCP Proxy” option:

Selecting the “AI MCP Proxy” option

Configure the plugin scope to apply to the web-mcp Gateway Service and the web-mcp-route route. Then, make sure it operates in passthrough-listener mode. Keep all other options set to their default values, or configure them according to your specific needs:

Configuring the “AI MCP Proxy” option

Note: In passthrough-listener mode, the plugin listens for incoming MCP requests and proxies them to the upstream URL configured in the Gateway Service. It also generates MCP-specific observability metrics for traffic, making it suitable for third-party MCP servers hosted externally.

Press “Save”, and your Kong Gateway will now be able to successfully relay requests to the remote Bright Data Web MCP server. Cool!

Step #5: Get Familiar with the Features of the Remote Bright Data Web MCP

The Kong MCP Gateway will relay requests to a remote Web MCP server. So, it is important to understand the parameters and configuration options supported by the Bright Data Web MCP.

Take a look at the Web MCP remote connection URL format for Pro mode:

https://mcp.brightdata.com/mcp?token=<YOUR_BRIGHT_DATA_API_KEY>&pro=1

The two query parameters are:

  • token: To authenticate requests and link them to your Bright Data account. Replace <YOUR_BRIGHT_DATA_API_KEY> with your actual Bright Data API key.
  • pro=1: To access the full catalog of 70+ tools. Without it, you can gain access only to the free tools in Rapid mode (up to 5,000 requests per month).

Now, suppose you want more control. For example, you want access only to specific tools or tool groups. In that case, you can generate a custom MCP connection URL directly from the Bright Data dashboard.

Log in to your Bright Data account and go to the “AI Gateways > MCP” page. Follow the setup wizard to configure your MCP server and generate a custom Web MCP connection URL:

Note the configured Web MCP connection URL

Take a look at the special query parameters included in the “Streamable HTTP” connection URL.

Sweet! Now you are familiar with the parameters supported by the Bright Data Web MCP.

Step #6: Verify That Your Web MCP Gateway Works

To check that your local Kong Gateway is correctly relaying requests to the remote Bright Data Web MCP server, we will use the official MCP Inspector tool.

If you have Node.js installed locally, launch it with:

npx @modelcontextprotocol/inspector

Otherwise, run it with Docker:

docker run --rm \
  -p 127.0.0.1:6274:6274 \
  -p 127.0.0.1:6277:6277 \
  -e HOST=0.0.0.0 \
  -e MCP_AUTO_OPEN_ENABLED=false \
  ghcr.io/modelcontextprotocol/inspector:latest

The MCP Inspector will now be available at http://localhost:6277. Open that page in your browser and configure the MCP connection as follows:

  • Transport Type: Streamable HTTP
  • URL:
http://localhost:8000/web-mcp?token=<YOUR_BRIGHT_DATA_API_TOKEN>&pro=1

Replace <YOUR_BRIGHT_DATA_API_TOKEN> with your actual Bright Data API key. Also note the &pro=1 query parameter, which enables the Bright Data Web MCP server to operate in Pro mode. Consider setting other query parameters (e.g., to enable specific tool groups) based on how you want to configure the Web MCP connection.

Note: Kong Gateway will automatically relay the query parameters to the remote Web MCP server.

Click “Connect”. If everything is configured correctly, you should notice a successful connection to the brightdata-mcp server. Next, reach the “Tools” tab and load the list of available tools:

Note the 70+ tools exposed by the Kong Web MCP Gateway

You should see all 70+ tools exposed by the Bright Data Web MCP server in Pro mode.

That confirms that your local Kong Gateway is successfully relaying MCP requests to the remote Web MCP server. Mission complete!

Step #7: Test the MCP Connection in an AI Solution

Verify that your Kong MCP Gateway works from an AI application acting as an MCP client.

Note: In this section, we will refer to Claude Code. Still, the same approach applies to any MCP-compatible AI application.

First, make sure Claude Code is installed locally. Then, register the Kong Gateway as an MCP server called kong-bright-data-web-mcp by running:

claude mcp add --scope user --transport http kong-bright-data-web-mcp 'http://localhost:8000/web-mcp?token=<YOUR_BRIGHT_DATA_API_TOKEN>&pro=1'

Fix the query parameters in the MCP URL accordingly.

To check that Claude Code can access the MCP server, launch Claude Code and run the /mcp command. You should see the full list of Bright Data Web MCP tools exposed through your local Kong Gateway.

Now, try the following prompt:

Search online for SpaceX's Crunchbase profile page and extract the key company information from it. Then, search for "recent SpaceX news," select the three most relevant articles from reputable sources, scrape their content, and combine everything into a single report. The report should include an overview of the company based on its Crunchbase profile, followed by a concise summary of the recent news and the main takeaways from each article.

This task requires web search, web scraping, and structured data extraction. These capabilities are not natively available in Claude Code, but they are exposed by the Web MCP. So, this is a perfect example.

Run the prompt, and you should get:

Prompt execution in Claude Code

Behind the scenes, Claude Code performs the following steps:

  • Uses the search_engine tool (powered by Bright Data’s SERP API) to search Google for SpaceX’s Crunchbase profile and recent SpaceX news.
  • Extracts the relevant URLs from the returned search results.
  • Uses the web_data_crunchbase_company Pro tool (backed by Bright Data’s Crunchbase Scraper) to retrieve structured company data from the Crunchbase profile.
  • Uses the web_fetch tool (calling Bright Data’s Web Unlocker API) to retrieve the content of each news article.
  • Combines all of the retrieved information into a single report.

The final result looks like this:

The report produced by the AI agent

Notice that the generated report contains up-to-date information retrieved directly from the web. It features company data from Crunchbase, together with summaries from the latest news articles found on Google. Terrific!

Step #8: Explore Kong’s Observability Metrics

Now, navigate to the “Observability > Summary” page in Kong Konnect:

The “Observability > Summary” page

Here, you can monitor the traffic flowing through your MCP Gateway. Kong provides key observability metrics, including request count, error rate, P99 latency, traffic trends over time, etc. These metrics are essential for understanding the health and performance of your MCP connections.

In addition to the summary dashboard, Kong Konnect offers many other observability features. For example, navigate to “Observability > Requests” to inspect every MCP request handled by the Kong Gateway:

Note the details from a single MCP request

From there, you can examine each request, including its timing, status, route, and other information. This makes it much easier to troubleshoot issues, analyze traffic patterns, and monitor how your AI applications interact with the Bright Data Web MCP server.

With these capabilities, Kong adds enterprise-grade observability, monitoring, and visibility to your Bright Data Web MCP deployment. Et voilà!

Conclusion

In this article, you learned what Kong brings to the table as an enterprise platform for API and AI connectivity. Specifically, you saw how to configure a Kong MCP Gateway that sits in front of the Bright Data Web MCP, enriching it with enterprise-grade telemetry, analytics, and traffic insights.

Combined with Bright Data’s unlimited concurrency, high availability, and extensive web data capabilities, that creates a production-ready MCP deployment suitable for enterprise AI applications.

Create a Bright Data account for free today and start exploring our AI-ready web data solutions!

No credit card required
Antonello Zanini

Technical Writer

5.5 years experience

Antonello Zanini is a technical writer, editor, and software engineer with 5M+ views. Expert in technical content strategy, web development, and project management.

Expertise
Web Development Web Scraping AI Integration