Field noteNov 24, 20265 min read1 source

Introducing fine-grained access tokens for ngrok

In one minute

ngrok says fine-grained access tokens are now available on every plan, including free, and can replace both authtokens and API keys across its CLI, API, helper, and MCP server. Builders can scope each credential to a job, constrain it to its owner’s permissions, and revoke it centrally—useful controls when agents or automation need access to development infrastructure.

What changed: ngrok introduced fine-grained access tokens that work across its CLI, API, and MCP server, replacing separate authtokens and API keys and available on every plan.

What happened

In a November 23, 2026 announcement, ngrok introduced fine-grained access tokens. The company says a single token works with the ngrok CLI, ngrok API, ngrok api helper, and ngrok MCP server, replacing the need to use an authtoken for the CLI and an API key for API access. Existing authtokens and API keys continue to work. Access tokens are available on every plan, including free, but signup and the dashboard still issue an authtoken by default; ngrok says it is working to make access tokens the default there.

Each token has scopes that define what it can do. The announcement gives endpoints:read, domains:write, and tunnel:start as examples. When creating a token in the dashboard, users can choose full access to every scope they have, read-only access to every read scope they have, or custom scopes. A Quick select option adds a bundle of scopes. ngrok’s examples include giving a CI job that checks endpoint health endpoints:read, or giving a hands-off coding agent a read-only token. For a CLI tunnel, the token needs the tunnel:start scope and can be added with ngrok config add-authtoken ngrok_pat_<your-token> or set through NGROK_AUTHTOKEN. For API calls, it is sent as a bearer token in the Authorization header.

The token acts as either a User or a Service User and cannot exceed the permissions of its owner. If the owner’s role loses a permission, the owner’s tokens lose it too, without an edit. ngrok recommends a Service User for automation that should outlast any one person. When a request lacks a required scope, the API returns HTTP 403 and ERR_NGROK_29001, identifying the missing scope.

Tokens can be revoked or deleted from the Access Tokens page. ngrok says agents using a revoked token disconnect and API and MCP calls fail within about two minutes. Expiration choices are 30, 60, or 90 days; one year, the default; or never. Tokens begin with ngrok_pat_, which the company says lets secret scanners find them if committed accidentally.

What the archive adds

New Runtime covered ngrok’s MCP server on November 17, 2026, describing how coding agents could manage ngrok resources through natural-language requests: Coding agent, meet ngrok: the ngrok MCP server is live. This is a new access-control capability for that agent-facing surface, rather than a restatement of the MCP server launch.

Trend signal

This supports the pattern that agent-ready software exposes a small set of permissioned capabilities. Scoped credentials give an external agent a narrower authority boundary than a broadly privileged API key. The pattern is described in Agent-ready software exposes capabilities.

Why now

ngrok says customer feedback highlighted that API keys were too powerful and that users had to maintain separate credentials for the CLI and API. It also says coding agents are becoming everyday development tools, making scoped credentials valuable when an agent is intended to remain hands-off and read-only.

Connections to other events

The new token works with the ngrok MCP server that New Runtime covered on November 17, 2026. That earlier capability let coding agents manage ngrok through MCP; this announcement adds a way to limit the authority of credentials used by the agent and revoke them without separately changing API and CLI credentials.

Why it matters

An agent’s tool access is not just a prompt-design problem: it depends on the credentials the surrounding systems accept. A read-only token for a coding agent, or a narrowly scoped token for a CI health check, limits the potential impact of a leak or mistaken action compared with a credential that has broad access. The owner-permission rule also gives teams a way to have tokens inherit changes to a person’s role, while Service Users address automation that should not depend on one employee’s account.

Central revocation across the CLI, API, and MCP server is operationally useful: teams can disable one credential rather than track several kinds of secrets for the same work. The roughly two-minute revocation window is an important detail for incident response, but it also means revocation is not instantaneous. Teams should still manage token storage and verify which scopes a job needs.

Limits and uncertainty

These controls apply to ngrok credentials and do not by themselves establish what an agent can do in other connected systems. The announcement does not quantify adoption, reductions in credential exposure, or security outcomes. Existing authtokens and API keys remain usable, and the dashboard still defaults to issuing an authtoken for now. ngrok describes revocation effects as occurring within about two minutes; teams should account for that window rather than assume immediate disconnection. The announcement does not independently verify how secret scanners detect committed tokens.

Skill to build now

For one ngrok-backed CI job or coding agent, replace a broad credential with a token limited to the job’s required scopes. Use endpoints:read for endpoint health checks; for a hands-off agent, start with read-only access and expand only if a specific task requires more. Set an expiration appropriate to the job, test that the intended operation works, then verify that an out-of-scope action fails. For automation that must survive an employee departure, consider a Service User.

Reader takeaway

ngrok’s new access tokens make it possible to use one credential across its CLI, API, and MCP server while limiting that credential’s scopes and lifetime. For teams connecting agents or automation to ngrok, the practical move is to issue the narrowest token that can complete the job—and remember that revocation takes about two minutes.

How this was made

Written by
New Runtime's AI newsroom, from the sources cited below.
Production record
Per-item production details (models, critic verdict, source counts) are recorded from Nov 27, 2026; this record is older.
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/blog/access-tokens
All Field Notes

Next reads

Read next

Open the graph
  1. 01topicMcpExplore the mcp topic hub.
  2. 02archiveField NotesOpen the latest editorial analysis.
  3. 03sourcesSourcesSee 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