Description
This container-use MCP server by Dagger provides AI assistants with containerized development environments that persist state across interactions through git-based storage and Dagger's container runtime. The implementation creates isolated environments from configurable base images with custom setup commands, toolchains, and services, automatically committing filesystem changes to git branches and maintaining container state through serialized snapshots. Key differentiators include seamless integration between container state and git history, support for background services with port forwarding, and the ability to checkpoint environments as publishable container images, making it valuable for AI-powered development workflows that require persistent, reproducible environments with full filesystem access and service orchestration capabilities.
Installation
git clone https://github.com/dagger/container-use Claude Desktop Configuration
Add this configuration to your Claude Desktop config file to enable this MCP server:
Config file location: ~/Library/Application Support/Claude/claude_desktop_config.json
Config file location: %APPDATA%\Claude\claude_desktop_config.json
Config file location: ~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"container-use": {
"command": "node",
"args": [
"path/to/server.js"
]
}
}
}