# container-use

> An open-source MCP server CLI tool that gives coding agents isolated containerized environments, enabling multiple agents to work safely and independently in parallel.

**Container Use** is an open-source MCP server that provides containerized, isolated development environments for coding agents. It lets multiple AI coding agents work in parallel on separate git branches without interfering with each other or the developer's workflow. Built on top of Dagger, it works with Claude Code, Cursor, Goose, VSCode, and any other MCP-compatible agent. The project is written in Go and licensed under Apache 2.0.

- **Isolated Environments**: *Each agent gets a fresh container in its own git branch, so you can run multiple agents simultaneously without conflicts, experiment safely, and discard failures instantly.*
- **Real-time Visibility**: *See the complete command history and logs of what agents actually executed, not just what they report back.*
- **Direct Intervention**: *Drop into any agent's terminal at any time to inspect its state and take control when it gets stuck.*
- **Environment Control**: *Uses a standard git workflow — run `git checkout <branch_name>` to review any agent's work at any point.*
- **Universal Compatibility**: *Works with any agent, model, or infrastructure with no vendor lock-in, as long as the agent supports MCP.*
- **Easy Installation**: *Install via Homebrew on macOS (`brew install dagger/tap/container-use`) or via a curl install script on all platforms, then add `container-use stdio` as an MCP server in your agent's config.*
- **CLI Shortcut**: *The `container-use` command is also available as `cu` for convenience — both commands work identically.*
- **Agent Rules Support**: *Optionally add agent-specific rule files (e.g., `CLAUDE.md`) to guide agent behavior within the containerized environment.*

## Features
- Isolated containerized environments per agent
- Parallel multi-agent execution
- Git branch per agent environment
- Real-time command history and logs
- Direct terminal intervention into agent environments
- Standard git workflow for reviewing agent work
- MCP server protocol support
- CLI shortcut (cu) for convenience
- Agent rules file support
- Powered by Dagger

## Integrations
Claude Code, Cursor, Goose, VSCode, Dagger, Any MCP-compatible agent

## Platforms
WINDOWS, MACOS, LINUX, API, VSC_EXTENSION, CLI

## Pricing
Open Source

## Version
v0.4.2

## Links
- Website: https://container-use.com
- Documentation: https://container-use.com/quickstart
- Repository: https://github.com/dagger/container-use
- EveryDev.ai: https://www.everydev.ai/tools/container-use
