Show HN: MCP in a Can – running MCP servers with restricted permissions
Category: security
Tags: sandboxing, mcp, container, security, rust, linux
Score: 8.0/10 (Innovation: 8, Technical: 8, Documentation: 9, Utility: 7)
Cantainer runs executables in lightweight, kernel-enforced sandboxes (Landlock + seccomp) with permissions derived from the command line. It packages tools as portable OCI 'cans' with embedded manifests, SBOMs, and pinned dependencies, and is currently focused on safely running MCP servers for AI agents. The setuid-free, daemonless model with rights-only-shrink is a compelling take on executable-level isolation.
Target audience: devops and security engineers, AI agent developers, backend devs
Repository: https://github.com/cantainer/cantainer · Rust · Apache-2.0 · 6 stars
View on Hacker News