Skip to content
docs · ai tools

Use instantlocalhost from your AI tool

Let Claude, ChatGPT, Cursor, Codex or any MCP client see your tunnels, read and replay captured webhooks, and open tunnels for you.

Two servers

  • Hosted at https://app.instantlocalhost.com/mcp: your account's tunnels, request log, inspector captures, replay and addresses. Sign in with OAuth (or a token).
  • On your computer, npx -y instantlocalhost-mcp: opens and closes tunnels with your own SSH key. No account needed. See the npm page.

Connect the hosted server

You need an instantlocalhost account (free; sign in with your SSH key by running ssh [email protected], or with email).

  • Claude (claude.ai, Desktop, mobile): Settings → Connectors → find instantlocalhost, or Add custom connector with the URL https://app.instantlocalhost.com/mcp.
  • Claude Code: claude mcp add --transport http instantlocalhost https://app.instantlocalhost.com/mcp, then /mcp to sign in.
  • ChatGPT, Cursor, Windsurf and others: add a remote MCP server with the same URL.
  • Codex or clients without OAuth: create an API token in the console (Settings → API tokens) and send Authorization: Bearer ilh_….

Signing in opens our page where you pick the space (personal, or a team you manage) and tick the permissions. The app appears in your API tokens as a “connected app”; press Disconnect to remove it at any time.

Tools

ToolDoesKindPermission
whoami
Who am I
Which space (personal or team) and permissions this connection has.Read—
list_tunnels
List live tunnels
Live tunnels with their public URL, request count and inspector state.Readtunnels:read
list_requests
Request log
Recent requests to a tunnel: method, path, status, time.Readtunnels:read
close_tunnel
Close a tunnel
Ends a live tunnel; the URL stops working.Destructivetunnels:close
start_inspector
Turn on the inspector
Capture full requests and responses for 1–24 hours.Writerequests:replay
stop_inspector
Turn off the inspector
Stop capturing; existing captures stay until they expire.Writerequests:replay
list_captures
Captured requests
Captured requests, filterable by method, path or status.Readrequests:read
get_capture
Read a captured request
Headers, bodies and a curl command; secrets hidden unless asked.Readrequests:read
replay_request
Replay a request
Send a captured request to your local app again.Write (asks first)requests:replay
list_addresses
Addresses
Fixed addresses in the space and who uses them.Readaddresses:read
reserve_address
Reserve an address
Reserve a fixed address name for a team.Writeaddresses:write

An app only sees the tools its permissions allow. Inspector tools on teams need a plan with the inspector.

Try asking

  • “Which of my instantlocalhost tunnels are live, and what URL does each have?”
  • “Turn on the inspector for my api tunnel, then show me the last failed Stripe webhook and replay it.”
  • “Close the tunnel I left open for the demo.”

Privacy and support

Cookies and authorization headers in captures are hidden from the AI app unless you ask to see them. Captures are deleted after 24 hours. Read the privacy policy and terms. Help: [email protected].