# ngrok

> ngrok is a freemium MCP server for developer tools. Manage ngrok endpoints, domains and traffic policy from your coding agent. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** API, CLI, Web
- **Website:** https://ngrok.com/docs
- **MCP Registry name:** com.ngrok/mcp
- **Categories:** developer tools, cloud and infrastructure
- **Listing updated:** 2026-11-16

## About

ngrok's MCP server lets an agent manage the account side of ngrok, such as endpoints, domains and traffic policy, rather than only tunnelling a port. The docs show one-line setup for Claude Code, Codex and Amp, each followed by an OAuth login.

ngrok itself is a gateway for exposing local apps and production services: sharing a local app, testing webhooks, reaching devices in the field and calling AI models through its AI Gateway on ngrok credits or your own provider keys. Resources are billed by usage, including active endpoint hours, data transfer, requests and traffic policy units.

The Free plan includes $5 of one-time usage, up to 3 online endpoints and one team member, and Hobbyist and Pay-as-you-go plans add monthly included usage. Enterprise adds SSO/SAML, SLAs and per-device pricing. The listing does not enumerate the MCP tools.

## Features

- **Endpoint management:** Create and inspect endpoints from an agent.
- **Domain management:** Work with reserved and dev domains on your account.
- **Traffic policy:** Manage policy rules that shape traffic.
- **OAuth sign-in:** Connect with an OAuth login in Claude Code, Codex or Amp.
- **Usage-based plans:** Free, Hobbyist, Pay-as-you-go and Enterprise tiers.

## Good for

- Ask an agent to list or change your ngrok endpoints
- Update traffic policy without opening the dashboard
- Check which domains your account has
- Set up a tunnel for a local app with agent help

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http mcp https://mcp.ngrok.com/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://mcp.ngrok.com/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.ngrok.com/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "serverUrl": "https://mcp.ngrok.com/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.ngrok.com/mcp"
    }
  }
}
```

## FAQ

### How do I connect it?

Add https://mcp.ngrok.com/mcp to your client, for example claude mcp add --transport http --scope user ngrok https://mcp.ngrok.com/mcp, then log in.

### Is ngrok free?

There is a Free plan with $5 of one-time usage, up to 3 online endpoints and 1 team member.

### Is there an enterprise option?

Yes, with SSO/SAML, SLAs, SOC 2 reports and per-device or per-customer pricing.

### How do I add ngrok to Claude Code?

Run this command in your terminal: claude mcp add --transport http mcp https://mcp.ngrok.com/mcp

### What are the best alternatives to ngrok?

The closest alternatives to ngrok are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/ngrok
