Xpersona
R

Rustunnel

CLAWHUB · Unverified

Expose local services via secure tunnels using rustunnel MCP server. Create public URLs for local HTTP/TCP services for testing, webhooks, and deployment. Skill: Rustunnel Owner: joaoh82 Summary: Expose local services via secure tunnels using rustunnel MCP server. Create public URLs for local HTTP/TCP services for testing, webhooks, and deployment. Tags: latest:1.3.1 Version history: v1.3.1 | 2026-04-03T16:45:24.277Z | user - Added new optional region selection to create_tunnel and get_connection_info commands (useful for choosing server region). - Introduced list_regi

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s170j5p1j21p8tt2k0mbc9njgn840zfq:rustunnel
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-joaoh82-rustunnel/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

29,779 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: rustunnel
description: "Expose local services via secure tunnels using rustunnel MCP server. Create public URLs for local HTTP/TCP services for testing, webhooks, and deployment."
version: 1.3.1
author: OpenClaw
tags: [tunnel, ngrok, expose, devops, deployment, testing, webhooks]
---

# Rustunnel - Secure Tunnel Management

Expose local services (HTTP/TCP) through public URLs using rustunnel. Perfect for testing webhooks, sharing local development, and deployment workflows.

## When to Use

- **Webhook testing** - Expose local server to receive webhooks from external services
- **Demo sharing** - Share local development with stakeholders
- **CI/CD integration** - Expose preview environments
- **Database access** - Expose local TCP services (PostgreSQL, Redis, etc.)
- **Mobile testing** - Test mobile apps against local backend

## ⚠️ IMPORTANT: Use MCP Tools, Not CLI

**Always use MCP tools for tunnel management.** They handle lifecycle automatically.

| Method | Lifecycle | Recommended |
|--------|-----------|-------------|
| **MCP tools** (create_tunnel, close_tunnel) | Automatic cleanup | ✅ Yes |
| **CLI** (rustunnel http 3000) | Manual process management | ❌ Only for cloud sandboxes |

**Why MCP tools?**
- Automatic cleanup when closed
- No orphaned processes
- Proper tunnel lifecycle management
- Returns tunnel_id for tracking

---

## Configuration File

**Location:** `~/.rustunnel/config.yml`

This file stores your server address and auth token. The agent will read from this file instead of asking every time.

**Format:**
```yaml
# rustunnel configuration
# Documentation: https://github.com/joaoh82/rustunnel

server: edge.rustunnel.com:4040
auth_token: your-token-here

tunnels:
  expense_tracker:
    proto: http
    local_port: 3000
  # api:
  #   proto: http
  #   local_port: 8080
  #   subdomain: myapi
```

## First-Time Setup

**Before using tunnels, ensure config exists:**

1. **Check if config file exists:** `~/.rustunnel/config.yml`
2. **If not, ask user:** "What's your rustunnel auth token and server address?"
3. **Create config file directly:**
   ```bash
   mkdir -p ~/.rustunnel
   chmod 700 ~/.rustunnel
   ```
4. **Write config with user's token:**
   ```yaml
   server: <user-provided-server>
   auth_token: <user-provided-token>
   ```
5. **Set permissions:** `chmod 600 ~/.rustunnel/config.yml`

---

## Agent Workflow

**Always follow this sequence:**

### Step 1: Check Config

```bash
# Check if config exists
cat ~/.rustunnel/config.yml
```

**If config exists with auth_token:** Read token and proceed.

**If config missing:**
1. Ask user: "What's your rustunnel auth token and server address?"
2. Create config file directly:
   ```bash
   mkdir -p ~/.rustunnel
   chmod 700 ~/.rustunnel
   ```
3. Write config with user's token:
   ```yaml
   server: <user-provided-server>
   auth_token: <user-provided-token>
   ```
4. Set permissions: `chmod 600 ~/.rustunnel/config.yml`

### Step 2: Read Token from Config

When making too

_meta.json

{
  "ownerId": "kn7fbfm7jxp6esksx5pq6qh75n820p8z",
  "slug": "rustunnel",
  "version": "1.3.1",
  "publishedAt": 1775234724277
}

skill-card.md

## Description:

Rustunnel exposes local HTTP/TCP services through secure tunnels and creates public URLs for testing, webhooks, and deployment.

This skill is ready for commercial/non-commercial use.

## Publisher:

[joaoh82](https://clawhub.ai/user/joaoh82)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and engineers use Rustunnel to expose local HTTP or TCP services for webhook testing, preview sharing, CI/CD preview environments, mobile testing, and controlled tunnel workflows.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill can expose local HTTP/TCP services, including databases or administrative ports, to the public internet.

Mitigation: Use it only for services with strong authentication, least-privilege access, encryption, and a clear need for public reachability.

Risk: Tunnels may remain reachable longer than intended if lifecycle cleanup is missed.

Mitigation: Prefer the MCP create_tunnel and close_tunnel workflow, track tunnel IDs, list active tunnels, and close tunnels promptly after use.

Risk: The source-build installation path includes an unpinned sudo install flow.

Mitigation: Prefer verified or pinned installation methods before installing rustunnel components.

## Reference(s):

- [Rustunnel ClawHub Skill Page](https://clawhub.ai/joaoh82/skills/rustunnel)
- [Rustunnel GitHub Repository](https://github.com/joaoh82/rustunnel)
- [MCP Server Documentation](https://github.com/joaoh82/rustunnel/blob/main/docs/mcp-server.md)
- [API Reference](https://github.com/joaoh82/rustunnel/blob/main/docs/api-reference.md)

## Skill Output:

**Output Type(s):** [Guidance, Shell commands, Configuration, MCP tool calls]

**Output Format:** [Markdown with inline YAML, JSON, and shell command examples]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May include public tunnel URLs, tunnel IDs, region details, and CLI fallback commands.]

## Skill Version(s):

1.3.1 (source: frontmatter and server release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Rustunnel and adjacent AI workflows.