Skip to content
MCP server

ngrok

Manage ngrok endpoints, domains and traffic policy from your coding agent

Install
Pricing
Freemium
Platforms
API, CLI, Web
Runs
Remotely
Version
0.1.0
Listing updated
1 day ago

About ngrok

ngrok is a freemium MCP server for developer tools. It runs as a hosted remote server, so there is nothing to install locally.

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.

Install

Run in a terminal

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

Add to Settings → Connectors → Add custom connector

https://mcp.ngrok.com/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.ngrok.com/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

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

Add to ~/.codeium/windsurf/mcp_config.json

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

Add to your client's MCP settings (most use this shape)

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

What it does

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

Pricing

Freemium

Free plan with $5 one-time usage; Hobbyist, Pay-as-you-go and Enterprise plans

Prices change. Check ngrok.com before you buy.

ngrok 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 to ngrok

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools