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:OpenCode
Configure the Container Use MCP server in aopencode.json file.
Note: Provide the absolute path to your systems cu executable:
AGENTS.md file using this command (this is optional but usually provides the best results):
opencode and dispatch your agents to complete your tasks!
Goose
Method 1: Configuration File
Add to~/.config/goose/config.yaml:
Method 2: Interactive Setup
cu stdio as the command.
Method 3: Goose Desktop
Paste this URL into your browser:Learn more: Goose MCP
Extensions
Cline
Add MCP Configuration
Add to your Cline MCP server configuration JSON:Add Agent Rules
Learn more: Cline Documentation
Qodo Gen
Setup Steps
- Open Qodo Gen chat panel in VSCode or IntelliJ
- Click “Connect more tools”
- Click ”+ Add new MCP”
- Add this configuration:
Learn more: Qodo Gen MCP
Documentation
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
OpenAI Codex
Add MCP Configuration
Add to~/.codex/config.toml:
Learn more: OpenAI Codex
Documentation
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:
Learn more: Gemini CLI
Configuration
General Troubleshooting
Agent doesn't recognize Container Use
Agent doesn't recognize Container Use
- Verify the
cucommand is in your PATH:which cu - Check MCP configuration syntax
- Restart your agent after configuration changes
Permission errors
Permission errors
- Ensure Docker is running and accessible
- Check file permissions for configuration files
- Verify
cu stdiocommand works:echo '{}' | cu stdio
Tools not appearing
Tools not appearing
- 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
