I've been working on Cantainer, a small open-source project written in Rust.

One thing that bothers me about local MCP servers is how casually we run third-party code through npx or uvx, giving it access to pretty much everything our user can access.

I wanted to see if there was a better way to distribute and run these tools without requiring Docker or a VM.

The idea is to package each MCP server with its runtime, dependencies and a permission manifest into an OCI artifact (I call it a can). Landlock and seccomp enforce the permissions at runtime.

So far, I've packaged 16 MCP servers and integrations, including GitHub, Context7, Kubernetes and Terraform. The builds are reproducible across Linux distributions.

It's still early. Signing and some important security features are missing, and the project hasn't been audited. The official registry is still private, but anyone can build cans locally.

I'm interested in taking this beyond MCP eventually, possibly towards an alternative Linux userland.

I'd love to find people who are interested in exploring this direction together.

https://github.com/cantainer/cantainer

https://github.com/cantainer/cans

Comments URL: https://news.ycombinator.com/item?id=50726335

Points: 1

Comments: 0

原文来源:github.com