Servers › Cloud & DevOps › ngrok

● Vendor-hostedCloud & DevOps

ngrok MCP Server

ngrok's official hosted MCP server, launched November 16, 2026. ngrok says it is generally available on every plan, including the free plan, and can do anything your plan allows. Connect at https://mcp.ngrok.com/mcp (the /mcp path is required; the bare origin doesn't work). Most clients sign in with OAuth in your browser, so you never paste a token into the agent. Clients that can't use OAuth can send a personal access token (it starts with ngrok_pat_) as an Authorization: Bearer header. API keys and authtokens don't work. The server isn't read-only: an agent can look up endpoints, agents, Traffic Inspector traffic, domains, usage and limits, and the ngrok docs, and, if you approve the scopes, create or change Cloud Endpoints and Traffic Policy, reserve domains and TCP addresses, manage IP policies, vaults and secrets, revoke credentials, invite teammates, and set up AI Gateway. The agent acts as you, with your role's permissions, so check what it's about to do before you approve a tool call. For read-only access, use an access token that has only read scopes. ngrok documents setup for Claude Code, Codex (0.157.0 or later), Cursor, Gemini CLI, Amp, Cline, Pi, and VS Code; Zed, Goose, and OpenCode also work, and you can add it in Claude on the web, Claude Desktop, and Cowork as a custom connector. This is ngrok's account server, not the separate docs-search endpoint at https://ngrok.com/docs/mcp, and not ngrok used as a gateway for your own MCP server. ngrok doesn't publish source code for it, so there are no GitHub stats here (checked Nov 27, 2026).

Source: official setup docs

Remote server (hosted)

The server URL is https://mcp.ngrok.com/mcp. The /mcp path is required: the bare origin https://mcp.ngrok.com doesn't work. Most clients sign in with OAuth in your browser (you never paste a token into the agent). If your client can't use OAuth, create a personal access token in the ngrok dashboard (it starts with ngrok_pat_) and send it as an Authorization: Bearer header on every request. API keys and authtokens don't work.

Claude Code

claude mcp add --transport http --scope user ngrok https://mcp.ngrok.com/mcp
claude mcp login ngrok

Don't pass --client-id or --callback-port. Claude Code finds its client through server discovery.

Codex (0.157.0 or later)

codex mcp add ngrok --url https://mcp.ngrok.com/mcp
codex mcp login ngrok

If codex mcp add starts a sign-in, cancel it and run codex mcp login ngrok. Don't pass --oauth-client-id or --oauth-resource.

Cursor

Add this to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project). Don't set CLIENT_SECRET. Then connect the server from Cursor's MCP settings.

{
  "mcpServers": {
    "ngrok": {
      "url": "https://mcp.ngrok.com/mcp",
      "auth": {
        "CLIENT_ID": "iamcli_3KeK8d8sO4d9RArARx7RFzcTVtO"
      }
    }
  }
}

VS Code

Add this to .vscode/mcp.json (workspace) or your user MCP configuration, then start the server from that file and sign in:

{
  "servers": {
    "ngrok": {
      "type": "http",
      "url": "https://mcp.ngrok.com/mcp"
    }
  }
}

Clients without OAuth can send a header instead, for example with Claude Code:

claude mcp add --transport http --scope user ngrok https://mcp.ngrok.com/mcp \
  --header "Authorization: Bearer $NGROK_ACCESS_TOKEN"

Setup for Gemini CLI, Amp, Cline, Pi, and other clients is in the official docs. Sources: ngrok MCP server docs, setup page.

At a glance

Official docshttps://ngrok.com/docs/mcp-server
Source codeNot public (vendor-hosted service)
StatusVendor-hosted
Security advisoriesVendor-hosted: the vendor patches it, and there is no public package or repository to track advisories for. Details
Clients mentioned in docsClaude Desktop, Claude Code, Cursor, VS Code, Cline, Zed, Codex, Gemini CLI
AuthOAuth, or a personal access token (API keys and authtokens don't work)
Language / License— / —
Official MCP registryListed ✓

Security

Hosted and updated by ngrok; there is nothing for you to install or patch. Access isn't read-only: the agent can create, change, and delete resources in your account, and it acts with your role's permissions, so review tool calls before you approve them. API keys and authtokens don't work with this server. For read-only access, connect with a personal access token that has only read scopes. ngrok's security page: https://ngrok.com/security.

Hosted servers are patched by the vendor, so there's no version for you to update. What you control is access: sign out or revoke the connection when you stop using it. How to stay safe with MCP servers.

Weekly MCP digest
New servers, breaking changes, and fresh fixes. One email a week.