About Container Use
Container Use is an MCP server published by shykes in the Developer Tools category: mCP server to add container superpowers to your AI agent.
The repository has 3 stars and 0 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/shykes/container-useThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Container Use
Powered by Claude · Grounded in docs
Security checks
Static checks derived from the repository 8 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository ships documentation.
- !License declaredNo license file. Legally you have no right to use it in a product.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
README
container-use
MCP server to add container superpowers to your AI agent
Installing
go build ./cmd/container-use
Make sure to put container-use in your $PATH
Agent Integration
Enabling container-use requires 2 steps:
- Adding an MCP configuration for
container-use - (Optional) Adding a rule so the agent uses containarized environments.
Claude Code
# Add the container-use MCP
npx @anthropic-ai/claude-code mcp add container-use -- <path to container-use> stdio
# Save the CLAUDE.md file at the root of the repository. Alternatively, merge the instructions into your own CLAUDE.md.
curl -o CLAUDE.md https://raw.githubusercontent.com/dagger/container-use/main/rules/agent.md
Goose
Add this to ~/.config/goose/config.yaml:
extensions:
container-use:
name: container-use
type: stdio
enabled: true
cmd: container-use
args:
- stdio
envs: []
Cursor
curl --create-dirs -o .cursor/rules/container-use.mdc https://raw.githubusercontent.com/dagger/container-use/main/rules/cursor.mdc
VSCode / GitHub Copilot
curl --create-dirs -o .github/copilot-instructions.md https://raw.githubusercontent.com/dagger/container-use/main/rules/agent.md
Examples
| Example | Description |
|---|---|
| hello_world.md | Creates a simple app and runs it, accessible via localhost HTTP URL |
| history.md | Demonstrates container snapshotting by making changes to an app and showing history/diffs of the modifications |
| parallel.md | Creates and serves two variations of a hello world app (Flask and FastAPI) on different URLs |
| multibuild.md | Builds the current project using the 3 most recent Go versions |
| security.md | Security scanning example that checks for updates/vulnerabilities in the repository, applies updates, verifies builds still work, and generates patch file |
Run with goose:
goose run -i ./examples/security.md -s
Watching your agents work
Your agents will automatically commit to a container-use remote on your local filesystem. You can watch the progress of your agents in real time by running:
container-use watch
README fetched from the repository 8 days ago. The original is authoritative.