Oxcart Download
Menu

Docker for AI coding agents: a local MCP server for Claude Code, Codex and Cursor

The best way to let a coding agent work with your Docker containers on a Mac is an MCP server that answers its questions directly. Oxcart includes one: 13 tools, no pulls, builds or deletions by default, local only, and a crash diagnosis in 159 tokens instead of the 2,014 the agent would read from the docker CLI.

Updated

What a coding agent needs from Docker

An agent working on a real project keeps asking the same few things: what is running, which app is on port 3000, why did this container die, what do the logs say, can I run the tests somewhere disposable. With only a shell, it answers them by running docker ps, docker inspect and docker logs and reading every line that comes back. That works, and it is slow and expensive: raw JSON and hundreds of log lines go into the model's context on every turn.

An MCP server turns those questions into tools that return the answer itself. Oxcart's tools are shaped like the questions, not like Docker's API endpoints, so one call replaces a chain of commands.

The 13 tools

Oxcart's MCP tools by what the agent is trying to do
IntentToolsLevel needed
Seestatus, projects, ports, images, logsRead only
Explaindiagnose: exit codes, OOM kills, failed health checks, port problems and the log lines that matterRead only
Actcontainer (start, stop, restart), exec, compose (up, down), sandbox without networkManage
Change and tidybuild, remove, cleanup (preview first), sandbox with networkFull

status shows each Compose project with its folder, git branch and localhost URLs, so “the app on port 3000” means the same thing to you and your agent. Clients that subscribe to resources hear about a crash, an OOM kill or a health change when it happens, without polling.

Smaller answers, cheaper sessions

What an agent reads to answer each question, through Oxcart against the docker CLI output it would read otherwise, measured at the same moment on the same containers:

Tokens per answer (characters ÷ 4)
QuestionOxcart MCPdocker CLI equivalentdocker CLISmaller by
Why did this container stop?159inspect + logs --tail 3002,01413×
Any errors in the last 500 log lines?39logs --tail 50070318×
What is running?106ps -a + stats --no-stream + compose ls -a3323.1×

Five test containers (a crashing one, an unhealthy one, an OOM-killed one, a Compose project, a published port). diagnose and logs stay the same size however long the logs get. The tool list itself costs 510 tokens once per session at the read-only level (6 tools) and 1,463 with all 13.

Whole sessions tell the same story. Claude Code with Claude Opus 5.5 answered two everyday questions, once with only the docker CLI and once with Oxcart's MCP server. Both arms got both answers right.

One Claude Code session per task and arm: indicative, not a study
TaskTimeCostTokensTurns
“Is worker throwing errors? Give me the error.”4.2 s vs 31.0 s$0.022 vs $0.15710,686 vs 52,2662 vs 8
“My api container keeps dying. Why?”8.5 s vs 14.9 s$0.036 vs $0.07011,283 vs 19,5102 vs 4

One session per task with and without Oxcart, on synthetic test containers, Oxcart 0.1.0: indicative only. Cost depends on prompt caching, and the run order was not alternated.

Set up Oxcart's MCP server in any coding agent

  1. Install Oxcart. Download Oxcart (Apple silicon, macOS 26 or later) and open it. Setup is offline and takes seconds.
  2. Copy the setup sentence. Open MCP Integrations in Oxcart's sidebar and copy the sentence: “Set up Oxcart's MCP server for me: run /Applications/Oxcart.app/Contents/Helpers/oxcart agent setup and follow its instructions. If you can't run commands, tell me to copy the entry under "Agent can't run commands?" in Oxcart › MCP Integrations.”
  3. Paste it into your agent. Paste it into Claude Code, Codex, Cursor or any agent that can run commands. The agent runs the command, reads the steps for itself, and registers a server named oxcart.
  4. Ask about your containers. Ask “what is running?” or “why did api stop?”. The agent appears on the MCP Integrations page, at Manage, with every call in its activity log.
  5. Change the level if you want. Lower the agent to Read only to let it look but change nothing, or raise it to Full to let it build, remove and clean up. Block refuses every call. Agents set up with an earlier version of Oxcart keep their level.

Claude Desktop can't run commands, so you add the entry yourself. In Claude, Settings › Developer › Edit Config opens ~/Library/Application Support/Claude/claude_desktop_config.json. Add oxcart under mcpServers, keeping any servers already there, then quit and reopen Claude:

{
  "mcpServers": {
    "oxcart": {
      "command": "/Applications/Oxcart.app/Contents/Helpers/oxcart",
      "args": ["mcp", "--client", "claude-desktop"]
    }
  }
}

Apps opened from the Dock or Finder don't search your shell's PATH, so every entry names the full path to oxcart, even with Oxcart's command-line tools installed. Other apps that can't run commands, such as LM Studio, take the entry Oxcart shows under Agent can't run commands? on the MCP Integrations page.

For Claude Code, the direct command is:

claude mcp add -s user oxcart -- /Applications/Oxcart.app/Contents/Helpers/oxcart mcp --client claude-code

For Codex, codex mcp add oxcart -- /Applications/Oxcart.app/Contents/Helpers/oxcart mcp --client codex registers the server for the Codex CLI and IDE extension.

Permission levels you set per agent

What each level allows
LevelThe agent can
Read onlySee containers, logs, ports, projects and images; diagnose failures
Manage (default)Also start, stop and restart, run commands, Compose up and down, run sandboxes without network, with images already on your Mac
FullAlso build, remove and clean up, and give sandboxes network access
BlockNothing: no tools listed, every call refused, and the agent is told why

Every call is logged on your Mac and shown on the MCP Integrations page; nothing leaves the Mac. The levels govern what Oxcart's tools do for an agent. They are not a sandbox: an agent that can run shell commands can still run docker itself, so pair them with your agent's own command permissions.

Agents with setup steps

Claude Code, Claude Desktop, Codex, Cursor, VS Code with Copilot, Devin Desktop, Zed, Gemini CLI, GitHub Copilot CLI, OpenCode, Cline, Junie, JetBrains AI Assistant, Goose, Kiro, Amp, Warp and LM Studio, plus a step for any other MCP client. The steps come from your installed copy of Oxcart (/Applications/Oxcart.app/Contents/Helpers/oxcart agent setup), with your Mac's real paths, so they work offline and match your version.

Containers for agent workflows beyond MCP

  • Dev Containers: run the agent inside a Dev Container so its shell, tools and network stay in the project's container. Oxcart runs the Dev Containers CLI; see Dev Containers and Testcontainers on a Mac.
  • Fast inner loop: agents run and tear down containers constantly. Oxcart measured 42 ms for docker run --rm and 77 ms to stop and remove 20 containers, fastest of the three runtimes we tested (comparisons).
  • Compose stacks: the agent's compose tool brings projects up and down at the Manage level; see Docker Compose on Apple silicon.

Questions

Is there an MCP server for Docker containers on the Mac?

Yes. Oxcart includes one: oxcart mcp, a local stdio MCP server with 13 tools for status, diagnosis, logs, ports, images, exec, Compose, builds, sandboxes and cleanup. It listens on no network port and needs no token.

How do I connect Claude Code to my Docker containers?

Paste Oxcart's setup sentence into Claude Code, or run claude mcp add -s user oxcart -- /Applications/Oxcart.app/Contents/Helpers/oxcart mcp --client claude-code. Claude Code then lists the oxcart server and can call its tools.

Does it work with Codex, Cursor and VS Code with Copilot?

Oxcart has setup steps for 18 named clients, including Codex, Cursor, VS Code with Copilot, Claude Desktop, Zed, Gemini CLI, GitHub Copilot CLI, Cline, Goose, Kiro, Amp, Warp and LM Studio, and a generic step for any other MCP client. Claude Code is the client that was run end to end.

Can the agent delete my containers or volumes?

Not by default. New agents start at Manage: they can start, stop and restart containers, run commands in them and bring Compose projects up and down with images already on your Mac, but not pull, build or delete. Removing containers, images and volumes and cleaning up need Full. Agents set up with an earlier version of Oxcart keep their level, and you can lower an agent to Read only, raise it to Full, or Block it. At Full, cleanup first returns a preview and a token, and deletes only what that preview listed. The levels govern Oxcart's tools; they are not a sandbox, so an agent with shell access can still run the docker CLI directly.

Why not just let the agent run docker commands?

It works, but the agent reads a lot of raw output. Answering "why did this container stop?" took 159 tokens through Oxcart's diagnose tool against 2,014 for docker inspect plus docker logs --tail 300: 13× smaller. In one Claude Code session per task (indicative), finding an error in the logs took 4.2 s instead of 31.0 s.

Does the MCP server send my data anywhere?

No. It talks only to the local engine socket and makes no network connection of its own. Every call is written to an activity log on your Mac. Images are still pulled from registries when a tool starts or builds something that needs them, as docker run would.

Can my agent run code in a throwaway container?

Yes, with the sandbox tool: a throwaway container with no network unless the agent is at the Full level and asks for it, limited to 2 GiB of memory and 1,024 processes.

Sources and method

  • Answer sizes: measured on 2026-10-10 with five test containers; tokens estimated as characters ÷ 4.
  • Sessions: Claude Code 2.1.296 with claude-opus-5-5, Oxcart 0.1.0, one run per task and arm.
  • Speed figures: Oxcart 0.1.2, 2026-10-10, Apple M5 Max, 8 CPUs and 12 GiB; the comparison runtimes were measured earlier the same day on the same Mac and harness with the docker 29.4 client.

Try Oxcart on your own projects

Free for 60 days. Then one license, every update for life: not a subscription.

Mac with Apple silicon · Windows 11 (x64)

Read next

Release notes

Oxcart 26.11.6

Latest release

Containers see the changes you make to files on your Mac as they happen.

  • Edit a file in a shared folder on your Mac, and tools that watch it in a container, such as Vite, webpack and nodemon, reload right away. Polling is not needed.
  • When no containers are running and you haven't used Docker for two minutes, Oxcart gives the memory it was using back to macOS. The next docker command starts it again in under a second. This doesn't happen while Kubernetes is turned on.
  • You can bring your images, volumes and networks over from another Docker app. Choose Import from Another Runtime… in the More (…) menu on the Containers page, or run oxcart import. Containers themselves aren't copied: start them again with docker compose up -d or docker run, and they use the imported volumes and networks.
  • Bug fixes and optimizations.
  • Updated Linux and system components, with the latest security fixes. A Windows virtual machine that is suspended when you update starts fresh afterwards.

Requires macOS 26.0 or later

Oxcart 26.11.5

You can now turn on GPU acceleration for a Windows 11 virtual machine you already have.

  • Open the virtual machine's settings and turn on GPU acceleration under Display. Oxcart restarts Windows once, and the Windows desktop and Direct3D 10 and 11 apps then render on your Mac's GPU.
  • Turning GPU acceleration off puts back the standard display driver, and suspending works again.

Requires macOS 26.0 or later

Oxcart 26.11.4

Bug fixes and optimizations.

  • Virtual machines start again after updating Oxcart while it is open.

Requires macOS 26.0 or later

Oxcart 26.11.3

Windows virtual machines can now use your Mac's GPU.

  • Turn on GPU acceleration when you create a Windows 11 virtual machine, on the first step of New Virtual Machine. The Windows desktop and Direct3D 10 and 11 apps then render on your Mac's GPU instead of its processor.
  • A virtual machine with GPU acceleration can't be suspended or snapshotted while it runs. Shut it down instead. Existing virtual machines are not changed.
  • GPU acceleration is new. After a lot of opening and closing windows, the Windows screen can go black for about a second while Oxcart frees graphics memory.
  • Updated Linux and system components, with the latest security fixes.

Requires macOS 26.0 or later

Oxcart 26.11.2

Oxcart can now run Kubernetes for you.

  • Turn on Kubernetes in Settings › Resources to get a local single-node cluster that kubectl can use right away.
  • Services in the cluster are reachable from your Mac at 127.0.0.1, and images you build with Docker run in the cluster without pushing them to a registry.
  • Updated Linux and system components, with the latest security fixes.

Requires macOS 26.0 or later

Oxcart 26.11.1

Bug fixes and optimizations.

  • A simpler toolbar in the VM window.
  • Updated Linux and system components, with the latest security fixes.

Requires macOS 26.0 or later

Oxcart 26.11.0

Clearer Windows audio, a network that comes back, and a VM toolbar that stays out of your way.

  • Clear Windows audio. Choppy, garbled sound in Windows VMs is fixed.
  • Networking that recovers. Turn a Windows VM's network off and on again, and it reconnects without a restart.
  • A toolbar that stays out of the way. It no longer covers the top of your VM. Move the pointer to the top center and click the small tab when you want it.
  • Simpler Oxcart Tools for Windows. One CD now holds everything, and the installer handles the drivers and any restart for you.
  • A more dependable clipboard in Windows VMs.
  • A license agreement to accept the first time you open Oxcart on your Mac.
  • Updated Linux, container and Docker components, with the latest security fixes.

Requires macOS 26.0 or later

Oxcart 26.10.0

Virtual machines are here. Windows 11, Linux and macOS run on your Mac, built into Oxcart beside your containers and covered by the license you already have.

  • Windows 11 in about 5 minutes, hands off. Choose your Windows 11 ARM installer and walk away: Oxcart installs Windows, its drivers and Oxcart Tools by itself, on a VM with real TPM 2.0 and Secure Boot. You bring the installer and the license.
  • Linux in under a minute. Ubuntu, Debian and Fedora start with your Mac username, your SSH key and passwordless sudo already set up; Fedora is ready in about 30 seconds. Every further VM from the same image starts from an instant copy that takes only the space it changes. Ubuntu Desktop, Fedora Workstation and any arm64 Linux installer work too.
  • macOS on macOS. Oxcart restores the newest macOS your Mac supports and, with Automatic setup, creates your account and installs Oxcart Tools.
  • Every VM is a real Mac app. Each one has its own window, Dock icon and ⌘-Tab entry, and keeps running after you quit Oxcart. The Retina display follows the window as you resize it or go full screen, ⌘C and ⌘V work in Linux and Windows, and text, images and files move between your Mac and the guest by copy, paste and drag.
  • Snapshots that capture the moment. Snapshot a running VM with its open apps and return to that exact moment later. Snapshots and clones take almost no space until the guest changes, and a restore lands whole even if your Mac loses power halfway.
  • Your Mac's folders, network and USB. Share Mac folders with any guest, reach your Mac by name and publish ports from the VM. Hand a USB device to Windows for flashers, programmers and dongles; development boards' serial ports show up in Windows under their own IDs.
  • First-class for coding agents. VMs join containers in Oxcart's MCP server with 22 tools of their own, so an agent you connect can create, start, snapshot and clone VMs, run commands and copy files in the guest, forward ports, connect USB devices and disk images, and read the screen and type in any guest, even one without Oxcart Tools, all within the permission level you set for each agent. The oxcart vm command covers every operation, with JSON output for scripts and CI.
  • Encrypted VMs, when you want them. Keep a VM's disks and secrets behind a password of your own, with AES-256 encryption built into Oxcart, so an encrypted disk flushes as fast as a plain one.
  • Disk space you can see. Choose where a VM lives, on your Mac or an external drive, and see what it takes now and what it can grow to against the space you have. Reclaim Space hands back what a guest frees right away, and Disk Usage shows each downloaded system so you can remove the ones you no longer need.
  • VMs that move with you. Each VM is a single item in Finder you can keep on any drive. Export it as one .oxvm file to another Mac, and bring over Linux and macOS VMs from another Mac virtualization app.
  • Ready when you are. Chosen VMs start when you log in, run headless with no window at all, and suspend when you close them, so you pick up exactly where you left off.
  • Oxcart Help. Help › Oxcart Help (⌘?) explains every setting, what it does and what changing it affects, with a ? beside each one. Coding agents read the same help through MCP.
  • More reliable published ports. A container connection that a service closes mid-transfer now ends cleanly instead of waiting.
  • New version numbers. Releases are now numbered by year and month, so this one is 26.10.0.

Requires macOS 26.0 or later

Oxcart 0.1.8

Oxcart for Windows, and every update included for life.

  • Oxcart runs on Windows too. One license covers up to 5 devices, Mac or Windows, in any mix.
  • Every update is included, for life.
  • Oxcart is $5 through December 31, 2026.
  • Coding agents can inspect containers, read live stats and resource pressure, follow logs, track long pulls and builds, and run containers with the limits you set.
  • Recreating a container keeps its volumes and network aliases.
  • Oxcart's helper shows as Oxcart in Login Items.
  • Reliability improvements throughout.

Requires macOS 26.0 or later

Oxcart 0.1.7

Faster shared folders, faster networking, and container environments you can edit.

  • Much faster shared folders. Cloning repositories, installing packages and building in a shared folder are up to 3× faster.
  • Faster networking. Published ports and container connections move nearly twice as much data, using less CPU.
  • Encryption when you want it. Encrypting traffic between your Mac and your containers is optional: turn it on in Settings › Resources › Encrypt container connections.
  • Environment variables, easy to see and change. See a container's variables on its Overview, change them with Edit and Recreate, and paste a whole .env file at once.
  • A smoother Run Container sheet. Return moves to the next row instead of starting the container.
  • Clearer troubleshooting. Oxcart tells you when a VPN or firewall is slowing your connections.
  • More reliable shared folders, with correct permission errors and up-to-date contents after changes on your Mac.

Requires macOS 26.0 or later

Oxcart 0.1.6

Coding agents can fix what they find, plus fixes and hardening throughout.

  • New agents can start, stop and restart containers, run commands in them and bring Compose projects up, using images already on your Mac. Pulling, building and deleting require Full, set for each agent in the MCP Integrations section.
  • Setup gives every agent a ready-to-use entry, and oxcart mcp check confirms it works.
  • Sharper answers: agents see when a service is down because something it depends on is, whether a web page actually loads, and what caused a failure and how to fix it.
  • Start at login opens Oxcart in the menu bar, ready when you need it.
  • Oxcart checks for updates as it starts, and sends a short check-in to oxcart.cc. Settings › Privacy shows exactly what it contains.
  • Containers find the other services on their networks from the moment they start.
  • Fixes to privileged containers, Rosetta checks and setup safeguards.
  • The Oxcart app asks before anything that deletes data or stops running work.
  • Security hardening and reliability improvements throughout.

Requires macOS 26.0 or later

Oxcart 0.1.5

Oxcart runs local Kubernetes and privileged containers, and speaks ten languages.

  • Settings › Resources › Kubernetes and networking: turn on privileged containers to run kind, k3d, minikube (Docker driver) and Docker-in-Docker, and to use docker run --privileged and --device. It is off by default. Oxcart's guard keeps every container away from its disks, its kernel, other containers' data and its channels to your Mac.
  • IPv6 container networks, also off by default, for networks created with IPv6 such as kind's dual-stack network.
  • Oxcart is translated into Simplified Chinese, Japanese, German, French, Spanish, Brazilian Portuguese, Korean, Russian and Turkish. Settings › General › Language sets it for Oxcart only.

Requires macOS 26.0 or later

Oxcart 0.1.4

Licensing and refinements.

  • Secure email-link license activation.
  • License and Mac management from Settings.
  • Offline license verification.
  • Performance improvements, UI polish, and bug fixes.

Requires macOS 26.0 or later

Oxcart 0.1.3

Idle memory reclamation.

  • Reclaims VM memory when no containers are running.
  • Preserves containers, images, volumes, and networks.

Requires macOS 26.0 or later

Oxcart 0.1.2

Command-line tool integration.

  • Switch between Oxcart's bundled Docker tools and an existing installation.
  • UI polish.

Requires macOS 26.0 or later

Oxcart 0.1.1

Bundled Docker tools and agent controls.

  • Docker CLI 29.9, Compose 5.6, and Buildx 0.38 included.
  • Docker context integration and secure Keychain credentials.
  • MCP agent connections with per-agent permissions and blocking.

Requires macOS 26.0 or later

Oxcart 0.1.0

Docker-compatible containers for Apple silicon.

  • Docker CLI, Compose, and Buildx compatibility.
  • Offline setup with bundled runtime components.
  • Ports organized by project and Git branch.
  • MCP integration with read-only access by default.
  • Verified automatic updates.

Requires macOS 26.0 or later