ngrok
Manage ngrok endpoints, domains and traffic policy from your coding agent
- 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/mcpAdd to Settings → Connectors → Add custom connector
https://mcp.ngrok.com/mcpAdd to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp": {
"url": "https://mcp.ngrok.com/mcp"
}
}
}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

REA
MCP serverCLI and MCP server that lets coding agents reverse engineer apps and binaries
Runs locally- Open source
- 464K GitHub stars
- Developer tools

Codebase Memory
MCP serverLocal MCP server that builds a code knowledge graph for AI coding agents
Runs locally- Open source
- 48.7K GitHub stars
- Knowledge and memory

GitHub
MCP serverOfficial MCP server connecting AI assistants to GitHub repos, issues and workflows
Not checked yet- Remote
- Open source
- 34.5K GitHub stars
- Developer tools

Serena MCP: the IDE for your agent
MCP serverMCP toolkit giving coding agents symbol-level code retrieval and editing
Runs locally- Open source
- 31.5K GitHub stars
- Developer tools

XERJ
MCP serverLocal search engine for AI agents with cited answers over your code and docs
Runs locally- Open source
- 19.2K GitHub stars
- Knowledge and memory

Ouroboros
MCP serverSpec-first layer that pins requirements and verifies results of AI coding agent work
Runs locally- Open source
- 6.4K GitHub stars
- Developer tools