---
name: tunnel
description: "Expose local ports to the internet via cloudflare/ngrok"
version: "0.1.0"
entry: ./adapter.ts
npm_deps:
  required: []
  optional: []
fields: []
health_check: null
keywords:
  - service
  - tunnel
  - cloudflare
  - ngrok
  - expose
---

Expose local ports to the internet via Cloudflare Tunnels or ngrok. A mock
provider is available for testing.

## Operations

| Operation | Access | Description |
|-----------|--------|-------------|
| `expose` | write | Create a tunnel to a local port |
| `close` | write | Tear down a tunnel |
| `status` | read | Get tunnel health and URL |
| `list` | read | List all active tunnels |

## Configuration

```yaml
connectors:
  - id: tunnel
    adapter: tunnel
    access: read-write
    options:
      provider: cloudflare
```
