Skip to main content
← All Comparisons

qURL™ vs ngrok for coding agents

Your agent shares the app with no account, no token to paste, and no public URL.

ngrok’s local-app publishing skills need an ngrok account and an authtoken you add yourself, and its expose-localhost skill gives your app a public URL; ngrok’s own MCP guide warns that anyone with the URL can call your server. With qURL, the agent needs no account or token. It publishes the app with no public address, invites the people you name or hands you a one-time link, and ends access with one command.

Both tools now ship for coding agents: a plugin or skill for Claude Code, Codex and Cursor, plus an MCP server. They differ in what the agent can finish on its own, and in what it hands you at the end: a public URL to protect, or a private app that only the people you chose can open.

Share one app from the command line

qURL CLI
qurl publish http://127.0.0.1:3000 --name "App preview" --access invite_only -o json
qurl access invite CRID_FROM_PUBLISH --email person@example.com -o json

Architectural Difference

ngrok’s skills teach an agent to give a local service a public URL. Most of them need the ngrok CLI installed and authenticated with an authtoken from an ngrok account, and ngrok’s agent setup prompt tells the agent to ask you to run ngrok config add-authtoken yourself rather than paste the token into the chat. The agent stops there until you do. What comes out is a public endpoint: anyone with the URL reaches the app unless you add a Traffic Policy (OAuth, OIDC, a bearer token or IP rules), and on the free plan browser visitors see ngrok’s warning page first.

The qURL skill teaches the agent to install the qurl CLI, publish the running app and share it, with nothing for you to sign up for: the first publish creates a device identity on this machine. The app gets no public address and no open port, so there is nothing on the internet for a scanner to find. The agent then lets people in the way you choose: an email invitation, where each recipient verifies their address and saves a passkey; a one-time link for a quick look; or an allowed device key for another agent. Use -o json with qurl publish, status, get and share and the agent reads structured results instead of scraping a terminal screen.

Putting a local MCP server on an ngrok URL

ngrok’s run-mcp-gateway skill and its MCP guide make an MCP server you are developing reachable from the internet, at a public HTTPS URL that stays the same on every run. The guide is direct about what that means: “Anyone with your URL can call your server, and MCP tools can act on your machine.” It asks you to require a bearer token, a secret path or OAuth on every request, notes that ChatGPT can’t send a bearer token, and warns that a secret path is a shared secret, not an identity.

qURL starts from the other end for the apps your agent shares: there is no public URL to protect. The app is reachable only through an invitation or link you issued, and only for as long as you allow.

Two MCP servers, two jobs

  • ngrok’s MCP server lets your agent read and change your ngrok account. It signs in with OAuth or a personal access token.
  • qURL’s local MCP server gives your agent the publish_crid tool, which shares your local app through the qURL CLI with no account or API key. With an API key, the hosted qURL MCP server lets the agent mint and revoke access links for resources it can access.

With qURL, the MCP server is one more way for the agent to share privately; the skill and the CLI do the same job with no MCP setup at all.

What each tool asks of a coding agent

From install to the moment someone opens the app. ngrok facts come from its agent docs on the date at the top of this page.

What each tool asks of a coding agent
StepngrokqURL
Install in Claude Code/plugin marketplace add ngrok/skills, then /plugin install ngrok@ngrok/plugin marketplace add layervai/claude-plugins, then /plugin install qurl@layerv
Install in Codexcodex plugin marketplace add ngrok/skills, then install ngrok from the Plugins Directorycodex plugin marketplace add layervai/codex-plugins, then codex plugin add qurl@layerv
Other agentsnpx skills add ngrok/skillsSave SKILL.md to ~/.agents/skills/qurl/
AccountAn ngrok account to publish a local appNone
CredentialAn authtoken; the setup prompt has you run ngrok config add-authtoken yourselfNone; the first publish creates a device identity on this machine
What the app getsA public URL on your ngrok dev domain, the same on every runNo public address and no open port
Who gets inAnyone with the URL, unless a Traffic Policy adds OAuth, OIDC, a bearer token or IP rulesThe people you invite by email, each with a passkey; whoever opens a one-time link; or an agent whose device key you allow
Browser visitors on the free planA warning page first (ERR_NGROK_6024)No warning page. Invited people sign in with a passkey. A one-time link grants access to its first opener; qURL may show a preview before connection.
Ending accessStop the agent or remove the endpoint for everyone; with OAuth, change the Traffic Policy to deny one recipient.qurl stop <CRID> for everyone, or revoke one invitation and keep the rest

Feature Comparison

FeatureqURLngrok for AI agents

Which one to use

Choose qURL to

Your agent built the app and someone should see it now: a client, a teammate, your phone, or another agent. With qURL the agent shares it in one request, with no sign-up to stop for and no public URL to leak, and you decide who gets in and when access ends.

Set up qURL in Claude Code →

Set up qURL in Codex →

Share from a headless agent →

Your agent runs ngrok today?

Add the qURL plugin or skill and ask the agent to share the app instead of running ngrok http. It needs no authtoken, publishes the app with no public URL, and gives each recipient a way in that you can end on its own. Give webhook senders that call one fixed URL their own endpoint, and let qURL handle every person and agent you share the app with.

Guide: switch from ngrok to qURL →

qURL connects outbound, so you can share your app without opening an inbound port. Keep any other public routes to your app restricted. A link’s expiry controls when it can be opened; an opened session has its own duration. Explore access and revocation.

Frequently Asked Questions

Can a coding agent use ngrok without an account?

Publishing a local app with ngrok requires an account and an authenticated CLI. Its agent setup prompt tells the agent to ask you to run ngrok config add-authtoken yourself. The qURL skill needs no account: the agent installs the CLI and publishes, and without an account you get up to 3 active resources, with links that last up to 24 hours.

Is it safe to put a local MCP server on an ngrok URL?

ngrok’s own MCP guide says anyone with the URL can call your server, and MCP tools can act on your machine. It asks for a bearer token, a secret path or OAuth on every request, and warns that a secret path is a shared secret, not an identity. qURL keeps the apps your agent shares off the internet instead: no public URL, and access only through an invitation or link you issued.

Which agents does the qURL skill work in?

Claude Code and Codex have qURL plugins. Cursor, Codex, Windsurf, VS Code Copilot, Gemini CLI, OpenCode, Amp and Zed read the skill from ~/.agents/skills/qurl/. Cline reads ~/.cline/skills/qurl/, Kiro reads ~/.kiro/skills/qurl/, and Claude Code reads ~/.claude/skills/qurl/. Any agent that can read a URL and run commands can follow https://layerv.ai/skills/qurl/SKILL.md directly. Codex starts with network access off, so save the skill file for it first.

Doesn’t ngrok have private endpoints too?

Yes: internal endpoints, with hostnames ending in .internal, on ngrok’s Pay-as-you-go plan. ngrok says they aren’t directly accessible: they receive traffic only when another endpoint forwards it with the forward-internal action, commonly a public Cloud Endpoint with its own Traffic Policy. So letting one person in still means a public front door you configure and protect. A qURL resource is private by default with no account, and the person you invite opens it in a browser.

Can the agent run qURL headless, in a container or CI?

Yes. With no user service manager, the agent runs qurl publish with --foreground and waits until qurl status reports serving. No account or authtoken is configured, and -o json gives it fields to parse instead of a screen to scrape.

How is this different from a public tunnel?

A public tunnel exposes an endpoint and can protect it with authentication. LayerV connects outbound and gives you a private, expiring way into one resource at a time, with no public tunnel and no public address for the app. A teammate or AI agent can use the app without a public deployment or access to your wider network.

Who can open a qURL link?

Whoever holds it, once: with no flags, qurl share prints a single-use link. The documented browser flow starts a session for that browser, which lasts 1 hour by default for an app published from the CLI; another browser on the same public IP cannot use that browser session. A script or agent that opens the link without a browser can be admitted by its network address, which other devices on that public IP may share until the session ends. Keep your app’s own sign-in for anything sensitive. A link admits whoever opens it: the API’s IP and country rules do not apply to the signed links qurl share issues.

Share your app without an account

Paste one prompt into your coding agent, or install the qURL CLI and publish the app yourself. No sign-up, no API key.

New to qURL? Start at qurl.link

Book a pilot

Tell us what to hide. We’ll scope a pilot.

Enterprise starts with a paid pilot on one application, typically 60 to 90 days, credited in full toward year one if you convert within 60 days. After that, an annual package sized to what you protect, not per seat.