Skip to main content
Container Use works with any coding agent that supports the Model Context Protocol (MCP).
All agents use the same MCP server command: container-use stdio

Claude Code

Add MCP Configuration:
Add Agent Rules (Optional): Save the CLAUDE.md file at the root of your repository:
Trust Only Container Use Tools (Optional): For maximum security, restrict Claude Code to only use Container Use tools:

Amazon Q Developer

Add MCP Configuration: Add this configuration to ~/.aws/amazonq/mcp.json:
Add Agent Rules: Save agent instructions to your project root:
Trust Only Container Use Tools (Optional):

Video Tutorial

Watch the Amazon Q Developer setup walkthrough

Cursor

Install MCP Server: Use the one-click deeplink to install (requires Cursor and Container Use already installed): Install MCP Server Add Agent Rules: Add the rules file to your project or home directory:

Windsurf

Install MCP Server: In ~/.codeium/windsurf/mcp_config.json, add the following configuration:
Add Agent Rules: Add the rules file to your project or home directory:

VSCode / GitHub Copilot

Configure MCP Server: Update your VSCode settings with:
Add Copilot Instructions (Optional):

Video Tutorial

Watch the VSCode setup walkthrough

Zed

Add the following snippet on your settings.json:
Add Container Use Agent Profile (Optional): To lock the Zed agent out of your host system, you can create a dedicated agent profile that only enables Container Use tools. Add this to your settings.json under the agent section:
This profile ensures your agent can only use Container Use tools, preventing it from modifying your local files directly. Next open the Zed Agent Panel ✨ in the lower right, select the “Container Use” profile from the dropdown to the left of the model dropdown, and prompt away!

OpenCode

Configure the Container Use MCP server in a opencode.json file. Configure the Container Use MCP server:
Add the AGENTS.md file using this command (this is optional but usually provides the best results):
Run opencode and dispatch your agents to complete your tasks!

Goose

Method 1: Configuration File: Add to ~/.config/goose/config.yaml:
Method 2: Interactive Setup:
Then add a command line extension with container-use stdio as the command. Method 3: Goose Desktop: Paste this URL into your browser:

Sourcegraph Amp

Add MCP Configuration: Add this configuration to ~/.config/amp/settings.json:
Add Agent Rules: Save agent instructions to your project root:

Charm Crush

Add MCP Configuration: Add this configuration to a valid location like ./.crush.json:
Add Agent Rules: Save agent instructions to your project root:

Cline

Add MCP Configuration: Add to your Cline MCP server configuration JSON:
Add Agent Rules:

Qodo Gen

Setup Steps:
  1. Open Qodo Gen chat panel in VSCode or IntelliJ
  2. Click “Connect more tools”
  3. Click ”+ Add new MCP”
  4. Add this configuration:

Kilo Code

Add MCP Configuration: Add at global or project level:
Kilo Code allows setting MCP servers at the global or project level. Learn more: Kilo Code MCP Documentation

Kiro

Add MCP Configuration: Add to .kiro/settings/mcp.json in your project root:
Add Steering Rules: Create .kiro/steering/container-use.md:

OpenAI Codex

Add MCP Configuration: Add to ~/.codex/config.toml:
Add Agent Rules (Optional): Instruct Codex to use container-use for all projects:

Warp

Add MCP Configuration: In the Warp sidebar, under Personal → MCP Servers → New:
Warp 2.0 introduces coding agents with MCP support.

Gemini CLI

Add MCP Configuration: Add to ~/.gemini/settings.json or .gemini/settings.json:

JetBrains Junie

Add MCP Configuration: Add or edit the MCP configuration in Settings under Tools → Junie → MCP Settings, or edit ~/.junie/mcp/mcp.json:
MCP support in Beta starting with Junie plugin 2xx.204.xx
Add Agent Rules: Save agent instructions to your project root:
Learn more: Junie Guidelines
Trust MCP Tools (Optional): In the settings, under Tools → Junie → Action Allowlist: add MCP Rule.

Troubleshooting

  • Verify the container-use command is in your PATH: which container-use
  • Check MCP configuration syntax
  • Restart your agent after configuration changes
  • Ensure Docker is running and accessible - Check file permissions for configuration files - Verify container-use stdio command works: echo '{}' | container-use stdio
  • Some agents require explicit tool trust/approval
  • Check your agent’s MCP server logs
  • Verify Container Use tools are enabled in agent settings

Next Steps

Back to Quickstart

Return to the quickstart guide to create your first environment

Join Community

Get help and share experiences in #container-use