Monitor and analyze MCP traffic with Hub API insights

This page applies to Apigee, but not to Apigee hybrid.

View Apigee Edge documentation.

This page describes how to monitor and analyze traffic to your MCP Discovery Proxies using the API insights dashboards in Hub.

MCP in Apigee adds specific attributes (analytics fields) to API traffic. You can filter by these fields in using the API insights dashboards in Hub.

  • API style: Filter by MCP to isolate agentic traffic from standard REST/SOAP traffic.
  • MCP tool name: View metrics for specific tools (such as create_refund, check_order_status) instead of viewing all requests for the general /mcp proxy endpoint.

The API style and MCP tool name filters are available for the following dashboards:

The MCP tool name filter is also available on the Insights tab of the API proxy details page in Google Cloud console.

Filtering by the API style and MCP tool name fields allows you focus on agentic traffic only and to see the performance of individual tools rather than the aggregate traffic to the /mcp proxy endpoint.

Accessing API insights in Hub

Before accessing API insights in Hub, confirm the following:

  • Make sure that API insights is configured in Hub to view and analyze API data from your attached gateways.
  • Make sure you have the required IAM roles to access API insights.

View API insights for all proxies

To view API insights for all proxies, do the following:

  1. In the Google Cloud console, go to the API insights page in Apigee API hub.

    Go to API insights
  2. In the Dashboards pane, select a dashboard.
    • To filter the data in the dashboard by API style, use the API style filter dropdown to select MCP.
    • To filter the data in the dashboard by MCP tool name, use the MCP tool name filter dropdown to select your MCP tool name.

View API insights for a specific proxy

To view API insights for a specific proxy, do the following:

  1. In the Google Cloud console, go to the APIs page in Apigee API hub. Go to APIs
  2. Select the name of the proxy for which you want to view API insights.
  3. Click the Insights tab.
  4. To filter the data in the dashboard by MCP tool name for the selected proxy, use the MCP tool name filter dropdown to select your MCP tool or tools.

For more detailed information about using API insights, see API insights dashboards.

What's next

Learn more about MCP in Apigee in Apigee MCP overview.