Field noteDec 2, 20263 min read1 source

ngrok AI Gateway adds MCP Gateway with one URL and key

In one minute

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)

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) 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)

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) 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)

The feature works on every AI Gateway account without a plan upgrade. (ngrok.com) Usage comes from AI Gateway credits at $10 per million billable operations. (ngrok.com) An answered tools/call costs one operation even if the tool reports an error, and each tool search costs one. (ngrok.com) initialize, tools/list and denied calls are free. (ngrok.com) When credits run out, billable calls return 402 until you top up; agents can still list tools. (ngrok.com)

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)

Skill to build now

In MCP Gateway → Servers, choose Register server and enter a label, upstream URL and authentication mode. (ngrok.com) 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)

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

claude mcp add --transport http ngrok-mcp-gateway https://mcp.ngrok.ai/ \
  --header "Authorization: Bearer $MCP_GATEWAY_API_KEY"

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.

How this was made

First seen
Dec 2, 2026, 11:24 UTC in our intake.
Sources
1 source carried the story when we picked it up; we cite the original.
Written by
gpt-6-luna (AI model).
Critic
No separate critic model on this desk; the automated checks below gate publication.
Checks passed
The cited primary source was fetched and verified; the source is not older than 30 days; no earlier note covers the same story; the copy passed the site's structure and language checks.
Confidence
Editorial value: high.
Human review
Published without a per-item human sign-off. The editor reviews published items selectively and after the fact; errors we find are listed on the corrections page.

Corrections and error statistics

Evidence / sources

  1. 1ngrok.com/changelog/ai-gateway-mcp-gateway
All Field Notes

Next reads

Read next

Open the graph
  1. 01topicMcpExplore the mcp topic hub.
  2. 02topicClaudeExplore the claude topic hub.
  3. 03topicClaude CodeExplore the claude-code topic hub.
  4. 04archiveField NotesOpen the latest editorial analysis.
  5. 05sourcesSourcesSee the original sources this archive cites.
Who read this page?Machine requests, hidden until opened

Loading the privacy-safe route aggregate...

Open the JSON contract