The short version
Pipelock is an open-source agent firewall. It inspects HTTP, WebSocket, and MCP traffic routed through it for credential leaks, prompt injection, SSRF, and tool poisoning, and can emit signed action receipts for mediated decisions when a signing key is configured.
ToolHive is Stacklok’s Apache-2.0 runtime for MCP servers. Its README describes running every server in an isolated container with a minimal permission file and no local credentials. Around that it adds encrypted secrets, network isolation and access filtering, a registry of servers, provenance verification and signing, a virtual MCP workflow engine, and a Kubernetes operator with custom resources. With an authentication source configured it enforces identity and access policy per request.
ToolHive answers how a server runs, what it may reach, and who may call it. Pipelock answers what the server says and proves the decision.
Feature comparison
| Feature | Pipelock | ToolHive |
|---|---|---|
| Architecture | Network proxy, single self-hosted Go binary | Container runtime and proxy for MCP servers; CLI, desktop app, Kubernetes operator |
| What it covers | HTTP, HTTPS CONNECT (payloads only with TLS interception on), WebSocket, MCP stdio and HTTP, A2A | MCP servers it runs or proxies |
| Container isolation | No; process-level sandbox instead | Yes, per server, minimal permission file |
| Secrets | Holds none by design | Encrypted secrets management; no local credentials in the server container |
| Network control | Domain policy plus content scanning | Network isolation and access filtering per server |
| Identity and access | Tool policy via config | Per-request identity and access policy with an auth source |
| Registry and provenance | No | Registry, provenance verification, server signing |
| Credential scanning (DLP) | 65 patterns, encoding-aware, on the traffic | Not documented |
| Prompt injection detection | Deterministic patterns with multi-pass normalization | Not documented |
| Tool poisoning and rug-pull drift | Fingerprinting and drift detection | Not documented |
| Signed receipts | Yes, Ed25519, verifiable offline | Not documented |
| Process sandbox for the agent | Landlock, seccomp, and network namespaces | Not in scope; ToolHive contains servers, not the agent |
| License | Apache-2.0 core; Enterprise under ELv2 | Apache-2.0 |
Where ToolHive is stronger
Server containment. Each MCP server runs in its own container with scoped permissions and no local credentials. A misbehaving server is boxed in.
Secrets and network filtering. Encrypted secrets handed to servers as needed, and network access filtering per server.
Fleet management. A registry, a Kubernetes operator with custom resources, remote server proxying, and provenance checks on what gets run.
Identity-aware access. With an auth source, policy is enforced per request by identity.
Where Pipelock is stronger
Payload inspection. A contained server can still return an injected response or change its tool description. Pipelock fingerprints descriptions, flags drift, decodes and scans arguments for secrets, and scans responses for injection.
Beyond MCP. Pipelock also inspects the agent’s HTTP and WebSocket egress.
Evidence. With a signing key configured, Pipelock can emit signed receipts for mediated decisions that an auditor verifies offline.
Containing the agent, not only the servers. Pipelock’s sandbox wraps the agent process itself with Landlock, seccomp, and a network namespace.
The container-versus-content distinction
Isolation answers whether a server can escape or reach something it shouldn’t. Inspection answers whether a server’s traffic is leaking credentials or injecting instructions. A server that reads a host file it shouldn’t is stopped by ToolHive. A server whose tool description quietly changes to add exfiltration instructions is valid MCP traffic to a container boundary, and Pipelock is the layer that sees it.
Further reading
- Agent firewall vs agent sandbox: the concept behind this comparison
- Pipelock vs Docker MCP Gateway: Docker’s container gateway for MCP servers
- Pipelock vs Snyk Agent Scan: scanning the servers before you run them
- MCP security: MCP-specific threats
- Pipelock on GitHub
Sources checked
Third-party descriptions on this page come from the public materials below, read on the dates shown. Features and pricing change; check the current documentation before you decide.
Third-party product names and marks belong to their owners. PipeLab is not affiliated with, sponsored by, or endorsed by the makers of any product compared on this page. Descriptions of other products come from their own public materials on the dates listed above and reflect PipeLab's reading of them. If something here is wrong or out of date, tell us and it will be corrected.