pipepie
OfficialPipepie is a self-hosted, end-to-end encrypted tunneling platform for webhooks, AI pipelines, and local development, with extensive management, monitoring, and AI tool integration capabilities.
Secure Tunneling: Create encrypted HTTP/TCP tunnels from local ports to public URLs, supporting custom subdomains, password protection, and multi-tunnel configs via
pipepie.yaml. Dynamically register, create, start, stop, and delete tunnels.Webhook Inspection & Replay: Stream live requests, inspect full details (headers, request/response bodies, status codes, duration, source IP), list recent requests with pagination, and replay captured webhooks.
AI Pipeline Tracing: Auto-detect and correlate webhooks from major AI providers (Replicate, fal.ai, RunPod, Modal, OpenAI) into step-by-step execution timelines, viewable in terminal or a web UI.
Dashboard & Monitoring: Get aggregate overviews of all tunnels including request counts, success/error rates, uptime, and online status.
Server Administration: Run an interactive setup wizard (DNS, TLS, firewall), diagnose configurations, monitor tunnel activity, and manage multiple server accounts.
MCP Server Integration: A built-in Model Context Protocol server exposes 13 tools, allowing AI assistants (Claude, Cursor) to programmatically manage tunnels, inspect requests, replay webhooks, and analyze pipeline traces.
Supports TLS certificate management through Cloudflare during server setup, allowing automatic SSL configuration for secure tunnel connections.
Provides Jaeger-style timeline visualization for AI pipeline traces in the web dashboard, enabling distributed tracing of AI workflow executions.
Supports automatic TLS certificate provisioning through Let's Encrypt during server setup, enabling secure HTTPS connections for tunnels.
Auto-detects webhooks from Modal AI provider, extracts call ID and status information, and correlates them into pipeline traces for monitoring serverless AI executions.
Provides a preset tunnel configuration for n8n workflow automation on port 5678, enabling secure external access to n8n webhook nodes and workflows.
Auto-detects nginx configuration during server setup and integrates with existing nginx installations for tunnel routing and management.
Provides a preset tunnel configuration for Ollama with authentication enabled on port 11434, enabling secure external access to local Ollama instances.
Auto-detects webhooks from OpenAI batch operations, extracts batch ID and model information, and correlates them into pipeline traces for monitoring AI batch processing.
Auto-detects webhooks from Replicate AI provider, extracts job ID, status, and prediction time information, and correlates them into pipeline traces for monitoring AI model inferences.
Provides a preset tunnel configuration for Telegram Mini Apps on port 5173, enabling secure external hosting of Telegram web applications.
Supports pass-through streaming for Vercel AI SDK compatibility, enabling seamless integration with Vercel's AI streaming patterns without buffering.
Pipepie
Self-hosted, encrypted tunnel for webhooks, AI pipelines, and local development. End-to-end Noise encryption, pipeline tracing, web dashboard.

pie connect 3000
# ✓ https://my-app.tunnel.dev → localhost:3000Why Pipepie?
End-to-end encrypted — Noise NK protocol. The relay server never sees your data.
AI-first — auto-detects Replicate, fal.ai, RunPod, Modal, OpenAI webhooks. Pipeline tracing with timeline visualization.
Self-hosted — your server, your domain, your data. No vendor lock-in.
Fast — 577 req/s parallel, 2ms overhead. Protobuf + zstd + yamux.
MCP server built-in —
pie mcpgives Claude, Cursor, and AI tools direct access to tunnels, requests, and pipeline traces.Beautiful CLI — Dracula theme, interactive forms, 17 commands.
Zero-config start —
pie setupon server,pie loginon client, done.
Related MCP server: agent-webhook
Install
# Homebrew
brew install pipepie/tap/pipepie
# Script
curl -sSL https://raw.githubusercontent.com/pipepie/pipepie/main/install.sh | sh
# Or build from source
git clone https://github.com/pipepie/pipepie && cd pipepie && make buildQuick Start
Server (your VPS, one time)
pie setupInteractive wizard handles DNS, firewall, TLS (Let's Encrypt auto or Cloudflare), nginx detection, systemd service — everything.
Client (your dev machine)
# Save server connection (key from pie setup)
pie login --server tunnel.mysite.com:9443 --key a7f3bc21...
# Tunnel any local port
pie connect 3000AI Tool Presets
pie connect --ollama # Ollama (port 11434, auth enabled)
pie connect --comfyui # ComfyUI (port 8188, WebSocket)
pie connect --n8n # n8n workflows (port 5678)
pie connect --tma # Telegram Mini App (port 5173)Features
Tunneling
pie connect 3000 # HTTP tunnel
pie connect 3000 --name my-app # Stable subdomain
pie connect --tcp 5432 # TCP (databases, gRPC)
pie connect 3000 --auth secret # Password-protected URL
pie up # Multi-tunnel from pipepie.yamlWebhook Inspection

pie logs my-app --follow --body # Stream with request/response bodies
pie inspect <request-id> # Full headers, body, metadata
pie replay <request-id> # Re-send a captured webhook
pie dashboard # Open web UI in browserAI Pipeline Tracing
Pipepie auto-detects webhooks from AI providers — no configuration needed:
Provider | Detection | What's extracted |
Replicate |
| Job ID, status, predict_time |
fal.ai |
| Request ID, status |
RunPod | UPPERCASE status in payload | Run ID, execution time |
Modal |
| Call ID, status |
OpenAI |
| Batch ID, model |
MCP | JSON-RPC 2.0 | Tool name, call ID |
Webhooks from the same pipeline are auto-correlated into traces:
pie traces my-app # Terminal timeline view
pie dashboard # Web UI with Jaeger-style barsOr use headers for manual correlation:
curl -X POST https://my-app.tunnel.dev/webhook \
-H "X-Pipepie-Pipeline: image-gen" \
-H "X-Pipepie-Step: generate" \
-H "X-Pipepie-Trace-ID: trace-001"Multi-Service Config
# pipepie.yaml
server: tunnel.mysite.com:9443
key: a7f3bc21...
tunnels:
api:
subdomain: my-api
forward: http://localhost:3000
frontend:
subdomain: my-app
port: 5173
pipeline:
name: image-gen
steps:
- name: replicate-sdxl
webhook: /replicate
forward: localhost:3000/on-image
- name: fal-upscale
webhook: /fal
forward: localhost:3000/on-upscalepie upMulti-Account
pie login --server work.example.com:9443 --key abc...
pie login --server personal.example.com:9443 --key def...
pie account # List all, see active
pie account use work.example.com # Switch
pie logout personal.example.com # RemoveServer Management

pie setup # Interactive setup wizard
pie server --config pipepie.yaml # Start server
pie doctor --config pipepie.yaml # Diagnose configuration
pie status # Tunnel overview
pie status --json # JSON output for scriptsArchitecture
Client (pie connect) Server (pie server)
│ │
│◄──── Noise NK handshake ────►│
│ (ChaChaPoly + BLAKE2b) │
│ │
│◄──── yamux multiplexing ────►│
│ (parallel streams) │
│ │
│◄──── Protobuf + zstd ──────►│
│ (binary, compressed) │
│ │
localhost:3000 https://sub.domain.comNoise NK — server authenticated by public key. Know the key = have access. yamux — multiplexed streams, no head-of-line blocking. Protobuf — binary wire format, ~10x smaller than JSON. zstd — bodies >1KB auto-compressed. SSE/streaming — pass-through without buffering (Vercel AI SDK, Ollama compatible).
MCP Server (Claude, Cursor, AI tools)
Pipepie includes a built-in Model Context Protocol server. Your AI tools can inspect webhooks, replay requests, manage tunnels, and debug pipelines — directly from the chat.
# Claude Code (one command)
claude mcp add --transport stdio pipepie -- pie mcpAdd to claude_desktop_config.json or Cursor MCP settings:
{
"mcpServers": {
"pipepie": {
"command": "pie",
"args": ["mcp"]
}
}
}13 tools available:
Tool | What it does |
| Dashboard with all tunnels, stats, success rates |
| All registered tunnels with online/offline status |
| Check if a specific tunnel is online |
| Start a tunnel (e.g. port 3000 → public URL) |
| Stop a running tunnel |
| List tunnels running in this session |
| Recent webhook requests for a tunnel |
| Full request details: headers, body, response |
| Re-send a captured webhook |
| AI pipeline execution traces |
| Step-by-step timeline for a trace |
| Register a new subdomain |
| Remove a tunnel and its data |
CLI Reference
Command | Description |
| Create a tunnel |
| TCP tunnel |
| Ollama preset |
| ComfyUI preset |
| n8n preset |
| Telegram Mini App preset |
| Add server connection |
| Remove account |
| List & switch accounts |
| Open web UI in browser |
| Show tunnels and activity |
| Stream requests |
| Full request details |
| Replay a webhook |
| Pipeline trace timelines |
| Multi-tunnel from pipepie.yaml |
| Server setup wizard |
| Start relay server |
| Diagnose server config |
| Start MCP server for AI tools |
| Self-update to latest |
| Version + update check |
Performance
Metric | Result |
Latency | 2ms overhead |
Sequential | 119 req/s |
Parallel (20 workers) | 577 req/s |
1MB body | 16ms |
What makes Pipepie different
Self-hosted & open source — your infrastructure, your data, no third-party traffic inspection
End-to-end encrypted — Noise NK protocol, the relay server never sees plaintext
AI-native — auto-detects 6 providers, pipeline tracing, MCP support
Complete toolkit — tunneling + inspection + replay + dashboard in one binary
Free forever — no bandwidth limits, no session timeouts, no paid tiers for core features
License
AGPL-3.0 — free to use, modify, and self-host. If you modify and offer as a service, you must open-source your changes.
Available Tools
13 toolsactive_tunnelsARead-only
List all tunnels currently connected through this MCP session, showing port, subdomain, and forward address.
Inputs: no named parameters.
connectA
Start a tunnel that forwards a public URL to a local port. Uses the active account from 'pie login'. Example: connect port 3000 with subdomain 'my-app' to get https://my-app.yourdomain.com → localhost:3000.
Inputs: port (required), subdomain.
create_tunnelA
Register a new tunnel subdomain on the server. The subdomain must be lowercase alphanumeric with hyphens, 1-63 characters. Returns the tunnel ID and public URL.
Inputs: subdomain (required).
delete_tunnelADestructive
Permanently delete a tunnel and all its stored requests. Cannot be undone.
Inputs: subdomain (required).
disconnectA
Stop a running tunnel by its local port number.
Inputs: port (required).
inspect_requestARead-only
Get full details of a specific webhook request: headers, request body, response status, response body, duration, source IP, and pipeline/trace metadata. Use request IDs from list_requests.
Inputs: request_id (required).
list_requestsARead-only
List recent webhook requests received by a tunnel, ordered newest first. Includes method, path, status code, duration, and pipeline metadata. Supports pagination.
Inputs: subdomain (required), limit, offset.
list_tunnelsARead-only
List all registered webhook tunnels with their online/offline status, protocol, and creation time. Use this to discover available subdomains before inspecting requests.
Inputs: no named parameters.
overviewARead-only
Get a dashboard overview of all tunnels with aggregate statistics: total requests, success/error counts, success rates, online status, uptime, and last request time. Best starting point for understanding the current state.
Inputs: no named parameters.
pipeline_tracesARead-only
List execution traces for a specific AI pipeline (Replicate, fal.ai, RunPod, OpenAI, etc). Pipelines are auto-detected from webhook payloads.
Inputs: pipeline_id (required), limit.
replay_requestAIdempotent
Replay a previously captured webhook request to the currently connected tunnel client. The tunnel must be online. Returns the new response status and duration.
Inputs: request_id (required), subdomain (required).
trace_timelineARead-only
Get the step-by-step execution timeline for a specific pipeline trace. Shows each step's name, status, duration, and ordering.
Inputs: trace_id (required).
tunnel_statusARead-only
Check whether a specific tunnel is currently online and what protocol it uses.
Inputs: subdomain (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 13 tools
Tools are largely distinct with clear purposes, though 'active_tunnels', 'list_tunnels', and 'tunnel_status' all relate to tunnel visibility and could cause momentary hesitation. The separation between 'create_tunnel' (registration) and 'connect' (session establishment) is well-defined.
Mixed naming conventions detract from consistency: 'connect', 'disconnect', and 'overview' use single-word verbs/nouns while others use verb_noun patterns ('create_tunnel', 'inspect_request'). 'active_tunnels' and 'pipeline_traces' use adjective_noun or noun_noun patterns, making the set feel somewhat fragmented despite being readable.
Thirteen tools is well-suited for this domain, covering tunnel lifecycle (create/connect/disconnect/delete), request inspection (list/inspect/replay), and pipeline debugging without bloat. Each tool serves a distinct operational need in the tunneling/webhook workflow.
Covers the full tunnel lifecycle and webhook inspection surface comprehensively, including useful debugging features like replay and pipeline tracing. Minor gap: no 'update_tunnel' for modifying existing tunnel configuration, though agents can work around this via delete/recreate if needed.
Maintenance
Related MCP Connectors
Webhook capture and replay, delivery pipes, and signed multi-agent rooms. No signup to start.
Webhook, email, WebSocket and tunnel testing for AI agents: capture, wait, verify, replay.
Instant no-signup webhook & HTTP-request inspector for testing webhooks and agent tool-callbacks.
Webhook URLs for AI agents: receive, wait for, replay, sign and verify webhooks (Stripe, GitHub…).
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI agents to create disposable webhook URLs, capture incoming HTTP requests, inspect headers and bodies, and replay them against local or remote endpoints, streamlining the webhook handler development loop.58 npmMIT
- AlicenseNot gradedqualityCmaintenanceA webhook management and delivery service with MCP tools for endpoints, deliveries, relay, and incoming webhooks, enabling autonomous agents to send, track, and relay webhooks.MIT
- AlicenseNot gradedqualityDmaintenanceA high-performance local and public webhook inspector for testing SSRF, APIs, and out-of-band interactions with Cloudflare Quick Tunnel, dynamic mocks, and callback polling for AI agents.1MIT
- AlicenseNot gradedqualityBmaintenanceWebhook capture and replay, delivery pipes, and signed multi-agent rooms. No signup to start.196 npmMIT