---
type: "post"
id: "ngrok-ai-gateway-adds-mcp-gateway-with-one-0ea0b5"
slug: "ngrok-ai-gateway-adds-mcp-gateway-with-one-0ea0b5"
title: "ngrok AI Gateway adds MCP Gateway with one URL and key"
description: "ngrok announced MCP Gateway as part of AI Gateway in a changelog dated Dec."
retrieval_nugget: "ngrok announced MCP Gateway as part of AI Gateway in a changelog dated Dec."
published_at: "2026-12-02"
updated_at: "2026-12-02"
record_date: "2026-12-02"
date_kind: "published_at"
topics: ["mcp","claude","claude-code"]
entities: ["ngrok","ngrok AI Gateway","MCP Gateway","Model Context Protocol","Claude Code"]
related_patterns: ["agent-protocols-become-interoperability-layer","agent-security-moves-to-runtime-boundaries"]
novelty_label: "new_fact"
what_changed: null
prior_refs: []
source_url: "https://ngrok.com/changelog/ai-gateway-mcp-gateway"
source_urls: ["https://ngrok.com/changelog/ai-gateway-mcp-gateway"]
production: {"schema":"newruntime-production-v1","desk":"newsroom","first_seen_at":"2026-12-02T11:24:40.310Z","independent_sources":1,"notes_synthesized":null,"writer_model":"gpt-6-luna","critic":null,"checks":["primary_source_verified","source_fresh","one_story","copy_contract"],"novelty":null,"editorial_value":"high","human_review":"selective"}
citations: [{"claim":"","quotes":["MCP Gateway puts those servers behind AI Gateway. Agents connect to https://mcp.ngrok.ai/ with the same access key they use for models."],"cite_url":"https://ngrok.com/changelog/ai-gateway-mcp-gateway#:~:text=MCP%20Gateway%20puts%20those%20servers%20behind%20AI%20Gateway.%20Agents%20connect%20to%20https%3A%2F%2Fmcp.ngrok.ai%2F%20with%20the%20same%20access%20key%20they%20use%20for%20models.","source_url":"https://ngrok.com/changelog/ai-gateway-mcp-gateway","publisher":"ngrok.com"},{"claim":"Upstream authentication can be absent, supplied from a stored header or query-parameter secret, forwarded from client headers, or passed through as the client’s OAuth token.","quotes":["Each server also keeps its own URL, https://mcp.ngrok.ai/s- , for clients that want one server at a time."],"cite_url":"https://ngrok.com/changelog/ai-gateway-mcp-gateway#:~:text=Each%20server%20also%20keeps%20its%20own%20URL%2C%20https%3A%2F%2Fmcp.ngrok.ai%2Fs%2D%20%2C%20for%20clients%20that%20want%20one%20server%20at%20a%20time.","source_url":"https://ngrok.com/changelog/ai-gateway-mcp-gateway","publisher":"ngrok.com"},{"claim":"","quotes":["A server can take no credentials, one stored secret in a header or query parameter, headers forwarded from the client, or the client’s own OAuth token, passed through unchanged.","The gateway never sends your access key upstream."],"cite_url":"https://ngrok.com/changelog/ai-gateway-mcp-gateway#:~:text=A%20server%20can%20take%20no%20credentials%2C%20one%20stored%20secret%20in%20a%20header%20or%20query%20parameter%2C%20headers%20forwarded%20from%20the%20client%2C%20or%20the%20client%E2%80%99s%20own%20OAuth%20token%2C%20passed%20through%20unchanged.&text=The%20gateway%20never%20sends%20your%20access%20key%20upstream.","source_url":"https://ngrok.com/changelog/ai-gateway-mcp-gateway","publisher":"ngrok.com"},{"claim":"Enable mcpSearchEnabled to expose ngrok-gatewaysearchtools rather than the full tool list.","quotes":["An access key configuration allows servers by label and tools as docs/search or docs/* .","Tools a key can’t call disappear from tools/list , and a call to one returns JSON-RPC error -32003 , “tool not allowed for this key.”"],"cite_url":"https://ngrok.com/changelog/ai-gateway-mcp-gateway#:~:text=An%20access%20key%20configuration%20allows%20servers%20by%20label%20and%20tools%20as%20docs%2Fsearch%20or%20docs%2F%2A%20.&text=Tools%20a%20key%20can%E2%80%99t%20call%20disappear%20from%20tools%2Flist%20%2C%20and%20a%20call%20to%20one%20returns%20JSON%2DRPC%20error%20%2D32003%20%2C%20%E2%80%9Ctool%20not%20allowed%20for%20this%20key.%E2%80%9D","source_url":"https://ngrok.com/changelog/ai-gateway-mcp-gateway","publisher":"ngrok.com"},{"claim":"","quotes":["The new MCP calls view shows each request’s key, server, tool, and outcome, including the calls the gateway denied.","Turn on request capture to keep the bodies too."],"cite_url":"https://ngrok.com/changelog/ai-gateway-mcp-gateway#:~:text=The%20new%20MCP%20calls%20view%20shows%20each%20request%E2%80%99s%20key%2C%20server%2C%20tool%2C%20and%20outcome%2C%20including%20the%20calls%20the%20gateway%20denied.&text=Turn%20on%20request%20capture%20to%20keep%20the%20bodies%20too.","source_url":"https://ngrok.com/changelog/ai-gateway-mcp-gateway","publisher":"ngrok.com"},{"claim":"Usage comes from AI Gateway credits at $10 per million billable operations.","quotes":["MCP Gateway works on every AI Gateway account, with no plan to upgrade."],"cite_url":"https://ngrok.com/changelog/ai-gateway-mcp-gateway#:~:text=MCP%20Gateway%20works%20on%20every%20AI%20Gateway%20account%2C%20with%20no%20plan%20to%20upgrade.","source_url":"https://ngrok.com/changelog/ai-gateway-mcp-gateway","publisher":"ngrok.com"},{"claim":"An answered tools/call costs one operation even if the tool reports an error, and each tool search costs one.","quotes":["You pay for usage from your AI Gateway credits, the same as model requests: $10 per 1 million billable operations."],"cite_url":"https://ngrok.com/changelog/ai-gateway-mcp-gateway#:~:text=You%20pay%20for%20usage%20from%20your%20AI%20Gateway%20credits%2C%20the%20same%20as%20model%20requests%3A%20%2410%20per%201%20million%20billable%20operations.","source_url":"https://ngrok.com/changelog/ai-gateway-mcp-gateway","publisher":"ngrok.com"},{"claim":"initialize, tools/list and denied calls are free.","quotes":["You pay for usage from your AI Gateway credits, the same as model requests: $10 per 1 million billable operations. A tools/call that the server answers counts as one, even when the tool reports an error."],"cite_url":"https://ngrok.com/changelog/ai-gateway-mcp-gateway#:~:text=You%20pay%20for%20usage%20from%20your%20AI%20Gateway%20credits%2C%20the%20same%20as%20model%20requests%3A%20%2410%20per%201%20million%20billable%20operations.%20A%20tools%2Fcall%20that%20the%20server%20answers%20counts%20as%20one%2C%20even%20when%20the%20tool%20reports%20an%20error.","source_url":"https://ngrok.com/changelog/ai-gateway-mcp-gateway","publisher":"ngrok.com"},{"claim":"When credits run out, billable calls return 402 until you top up; agents can still list tools.","quotes":["initialize , tools/list , and denied calls are free."],"cite_url":"https://ngrok.com/changelog/ai-gateway-mcp-gateway#:~:text=initialize%20%2C%20tools%2Flist%20%2C%20and%20denied%20calls%20are%20free.","source_url":"https://ngrok.com/changelog/ai-gateway-mcp-gateway","publisher":"ngrok.com"},{"claim":"","quotes":["If your credits run out, billable calls return 402 until you top up, but your agent can still list its tools."],"cite_url":"https://ngrok.com/changelog/ai-gateway-mcp-gateway#:~:text=If%20your%20credits%20run%20out%2C%20billable%20calls%20return%20402%20until%20you%20top%20up%2C%20but%20your%20agent%20can%20still%20list%20its%20tools.","source_url":"https://ngrok.com/changelog/ai-gateway-mcp-gateway","publisher":"ngrok.com"},{"claim":"","quotes":["Get started You need an MCP server with a public HTTPS URL."],"cite_url":"https://ngrok.com/changelog/ai-gateway-mcp-gateway#:~:text=Get%20started%20You%20need%20an%20MCP%20server%20with%20a%20public%20HTTPS%20URL.","source_url":"https://ngrok.com/changelog/ai-gateway-mcp-gateway","publisher":"ngrok.com"},{"claim":"Then open Keys, create an access-key configuration that allows only docs/search under MCP tools, and create a key with that configuration.","quotes":["Register a server Open MCP Gateway → Servers and click Register server . Give it a Label , such as docs , its Upstream URL , and an upstream auth Mode ."],"cite_url":"https://ngrok.com/changelog/ai-gateway-mcp-gateway#:~:text=Register%20a%20server%20Open%20MCP%20Gateway%20%E2%86%92%20Servers%20and%20click%20Register%20server%20.%20Give%20it%20a%20Label%20%2C%20such%20as%20docs%20%2C%20its%20Upstream%20URL%20%2C%20and%20an%20upstream%20auth%20Mode%20.","source_url":"https://ngrok.com/changelog/ai-gateway-mcp-gateway","publisher":"ngrok.com"},{"claim":"","quotes":["Pick the tools a key can call Open Keys , create an access key configuration, and under MCP tools allow only docs/search ."],"cite_url":"https://ngrok.com/changelog/ai-gateway-mcp-gateway#:~:text=Pick%20the%20tools%20a%20key%20can%20call%20Open%20Keys%20%2C%20create%20an%20access%20key%20configuration%2C%20and%20under%20MCP%20tools%20allow%20only%20docs%2Fsearch%20.","source_url":"https://ngrok.com/changelog/ai-gateway-mcp-gateway","publisher":"ngrok.com"},{"claim":"sh claude mcp add --transport http ngrok-mcp-gateway https://mcp.ngrok.ai/ \\ --header \"Authorization: Bearer $MCPGATEWAYAPIKEY\"  Run /mcp: the example lists docssearch and ngrok-gatewaylistservers, with no other docs tools.","quotes":["Connect your agent Add the gateway to Claude Code: claude mcp add --transport http ngrok-mcp-gateway https://mcp.ngrok.ai/ \\ --header \"Authorization: Bearer $MCP_GATEWAY_API_KEY \" Run /mcp in Claude Code."],"cite_url":"https://ngrok.com/changelog/ai-gateway-mcp-gateway#:~:text=Connect%20your%20agent%20Add%20the%20gateway%20to%20Claude%20Code%3A%20claude%20mcp%20add%20%2D%2Dtransport%20http%20ngrok%2Dmcp%2Dgateway%20https%3A%2F%2Fmcp.ngrok.ai%2F%20%5C%20%2D%2Dheader%20%22Authorization%3A%20Bearer%20%24MCP_GATEWAY_API_KEY%20%22%20Run%20%2Fmcp%20in%20Claude%20Code.","source_url":"https://ngrok.com/changelog/ai-gateway-mcp-gateway","publisher":"ngrok.com"},{"claim":"Ask the agent to search the docs, then open Activity → MCP calls to inspect the request.","quotes":["Connect your agent Add the gateway to Claude Code: claude mcp add --transport http ngrok-mcp-gateway https://mcp.ngrok.ai/ \\ --header \"Authorization: Bearer $MCP_GATEWAY_API_KEY \" Run /mcp in Claude Code. The tool list shows docssearch , plus ngrok-gatewaylist_servers , and nothing else from docs ."],"cite_url":"https://ngrok.com/changelog/ai-gateway-mcp-gateway#:~:text=Connect%20your%20agent%20Add%20the%20gateway%20to%20Claude%20Code%3A%20claude%20mcp%20add%20%2D%2Dtransport%20http%20ngrok%2Dmcp%2Dgateway%20https%3A%2F%2Fmcp.ngrok.ai%2F%20%5C%20%2D%2Dheader%20%22Authorization%3A%20Bearer%20%24MCP_GATEWAY_API_KEY%20%22%20Run%20%2Fmcp%20in%20Claude%20Code.%20The%20tool%20list%20shows%20docssearch%20%2C%20plus%20ngrok%2Dgatewaylist_servers%20%2C%20and%20nothing%20else%20from%20docs%20.","source_url":"https://ngrok.com/changelog/ai-gateway-mcp-gateway","publisher":"ngrok.com"},{"claim":"","quotes":["Check Activity Ask your agent to search the docs. Then open Activity , select MCP calls , and find the request."],"cite_url":"https://ngrok.com/changelog/ai-gateway-mcp-gateway#:~:text=Check%20Activity%20Ask%20your%20agent%20to%20search%20the%20docs.%20Then%20open%20Activity%20%2C%20select%20MCP%20calls%20%2C%20and%20find%20the%20request.","source_url":"https://ngrok.com/changelog/ai-gateway-mcp-gateway","publisher":"ngrok.com"}]
schema_version: "newruntime-agent-readable-v0.2"
stable_id: "post:ngrok-ai-gateway-adds-mcp-gateway-with-one-0ea0b5"
status: "published"
visuals: []
editor: {"role":"editor","name":"Andrey Reshetnikov","profile":"https://newruntime.com/owner-profile.md","profile_json":"https://newruntime.com/owner-profile.json","same_as":["https://www.linkedin.com/in/reshetnikov1/","https://t.me/lapetuse"]}
routes: {"html":"https://newruntime.com/posts/ngrok-ai-gateway-adds-mcp-gateway-with-one-0ea0b5/","markdown":"https://newruntime.com/posts/ngrok-ai-gateway-adds-mcp-gateway-with-one-0ea0b5.md","json":"https://newruntime.com/posts/ngrok-ai-gateway-adds-mcp-gateway-with-one-0ea0b5.json"}
markdown_url: "https://newruntime.com/posts/ngrok-ai-gateway-adds-mcp-gateway-with-one-0ea0b5.md"
---

# ngrok AI Gateway adds MCP Gateway with one URL and key

## Retrieval answer

ngrok announced MCP Gateway as part of AI Gateway in a changelog dated Dec.

## Summary

ngrok announced MCP Gateway as part of AI Gateway in a changelog dated Dec. 1, 2026. Agents connect at the shared `https://mcp.ngrok.ai/` endpoint using the same access key they use for AI Gateway models. ([ngrok.com](https://ngrok.com/changelog/ai-gateway-mcp-gateway#:~:text=MCP%20Gateway%20puts%20those%20servers%20behind%20AI%20Gateway.%20Agents%20connect%20to%20https%3A%2F%2Fmcp.ngrok.ai%2F%20with%20the%20same%20access%20key%20they%20use%20for%20models.))

## What happened

The shared endpoint lists tools available to a key across registered servers, named `<label>__<tool>`; clients can instead use a server-specific URL when they work with one server at a time. ([ngrok.com](https://ngrok.com/changelog/ai-gateway-mcp-gateway#:~:text=Each%20server%20also%20keeps%20its%20own%20URL%2C%20https%3A%2F%2Fmcp.ngrok.ai%2Fs%2D%20%2C%20for%20clients%20that%20want%20one%20server%20at%20a%20time.)) Upstream authentication can be absent, supplied from a stored header or query-parameter secret, forwarded from client headers, or passed through as the client’s OAuth token. The AI Gateway key itself is not sent upstream. ([ngrok.com](https://ngrok.com/changelog/ai-gateway-mcp-gateway#:~:text=A%20server%20can%20take%20no%20credentials%2C%20one%20stored%20secret%20in%20a%20header%20or%20query%20parameter%2C%20headers%20forwarded%20from%20the%20client%2C%20or%20the%20client%E2%80%99s%20own%20OAuth%20token%2C%20passed%20through%20unchanged.&text=The%20gateway%20never%20sends%20your%20access%20key%20upstream.))

Key configuration can allow selected servers and tools—for example, `docs/search` or `docs/*`. Disallowed tools are omitted from `tools/list`, and attempts to call them return JSON-RPC error `-32003`. ([ngrok.com](https://ngrok.com/changelog/ai-gateway-mcp-gateway#:~:text=An%20access%20key%20configuration%20allows%20servers%20by%20label%20and%20tools%20as%20docs%2Fsearch%20or%20docs%2F%2A%20.&text=Tools%20a%20key%20can%E2%80%99t%20call%20disappear%20from%20tools%2Flist%20%2C%20and%20a%20call%20to%20one%20returns%20JSON%2DRPC%20error%20%2D32003%20%2C%20%E2%80%9Ctool%20not%20allowed%20for%20this%20key.%E2%80%9D)) Enable `mcpSearchEnabled` to expose `ngrok-gateway__search_tools` rather than the full tool list. Activity’s MCP calls view records the key, server, tool and outcome, including denials; request capture can also retain bodies when enabled. ([ngrok.com](https://ngrok.com/changelog/ai-gateway-mcp-gateway#:~:text=The%20new%20MCP%20calls%20view%20shows%20each%20request%E2%80%99s%20key%2C%20server%2C%20tool%2C%20and%20outcome%2C%20including%20the%20calls%20the%20gateway%20denied.&text=Turn%20on%20request%20capture%20to%20keep%20the%20bodies%20too.))

The feature works on every AI Gateway account without a plan upgrade. ([ngrok.com](https://ngrok.com/changelog/ai-gateway-mcp-gateway#:~:text=MCP%20Gateway%20works%20on%20every%20AI%20Gateway%20account%2C%20with%20no%20plan%20to%20upgrade.)) Usage comes from AI Gateway credits at $10 per million billable operations. ([ngrok.com](https://ngrok.com/changelog/ai-gateway-mcp-gateway#:~:text=You%20pay%20for%20usage%20from%20your%20AI%20Gateway%20credits%2C%20the%20same%20as%20model%20requests%3A%20%2410%20per%201%20million%20billable%20operations.)) An answered `tools/call` costs one operation even if the tool reports an error, and each tool search costs one. ([ngrok.com](https://ngrok.com/changelog/ai-gateway-mcp-gateway#:~:text=You%20pay%20for%20usage%20from%20your%20AI%20Gateway%20credits%2C%20the%20same%20as%20model%20requests%3A%20%2410%20per%201%20million%20billable%20operations.%20A%20tools%2Fcall%20that%20the%20server%20answers%20counts%20as%20one%2C%20even%20when%20the%20tool%20reports%20an%20error.)) `initialize`, `tools/list` and denied calls are free. ([ngrok.com](https://ngrok.com/changelog/ai-gateway-mcp-gateway#:~:text=initialize%20%2C%20tools%2Flist%20%2C%20and%20denied%20calls%20are%20free.)) When credits run out, billable calls return 402 until you top up; agents can still list tools. ([ngrok.com](https://ngrok.com/changelog/ai-gateway-mcp-gateway#:~:text=If%20your%20credits%20run%20out%2C%20billable%20calls%20return%20402%20until%20you%20top%20up%2C%20but%20your%20agent%20can%20still%20list%20its%20tools.))

## Trend signal

This fits the runtime-boundary pattern: permissions are enforced by the gateway rather than left to the agent’s instructions, and call records make those controls inspectable.

## Why it matters

For a team, issue keys scoped to the tools each agent needs, then use the call log to review both successful use and denials. That makes least-privilege tool access easier to operate than sharing a broad server catalog.

## Limits and uncertainty

Every upstream MCP server must have a public HTTPS URL. ([ngrok.com](https://ngrok.com/changelog/ai-gateway-mcp-gateway#:~:text=Get%20started%20You%20need%20an%20MCP%20server%20with%20a%20public%20HTTPS%20URL.))

## Skill to build now

In MCP Gateway → Servers, choose Register server and enter a label, upstream URL and authentication mode. ([ngrok.com](https://ngrok.com/changelog/ai-gateway-mcp-gateway#:~:text=Register%20a%20server%20Open%20MCP%20Gateway%20%E2%86%92%20Servers%20and%20click%20Register%20server%20.%20Give%20it%20a%20Label%20%2C%20such%20as%20docs%20%2C%20its%20Upstream%20URL%20%2C%20and%20an%20upstream%20auth%20Mode%20.)) Then open Keys, create an access-key configuration that allows only `docs/search` under MCP tools, and create a key with that configuration. ([ngrok.com](https://ngrok.com/changelog/ai-gateway-mcp-gateway#:~:text=Pick%20the%20tools%20a%20key%20can%20call%20Open%20Keys%20%2C%20create%20an%20access%20key%20configuration%2C%20and%20under%20MCP%20tools%20allow%20only%20docs%2Fsearch%20.))

For Claude Code, the example adds the shared endpoint over HTTP with a bearer key:

```sh
claude mcp add --transport http ngrok-mcp-gateway https://mcp.ngrok.ai/ \
  --header "Authorization: Bearer $MCP_GATEWAY_API_KEY"
``` ([ngrok.com](https://ngrok.com/changelog/ai-gateway-mcp-gateway#:~:text=Connect%20your%20agent%20Add%20the%20gateway%20to%20Claude%20Code%3A%20claude%20mcp%20add%20%2D%2Dtransport%20http%20ngrok%2Dmcp%2Dgateway%20https%3A%2F%2Fmcp.ngrok.ai%2F%20%5C%20%2D%2Dheader%20%22Authorization%3A%20Bearer%20%24MCP_GATEWAY_API_KEY%20%22%20Run%20%2Fmcp%20in%20Claude%20Code.)) Run `/mcp`: the example lists `docs__search` and `ngrok-gateway__list_servers`, with no other docs tools. ([ngrok.com](https://ngrok.com/changelog/ai-gateway-mcp-gateway#:~:text=Connect%20your%20agent%20Add%20the%20gateway%20to%20Claude%20Code%3A%20claude%20mcp%20add%20%2D%2Dtransport%20http%20ngrok%2Dmcp%2Dgateway%20https%3A%2F%2Fmcp.ngrok.ai%2F%20%5C%20%2D%2Dheader%20%22Authorization%3A%20Bearer%20%24MCP_GATEWAY_API_KEY%20%22%20Run%20%2Fmcp%20in%20Claude%20Code.%20The%20tool%20list%20shows%20docssearch%20%2C%20plus%20ngrok%2Dgatewaylist_servers%20%2C%20and%20nothing%20else%20from%20docs%20.)) Ask the agent to search the docs, then open Activity → MCP calls to inspect the request. ([ngrok.com](https://ngrok.com/changelog/ai-gateway-mcp-gateway#:~:text=Check%20Activity%20Ask%20your%20agent%20to%20search%20the%20docs.%20Then%20open%20Activity%20%2C%20select%20MCP%20calls%20%2C%20and%20find%20the%20request.))

## Reader takeaway

Register public HTTPS MCP servers, then give an agent the AI Gateway key and limit it to named tools. Calls and searches consume credits, while listing tools and denied calls do not. The key distinction is operational: permissions are enforced at the gateway and requests are visible in Activity.

Editor: [Andrey Reshetnikov](https://newruntime.com/owner-profile.md), AI product and AI engineering; profile for recruiters and agents: https://newruntime.com/owner-profile.json

## Continue in the graph

Next records for an agent, linked to their Markdown twins. Replace `.md` with `.json` for structured fields, including `next_reads`.

- topic hub: [Mcp](https://newruntime.com/topics/mcp.md): Explore the mcp topic hub.
- topic hub: [Claude](https://newruntime.com/topics/claude.md): Explore the claude topic hub.
- topic hub: [Claude Code](https://newruntime.com/topics/claude-code.md): Explore the claude-code topic hub.
- collection: [Field Notes](https://newruntime.com/posts.json): Open the latest editorial analysis.
- collection: [Sources](https://newruntime.com/sources/): See the original sources this archive cites.
- whole graph: [discovery graph](https://newruntime.com/discovery-graph.json) (typed nodes and edges) and [site index](https://newruntime.com/site-index.md)
