Pipepie is a self-hosted, end-to-end encrypted tunneling tool for webhook relay, AI pipeline debugging, and local development scenarios. The project provides tunneling, request inspection, replay, and a web dashboard in a single binary, with the code hosted on GitHub under the AGPL-3.0 license.
Uses
- Expose a local development environment to the public internet to receive webhooks from third-party services.
- Relay and inspect webhook requests, with replay support for easier debugging.
- Trace AI pipelines: automatically detect webhooks from AI providers and correlate requests from the same pipeline into a timeline view.
- Through the built-in MCP server, let AI tools directly operate tunnels, requests, and pipeline tracing.
Main capabilities
- End-to-end encryption: uses the Noise NK protocol, so the relay server cannot see plaintext data; the server is authenticated via public key, and holding the key grants access.
- AI-first: automatically detects webhooks from providers such as Replicate, fal.ai, RunPod, Modal, and OpenAI with no configuration required; webhooks from the same pipeline are automatically correlated into trace records, and can also be manually correlated via request headers.
- Self-hosted: use your own server, domain, and data, with no vendor lock-in.
- Performance: officially stated at 577 req/s in parallel with 2ms additional overhead; uses Protobuf, zstd, and yamux.
- Built-in MCP server: pie mcp lets AI tools such as Claude and Cursor directly access tunnels, requests, and pipeline tracing, providing 13 tools in total.
- CLI: Dracula theme, interactive forms, 17 commands in total.
- Zero-configuration startup: run pie setup on the server side and pie login on the client side.
- Transport optimization: yamux multiplexed streams with no head-of-line blocking; Protobuf binary format, officially stated to be about 10 times smaller than JSON; request bodies larger than 1KB are automatically compressed with zstd; SSE/streaming passes through without buffering, compatible with Vercel AI SDK and Ollama.
How to use
- Server side (one-time): run the interactive wizard on your own VPS to handle DNS, firewall, TLS (Let's Encrypt automatic or Cloudflare), nginx detection, and systemd services, etc.
- Client: run pie login on the development machine to complete login.
- AI tool presets: provides preset configurations for AI tools.
- Webhook inspection and AI pipeline tracing: automatically detects AI provider webhooks and automatically correlates them into traces; they can also be manually correlated via request headers.
- Multi-service configuration: supports configuring multiple services.
- Server management: provides server management commands.
- MCP server: add the configuration to claude_desktop_config.json or Cursor MCP settings to inspect webhooks, replay requests, manage tunnels, and debug pipelines in chat.
Applicable scenarios
- Receiving and debugging third-party webhooks during local development.
- Debugging and tracing asynchronous callbacks and pipelines of AI services such as Replicate, fal.ai, RunPod, Modal, and OpenAI.
- Teams that need self-hosting and do not want data to leave their own infrastructure.
- Developers who want AI coding assistants to directly participate in webhook and pipeline debugging.
Limitations and notes
- The project uses AGPL-3.0: it can be used, modified, and self-hosted for free; if modified and provided as a service, the modifications must be open-sourced.
- Officially stated that core features are free forever, with no bandwidth limits, no session timeouts, and no paid tiers.
- A self-owned server and domain are required for self-hosting.
- Specific installation commands, the complete command list, MCP configuration examples, and the specific names of the 13 tools are not fully provided in the materials and are not yet available.