Container Use logo

Container Use

by dagger

Runs coding agents in isolated containers and branches with logs, terminal access, and git-based review.

Install Container Use

Pick your client, then add it in one click or paste the config.

No confirmed install command yet

We only publish a config when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for dagger/container-use, and we’d rather show nothing than a guess you’d paste into your client.

Open setup steps on GitHub

Overview

The dagger/container-use MCP server gives coding agents isolated, containerized development environments through Dagger. Each environment uses a separate git branch, while command history, logs, and terminal access let developers inspect or intervene in agent work. Reach for it when multiple agents need to experiment in parallel without sharing filesystem state or conflicting changes.

Use cases

  • Run multiple coding agents in parallel
  • Test changes in disposable containers
  • Review agent work through separate git branches
  • Inspect commands and intervene in an agent terminal

Key features

  • Isolated container environments
  • Separate git branch per agent
  • Command history and execution logs
  • Direct terminal access
  • MCP stdio CLI
  • Dagger-powered execution

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

27/27 checks healthy over the last 77d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars4.1kStargazers on the source repository.
Last commit1mo agoMost recent push to the default branch.
Directory activity5 viewsConfig copies, upvotes, and views on AllMCPs.

How Container Use works

What the dagger/container-use MCP server does

The dagger/container-use MCP server provides containerized development environments for coding agents. It is delivered as a command-line MCP server and is powered by Dagger. Agents can work in separate environments and branches, allowing several tasks or experiments to proceed without modifying the same working state.

Each agent environment starts fresh and is associated with its own git branch. Developers can review an agent’s changes through normal git operations, including checking out the relevant branch. Failed experiments can be discarded without affecting the main working environment.

How it works

The server exposes container-use through the stdio command, which an MCP-compatible agent launches as a local process. The agent asks Container Use to create and operate in an isolated environment, while Dagger supplies the container execution layer.

The workflow also records command history and logs. Developers can inspect what an agent actually ran instead of relying only on its report. When an agent is blocked or needs supervision, the developer can open its terminal, inspect the current state, and take direct control.

The dagger/container-use MCP server is intended for parallel coding work, exploratory changes, and tasks where isolation between agents matters. It is not presented as a hosted service or as a replacement for the project’s existing git workflow.

Setup and configuration

Install on macOS with Homebrew:

sh
brew install dagger/tap/container-use

An install script is also provided for all platforms:

Terminal
curl -fsSL https://raw.githubusercontent.com/dagger/container-use/main/install.sh | bash

Configure the server by adding container-use stdio to the MCP client. For Claude Code, run the command from the repository directory:

Terminal
claude mcp add container-use -- container-use stdio

The command is also available as cu, so cu stdio can be used as a shortcut. Optional agent rules can be appended to CLAUDE.md. The project links to a setup guide covering Cursor, Goose, VS Code, and other MCP-compatible agents.

Tools and capabilities

The documented capabilities include:

  • Creating fresh, isolated container environments for agents.
  • Assigning work to separate git branches.
  • Running multiple agents without shared-environment conflicts.
  • Showing command history and execution logs.
  • Providing terminal access for inspection and intervention.
  • Supporting review through ordinary git branch operations.

The server is described as compatible with different agents, models, and infrastructure rather than being tied to one model provider.

Limitations and notes

The project is marked as experimental and is still actively evolving. Its documentation describes a CLI-based MCP setup, so the client must be able to launch an MCP server over standard input and output.

The dagger/container-use MCP server should therefore be evaluated as a local development workflow for agent-managed containers and branches. Consult the project’s current documentation before relying on details beyond the installation and stdio setup described here.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Container Use

dagger/container-use is an MCP server that connects coding agents to Dagger-powered containerized development environments. Its main tools and capabilities create isolated agent environments, manage separate git branches, expose terminal access, and record command history and logs for parallel coding work.

Install it with Homebrew on macOS or use the provided install script on all platforms. The macOS command is `brew install dagger/tap/container-use`; the general script is available from the project repository.

Run `claude mcp add container-use -- container-use stdio` from the repository directory. The project also provides optional agent rules that can be appended to `CLAUDE.md`.

Yes, the project documents setup for Cursor and describes the server as compatible with MCP-compatible agents. Configure the client to launch `container-use stdio` as an MCP server.

Yes, each agent receives a fresh container and its own git branch. This keeps parallel work isolated and lets you review or discard changes through the normal git workflow.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewContainer Use AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/dagger-container-use?style=directory)](https://allmcps.com/mcp/dagger-container-use)
HTML Embed
<a href="https://allmcps.com/mcp/dagger-container-use"><img src="https://allmcps.com/api/badge/dagger-container-use?style=directory" alt="Container Use on AllMCPs" /></a>