Netskope LogoNetskope Logo
  • Security Services
  • AI Services
  • Networking Services
  • Analytics Services
  • Integrations
  • getting-started.svgGetting Started
    • Support
    • Community
    • Netskope.com
    © 2026 All Rights Reserved. Netskope Inc.
    Home
    AI Gateway
    MCP Gateway Overview
    Configuring MCP Gateway

    Configuring MCP Gateway

    Prerequisites

    Before you configure MCP Gateway, make sure you have:

    • AI Gateway v1.5 deployed and running.
    • An MCP server that uses MCP Streamable HTTP (spec 2025-11-25).
    • Administrator access to Settings > AI Gateway in the Netskope tenant UI.
    TransportSupport in v1.5
    MCP Streamable HTTP (spec 2025-11-25)Supported via JSON-RPC 2.0 over HTTP POST and GET. Recommended for reliable policy enforcement and event logging.
    MCP spec versions 2025-03-26 and earlierstdio transport and legacy SSE-only transport are not validated. The gateway does not block these versions, but event sequencing and policy enforcement are untested and may not work as expected. Use spec 2025-11-25 for full compatibility.

    Step 1: Register an MCP Server

    1. Go to Settings > AI Gateway > MCP Providers.
    2. Select Add MCP Server.
    3. Enter the following details:
    FieldDescription
    NameEnter a unique name for the tenant. The gateway uses this name as the route path segment: /v1/<name>. Prefix the name with mcp-.
    URLEnter the full upstream MCP server URL, including the path. The gateway uses this URL for routing and OAuth2 metadata matching.
    ProtocolSelect HTTPS or HTTP
    CertificateAdd the custom TLS certificate. Required only when you select https-custom.
    Tool ListAdd the tool names you want to use in policies and rate limits. The gateway does not automatically sync this list from the upstream server.
    Resource ListAdd the resource URIs you want to reference in policies and logs.
    Prompt ListAdd the prompt names you want to reference in policies and logs.
    You can register up to 100 MCP providers per tenant for the initial GA release.

    When you save the provider, the gateway creates an HTTP Route at /v1/<name> that points to the upstream server. The route becomes active within seconds.

    If the MCP server uses OAuth2, you do not need additional registration settings. The gateway automatically performs transparent OAuth2 relay. For details, see OAuth2 Transparent Relay in this topic.

    Step 2: Attach the MCP Server to a Gateway Appliance

    1. Go to Settings > AI Gateway > Appliances.
    2. Select the target appliance.
    3. Under MCP Providers, select the registered server(s).
    4. Select Save. The gateway pushes the configuration automatically, and the route becomes active within seconds.

    Step 3: Configure Rate Limits (Optional)

    Configure MCP rate limits separately from LLM provider rate limits.

    1. Go to Security Platform > AI Gateway > Rate Limits.
    LevelDescriptor keyScope
    Per servermcp-providerLimits all requests to one MCP server.
    Per token grouptoken-groupLimits all requests from a user or group.
    MCP provider rate limits cannot be combined with LLM provider rate limits in the same rule.

    Step 4: Configure Access Control Policy

    Create access control policies.

    1. Go to Policies > AI Gateway > Access Control.
    2. Select New Policy > MCP Server.

    You can match MCP traffic on the following dimensions:

    Match dimensionDescription
    Token GroupMatches by user or group identity.
    MCP Servermcp-provider
    Activity TypeMatches a specific MCP activity. For the full list, see MCP Activity Types in the Monitoring MCP Gateway Events topic.
    Tool Namemcp-tool
    Resource Namemcp-resource
    Prompt Namemcp-prompt

    Example: Block all call_tool_request activity to a specific server for users outside an allowed token group.

    Step 5: Configure DLP and AI Guardrails (Optional)

    DLP and AI Guardrails policies apply to the following MCP content:

    • Tool call arguments — inspected on the request side.
    • Tool call results — inspected on the response side.
    • Resource read content — inspected on the response side.

    Configure DLP profiles and AI Guardrails rules the same way you configure them for LLM providers. You do not need additional MCP-specific configuration.

    OAuth2 Transparent Relay

    For MCP servers that require OAuth2, the gateway relays discovery metadata without storing, validating, or inspecting credentials. You do not need to configure OAuth2 separately during MCP server registration.

    The relay works as follows:

    1. The MCP client calls GET /.well-known/oauth-protected-resource/<slug>.
    2. The gateway rewrites the resource URL to the gateway URL and preserves the authorization_servers field as-is.
    3. The MCP client gets token directly from the real authorization server. The gateway is not involved in this step.
    4. The MCP client sends the request to the gateway with the Bearer token.
    5. The gateway forwards the token to the upstream server as-is.
    The gateway does not store, validate, or inspect OAuth2 credentials. Tested OAuth2 providers include Notion, Figma, Slack, and Asana.

    Traffic Flow

    MCP Gateway sits inline between the MCP client and the MCP server, applying rate limiting and content inspection to all traffic passing through.

    MCP Client ←→ AI Gateway (rate limiting + content inspection) ←→ MCP Server

    How MCP Gateway Counts Transactions

    Billable transactions

    A transaction counts when an active HTTP request-result pair passes through the gateway and triggers rate limiting, access policies, or content inspection. Each of the following counts as one transaction:

    • InitializeRequest + InitializeResult
    • ListToolsRequest + ListToolsResult
    • CallToolRequest + CallToolResult

    What is not counted?

    The following system traffic does not count as a transaction:

    • OAuth requests and responses
    • Notifications
    • Completions
    • Pings
    • GET requests and task operations
    In this Topic
    • Configuring MCP Gateway