Oxcart Descargar
Menú

Docker para agentes de programación con IA: un servidor MCP local para Claude Code, Codex y 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.

Actualizado

Qué necesita de Docker un agente de programación

Un agente que trabaja en un proyecto real repite unas pocas preguntas: qué está en ejecución, qué app usa el puerto 3000, por qué se ha detenido este contenedor, qué dicen los registros, si puede ejecutar las pruebas en un entorno desechable. Con solo una shell, las responde ejecutando docker ps, docker inspect y docker logs, y leyendo cada línea que devuelven. Funciona, pero es lento y caro: en cada turno entran JSON sin procesar y cientos de líneas de registros en el contexto del modelo.

Un servidor MCP convierte esas preguntas en herramientas que devuelven directamente la respuesta. Las herramientas de Oxcart se organizan según las preguntas, en lugar de los endpoints de la API de Docker, de modo que una llamada sustituye una cadena de comandos.

Las 13 herramientas

Herramientas MCP de Oxcart según lo que intenta hacer el agente
IntenciónHerramientasLevel needed
Verstatus, projects, ports, images, logsRead only
Explicardiagnose: códigos de salida, terminaciones por falta de memoria, comprobaciones de salud fallidas, problemas de puertos y las líneas relevantes de los registrosRead only
Actuarcontainer (iniciar, detener, reiniciar), exec, compose (up, down), sandbox sin redManage
Modificar y limpiarbuild, remove, cleanup (primero una vista previa), sandbox con redFull

status muestra cada proyecto Compose con su carpeta, rama Git y URL de localhost, de modo que «la app del puerto 3000» significa lo mismo para ti y tu agente. Los clientes suscritos a recursos reciben avisos de fallos, terminaciones por falta de memoria o cambios de salud en cuanto ocurren, sin consultas periódicas.

Respuestas más pequeñas, sesiones más baratas

Lo que lee un agente para responder cada pregunta: Oxcart frente a la salida de la CLI docker que leería de otro modo, medido en el mismo instante y con los mismos contenedores:

Tokens por respuesta (caracteres ÷ 4)
PreguntaMCP de OxcartEquivalente con la CLI dockerCLI dockerFactor de reducción
¿Por qué se detuvo este contenedor?159inspect + logs --tail 3002,01413×
¿Hay errores en las últimas 500 líneas de registros?39logs --tail 50070318×
¿Qué está en ejecución?106ps -a + stats --no-stream + compose ls -a3323,1×

Cinco contenedores de prueba (uno que falla, uno con una comprobación de salud fallida, uno terminado por falta de memoria, un proyecto Compose y un puerto publicado). Las respuestas de diagnose y logs mantienen su tamaño por mucho que crezcan los registros. La lista de herramientas cuesta 510 tokens una vez por sesión en el nivel de solo lectura (6 herramientas), y 1,463 con las 13.

Las sesiones completas muestran lo mismo. Claude Code con Claude Opus 5.5 respondió dos preguntas cotidianas, una vez solo con la CLI docker y otra con el servidor MCP de Oxcart. Ambas variantes respondieron correctamente las dos preguntas.

Una sesión de Claude Code por tarea y variante: orientativo, no un estudio
TareaTiempoCosteTokensTurnos
«¿worker está dando errores? Muéstrame el error.»4.2 s frente a 31.0 s$0.022 frente a $0.15710,686 frente a 52,2662 frente a 8
«Mi contenedor api se detiene constantemente. ¿Por qué?»8.5 s frente a 14.9 s$0.036 frente a $0.07011,283 frente a 19,5102 frente a 4

Una sesión por tarea con y sin Oxcart, sobre contenedores de prueba sintéticos, Oxcart 0.1.0: solo orientativo. El coste depende de la caché de prompts y no se alternó el orden de ejecución.

Configura el servidor MCP de Oxcart en cualquier agente de programación

  1. Instala Oxcart. Descarga Oxcart (chip de Apple, macOS 26 o posterior) y ábrelo. La configuración se realiza sin conexión y tarda segundos.
  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. Pégala en tu agente. Pégala en Claude Code, Codex, Cursor o cualquier agente que pueda ejecutar comandos. El agente ejecuta el comando, lee los pasos que le corresponden y registra un servidor llamado 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

Para Codex, codex mcp add oxcart -- /Applications/Oxcart.app/Contents/Helpers/oxcart mcp --client codex registra el servidor para la CLI de Codex y la extensión del IDE.

Niveles de permisos que ajustas por agente

Qué permite cada nivel
NivelEl agente puede
Read onlyVer contenedores, registros, puertos, proyectos e imágenes; diagnosticar fallos
Manage (default)Also start, stop and restart, run commands, Compose up and down, run sandboxes without network, with images already on your Mac
FullAdemás, compilar, eliminar y limpiar, y dar acceso a la red a los entornos aislados
BlockNada: no se muestra ninguna herramienta, se rechazan todas las llamadas y se explica el motivo al agente

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.

Agentes con instrucciones de configuración

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.

Contenedores para flujos de trabajo con agentes más allá de MCP

  • Dev Containers: ejecuta el agente dentro de un Dev Container para que su shell, herramientas y red permanezcan en el contenedor del proyecto. Oxcart ejecuta la CLI de Dev Containers; consulta Dev Containers y Testcontainers en Mac.
  • Ciclos de desarrollo rápidos: los agentes ejecutan y eliminan contenedores constantemente. Oxcart registró 42 ms para docker run --rm y 77 ms para detener y eliminar 20 contenedores, los mejores resultados de los tres entornos que probamos (comparativas).
  • Servicios Compose: la herramienta compose del agente levanta y detiene proyectos en el nivel Manage; consulta Docker Compose en equipos con chip de Apple.

Preguntas

¿Existe un servidor MCP para contenedores Docker en Mac?

Sí. Oxcart incluye oxcart mcp, un servidor MCP stdio local con 13 herramientas para estado, diagnóstico, registros, puertos, imágenes, exec, Compose, compilaciones, entornos aislados y limpieza. No escucha en ningún puerto de red ni necesita un token de autenticación.

¿Cómo conecto Claude Code con mis contenedores Docker?

Pega la frase de configuración de Oxcart en Claude Code o ejecuta claude mcp add -s user oxcart -- /Applications/Oxcart.app/Contents/Helpers/oxcart mcp --client claude-code. Claude Code mostrará el servidor oxcart y podrá llamar a sus herramientas.

¿Funciona con Codex, Cursor y VS Code con Copilot?

Oxcart tiene instrucciones de configuración para 18 clientes identificados por nombre, incluidos Codex, Cursor, VS Code con Copilot, Claude Desktop, Zed, Gemini CLI, GitHub Copilot CLI, Cline, Goose, Kiro, Amp, Warp y LM Studio, y un paso genérico para cualquier otro cliente MCP. Claude Code es el cliente que se probó de principio a fin.

¿El agente puede eliminar mis contenedores o volúmenes?

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.

¿Por qué no dejar que el agente ejecute comandos docker sin más?

Funciona, pero el agente lee mucha salida sin procesar. Responder «¿por qué se detuvo este contenedor?» requirió 159 tokens con la herramienta diagnose de Oxcart frente a 2,014 con docker inspect y docker logs --tail 300: 13× menos. En una sesión de Claude Code por tarea (orientativa), encontrar un error en los registros llevó 4.2 s en lugar de 31.0 s.

¿El servidor MCP envía mis datos a algún sitio?

No. Solo se comunica con el socket local del motor y no establece conexiones de red por su cuenta. Cada llamada se escribe en un registro de actividad en tu Mac. Las imágenes se siguen descargando de los registros cuando una herramienta inicia o compila algo que las necesita, igual que haría docker run.

¿Mi agente puede ejecutar código en un contenedor desechable?

Sí, con la herramienta sandbox: un contenedor desechable sin red, salvo que el agente esté en el nivel Full y la solicite, limitado a 2 GiB de memoria y 1,024 procesos.

Fuentes y método

  • Tamaño de las respuestas: medido el 2026-10-10 con cinco contenedores de prueba; tokens estimados como caracteres ÷ 4.
  • Sesiones: Claude Code 2.1.296 con claude-opus-5-5, Oxcart 0.1.0, una ejecución por tarea y variante.
  • Cifras de velocidad: Oxcart 0.1.2, 2026-10-10, Apple M5 Max, 8 CPU y 12 GiB; los entornos comparados se midieron antes ese mismo día en el mismo Mac, con el mismo sistema de medición y el cliente docker 29.4.

Prueba Oxcart con tus propios proyectos

Gratis durante 60 días. Después, una licencia, todas las actualizaciones de por vida: sin suscripción.

Mac con Apple silicon · Windows 11 (x64)

Sigue leyendo

Notas de la versión

Oxcart 26.11.6

Última versión

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.

Requiere macOS 26.0 o posterior

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.

Requiere macOS 26.0 o posterior

Oxcart 26.11.4

Bug fixes and optimizations.

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

Requiere macOS 26.0 o posterior

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.

Requiere macOS 26.0 o posterior

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.

Requiere macOS 26.0 o posterior

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.

Requiere macOS 26.0 o posterior

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.

Requiere macOS 26.0 o posterior

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.

Requiere macOS 26.0 o posterior

Oxcart 0.1.8

Oxcart para Windows, con todas las actualizaciones incluidas de por vida.

  • Oxcart también funciona en Windows. Una licencia cubre hasta 5 dispositivos, Mac o Windows, en cualquier combinación.
  • Todas las actualizaciones están incluidas, de por vida.
  • Oxcart cuesta $5 hasta el 31 de diciembre de 2026 inclusive.
  • Los agentes de programación pueden inspeccionar contenedores, consultar estadísticas en tiempo real y la presión sobre los recursos, seguir registros, supervisar descargas de imágenes y builds de larga duración y ejecutar contenedores con los límites que establezcas.
  • Al recrear un contenedor, se conservan sus volúmenes y alias de red.
  • El programa auxiliar de Oxcart aparece como Oxcart en los ítems de inicio (Login Items).
  • Mejoras de fiabilidad en toda la aplicación.

Requiere macOS 26.0 o posterior

Oxcart 0.1.7

Carpetas compartidas más rápidas, conexiones de red más rápidas y entornos de contenedores que puedes editar.

  • Carpetas compartidas mucho más rápidas. Clonar repositorios, instalar paquetes y realizar builds en una carpeta compartida es hasta 3× más rápido.
  • Conexiones de red más rápidas. Los puertos publicados y las conexiones de los contenedores transfieren casi el doble de datos con menos uso de CPU.
  • Cifrado cuando lo quieras. Cifrar el tráfico entre tu Mac y tus contenedores es opcional: actívalo en Settings › Resources › Encrypt container connections.
  • Variables de entorno fáciles de consultar y modificar. Consulta las variables de un contenedor en su vista Overview, modifícalas con Edit and Recreate y pega un archivo .env completo de una sola vez.
  • Una ventana Run Container más cómoda. La tecla Retorno pasa a la siguiente fila en lugar de iniciar el contenedor.
  • Diagnóstico más claro. Oxcart te avisa cuando una VPN o un firewall está ralentizando tus conexiones.
  • Carpetas compartidas más fiables, con errores de permisos correctos y contenido actualizado tras los cambios en tu Mac.

Requiere macOS 26.0 o posterior

Oxcart 0.1.6

Los agentes de programación pueden corregir los problemas que encuentran. Además, hay correcciones y refuerzos de seguridad en toda la aplicación.

  • Los agentes nuevos pueden iniciar, detener y reiniciar contenedores, ejecutar comandos en ellos e iniciar proyectos Compose con las imágenes que ya tienes en tu Mac. Descargar imágenes, realizar builds y eliminar requieren Full, que se configura para cada agente en la sección MCP Integrations.
  • La configuración proporciona a cada agente una entrada lista para usar, y oxcart mcp check confirma que funciona.
  • Respuestas más precisas: los agentes detectan cuándo un servicio está caído porque una de sus dependencias también lo está, comprueban si una página web carga realmente e identifican qué causó un fallo y cómo corregirlo.
  • Start at login abre Oxcart en la barra de menús, listo cuando lo necesites.
  • Oxcart busca actualizaciones al iniciarse y envía un breve informe a oxcart.cc. Settings › Privacy muestra exactamente qué contiene.
  • Los contenedores encuentran los demás servicios de sus redes desde el momento en que se inician.
  • Correcciones en los contenedores privilegiados, las comprobaciones de Rosetta y las medidas de protección durante la configuración.
  • La aplicación Oxcart pide confirmación antes de cualquier acción que elimine datos o detenga tareas en curso.
  • Refuerzos de seguridad y mejoras de fiabilidad en toda la aplicación.

Requiere macOS 26.0 o posterior

Oxcart 0.1.5

Oxcart ejecuta Kubernetes local y contenedores privilegiados, y está disponible en diez idiomas.

  • Settings › Resources › Kubernetes and networking: activa los contenedores privilegiados para ejecutar kind, k3d, minikube (controlador Docker) y Docker-in-Docker, y para usar docker run --privileged y --device. Esta opción está desactivada de forma predeterminada. La protección de Oxcart impide que cualquier contenedor acceda a los discos de Oxcart, a su kernel, a los datos de otros contenedores y a sus canales de comunicación con tu Mac.
  • Redes de contenedores IPv6, también desactivadas de forma predeterminada, para redes creadas con IPv6, como la red de doble pila de kind.
  • Oxcart está traducido al chino simplificado, japonés, alemán, francés, español, portugués de Brasil, coreano, ruso y turco. Settings › General › Language establece el idioma solo para Oxcart.

Requiere macOS 26.0 o posterior

Oxcart 0.1.4

Licencias y mejoras.

  • Activación de licencias mediante un enlace seguro enviado por correo electrónico.
  • Gestión de licencias y Mac desde Settings.
  • Verificación de licencias sin conexión.
  • Mejoras de rendimiento, ajustes de la interfaz y correcciones de errores.

Requiere macOS 26.0 o posterior

Oxcart 0.1.3

Recuperación de memoria en reposo.

  • Recupera memoria de la VM cuando no hay contenedores en ejecución.
  • Conserva los contenedores, las imágenes, los volúmenes y las redes.

Requiere macOS 26.0 o posterior

Oxcart 0.1.2

Integración de herramientas de línea de comandos.

  • Alterna entre las herramientas Docker incluidas con Oxcart y una instalación existente.
  • Ajustes de la interfaz.

Requiere macOS 26.0 o posterior

Oxcart 0.1.1

Herramientas Docker incluidas y controles para agentes.

  • Docker CLI 29.9, Compose 5.6 y Buildx 0.38 incluidos.
  • Integración con contextos de Docker y credenciales seguras en el Llavero.
  • Conexiones de agentes MCP con permisos y bloqueo por agente.

Requiere macOS 26.0 o posterior

Oxcart 0.1.0

Contenedores compatibles con Docker para Apple silicon.

  • Compatibilidad con Docker CLI, Compose y Buildx.
  • Configuración sin conexión con los componentes de ejecución incluidos.
  • Puertos organizados por proyecto y rama de Git.
  • Integración MCP con acceso de solo lectura de forma predeterminada.
  • Actualizaciones automáticas verificadas.

Requiere macOS 26.0 o posterior