Oxcart Baixar
Menu

Docker para agentes de programação com IA: um servidor MCP local para Claude Code, Codex e 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.

Atualizado

O que um agente de programação precisa do Docker

Um agente trabalhando em um projeto real faz sempre as mesmas perguntas: o que está rodando, qual app usa a porta 3000, por que este contêiner morreu, o que dizem os logs, posso executar os testes em um ambiente descartável. Com apenas um shell, ele responde executando docker ps, docker inspect e docker logs e lendo cada linha retornada. Isso funciona, mas é lento e caro: JSON bruto e centenas de linhas de log entram no contexto do modelo a cada turno.

Um servidor MCP transforma essas perguntas em ferramentas que retornam a própria resposta. As ferramentas do Oxcart seguem as perguntas, não os endpoints da API Docker, então uma chamada substitui uma sequência de comandos.

As 13 ferramentas

Ferramentas MCP do Oxcart por objetivo do agente
ObjetivoFerramentasLevel needed
Verstatus, projects, ports, images, logsRead only
Explicardiagnose: códigos de saída, encerramentos por OOM, falhas de healthcheck, problemas de porta e as linhas de log relevantesRead only
Agircontainer (iniciar, parar, reiniciar), exec, compose (up, down), sandbox sem redeManage
Alterar e organizarbuild, remove, cleanup (com prévia), sandbox com redeFull

status mostra cada projeto Compose com sua pasta, branch Git e URLs de localhost, então “o app na porta 3000” significa a mesma coisa para você e seu agente. Clientes que assinam recursos recebem avisos de falhas, encerramentos por OOM ou mudanças de saúde quando acontecem, sem polling.

Respostas menores, sessões mais baratas

O que um agente lê para responder cada pergunta pelo Oxcart, comparado à saída da CLI docker que leria de outra forma, medido no mesmo momento e nos mesmos contêineres:

Tokens por resposta (caracteres ÷ 4)
PerguntaMCP do OxcartEquivalente na CLI dockerCLI dockerRedução
Por que este contêiner parou?159inspect + logs --tail 3002,01413×
Há erros nas últimas 500 linhas de log?39logs --tail 50070318×
O que está rodando?106ps -a + stats --no-stream + compose ls -a3323,1×

Cinco contêineres de teste (um que falha, um não saudável, um encerrado por OOM, um projeto Compose e uma porta publicada). diagnose e logs mantêm o mesmo tamanho independentemente do crescimento dos logs. A própria lista de ferramentas custa 510 tokens uma vez por sessão no nível somente leitura (6 ferramentas) e 1.463 com todas as 13.

Sessões completas mostram o mesmo padrão. O Claude Code com Claude Opus 5.5 respondeu duas perguntas cotidianas, uma vez só com a CLI docker e outra com o servidor MCP do Oxcart. Ambas as configurações acertaram as duas respostas.

Uma sessão do Claude Code por tarefa e configuração: indicativo, não um estudo
TarefaTempoCustoTokensTurnos
“O worker está gerando erros? Mostre o erro.”4.2 s contra 31.0 s$0.022 contra $0.15710,686 contra 52,2662 contra 8
“Meu contêiner api fica morrendo. Por quê?”8.5 s contra 14.9 s$0.036 contra $0.07011,283 contra 19,5102 contra 4

Uma sessão por tarefa com e sem Oxcart, em contêineres sintéticos de teste, Oxcart 0.1.0: apenas indicativo. O custo depende do cache de prompts, e a ordem de execução não foi alternada.

Configure o servidor MCP do Oxcart em qualquer agente de programação

  1. Instale o Oxcart. Baixe o Oxcart (Apple silicon, macOS 26 ou posterior) e abra-o. A configuração funciona offline e leva 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. Cole no seu agente. Cole no Claude Code, Codex, Cursor ou em qualquer agente que execute comandos. O agente executa o comando, lê suas próprias instruções e registra um servidor chamado 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

No Codex, codex mcp add oxcart -- /Applications/Oxcart.app/Contents/Helpers/oxcart mcp --client codex registra o servidor na CLI e na extensão de IDE do Codex.

Níveis de permissão definidos por agente

O que cada nível permite
NívelO agente pode
Read onlyVer contêineres, logs, portas, projetos e imagens; diagnosticar falhas
Manage (default)Also start, stop and restart, run commands, Compose up and down, run sandboxes without network, with images already on your Mac
FullTambém compilar, remover, limpar e dar acesso à rede para sandboxes
BlockNada: nenhuma ferramenta listada, todas as chamadas recusadas e o agente recebe o motivo

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 com instruções de configuração

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.

Contêineres para fluxos de agentes além do MCP

  • Dev Containers: execute o agente dentro de um Dev Container para que seu shell, ferramentas e rede permaneçam no contêiner do projeto. O Oxcart executa a CLI Dev Containers; consulte Dev Containers e Testcontainers no Mac.
  • Ciclo de desenvolvimento rápido: agentes criam e destroem contêineres constantemente. O Oxcart registrou 42 ms para docker run --rm e 77 ms para parar e remover 20 contêineres, o mais rápido dos três ambientes testados (comparações).
  • Stacks Compose: a ferramenta compose do agente sobe e derruba projetos no nível Manage; consulte Docker Compose no Apple silicon.

Perguntas

Existe um servidor MCP para contêineres Docker no Mac?

Sim. O Oxcart inclui oxcart mcp, um servidor MCP local por stdio com 13 ferramentas para status, diagnóstico, logs, portas, imagens, execução de comandos, Compose, builds, sandboxes e limpeza. Não escuta em nenhuma porta de rede e não precisa de token.

Como conecto o Claude Code aos meus contêineres Docker?

Cole a frase de configuração do Oxcart no Claude Code ou execute claude mcp add -s user oxcart -- /Applications/Oxcart.app/Contents/Helpers/oxcart mcp --client claude-code. O Claude Code passa a listar o servidor oxcart e pode chamar suas ferramentas.

Funciona com Codex, Cursor e VS Code com Copilot?

O Oxcart oferece instruções de configuração para 18 clientes, incluindo Codex, Cursor, VS Code com Copilot, Claude Desktop, Zed, Gemini CLI, GitHub Copilot CLI, Cline, Goose, Kiro, Amp, Warp e LM Studio, além de uma instrução genérica para qualquer outro cliente MCP. O Claude Code foi o cliente executado de ponta a ponta.

O agente pode excluir meus contêineres ou 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.

Por que não deixar o agente executar comandos docker?

Funciona, mas o agente lê muita saída bruta. Responder “por que este contêiner parou?” levou 159 tokens com a ferramenta diagnose do Oxcart, contra 2.014 com docker inspect e docker logs --tail 300: 13× menor. Em uma sessão do Claude Code por tarefa (indicativa), encontrar um erro nos logs levou 4.2 s em vez de 31.0 s.

O servidor MCP envia meus dados para algum lugar?

Não. Ele só se comunica com o socket do mecanismo local e não faz conexões de rede próprias. Todas as chamadas são gravadas em um registro de atividades no Mac. Imagens ainda são baixadas de registros quando uma ferramenta inicia ou compila algo que precisa delas, como faria docker run.

Meu agente pode executar código em um contêiner descartável?

Sim, com a ferramenta sandbox: um contêiner descartável sem rede, a menos que o agente esteja no nível Full e a solicite, limitado a 2 GiB de memória e 1.024 processos.

Fontes e método

  • Tamanhos das respostas: medidos em 2026-10-10 com cinco contêineres de teste; tokens estimados como caracteres ÷ 4.
  • Sessões: Claude Code 2.1.296 com claude-opus-5-5, Oxcart 0.1.0, uma execução por tarefa e configuração.
  • Dados de velocidade: Oxcart 0.1.2, 2026-10-10, Apple M5 Max, 8 CPUs e 12 GiB; os ambientes comparados foram medidos mais cedo no mesmo dia, no mesmo Mac e com a mesma estrutura de testes, usando o cliente docker 29.4.

Experimente Oxcart nos seus projetos

Grátis por 60 dias. Depois, uma licença, todas as atualizações para sempre: sem assinatura.

Mac com Apple silicon · Windows 11 (x64)

Leia a seguir

Notas da versão

Oxcart 26.11.6

Versão mais recente

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.

Requer macOS 26.0 ou 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.

Requer macOS 26.0 ou posterior

Oxcart 26.11.4

Bug fixes and optimizations.

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

Requer macOS 26.0 ou 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.

Requer macOS 26.0 ou 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.

Requer macOS 26.0 ou 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.

Requer macOS 26.0 ou 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.

Requer macOS 26.0 ou 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.

Requer macOS 26.0 ou posterior

Oxcart 0.1.8

Oxcart para Windows, com todas as atualizações incluídas por toda a vida.

  • Oxcart também funciona no Windows. Uma licença cobre até 5 dispositivos, Mac ou Windows, em qualquer combinação.
  • Todas as atualizações estão incluídas, para sempre.
  • Oxcart custa $5 até 31 de dezembro de 2026.
  • Agentes de programação podem inspecionar contêineres, consultar estatísticas em tempo real e a pressão sobre os recursos, acompanhar logs, monitorar downloads de imagens e compilações demorados e executar contêineres com os limites que você definir.
  • Recriar um contêiner preserva seus volumes e aliases de rede.
  • O auxiliar do Oxcart aparece como Oxcart em Login Items.
  • Melhorias de confiabilidade em todo o aplicativo.

Requer macOS 26.0 ou posterior

Oxcart 0.1.7

Pastas compartilhadas mais rápidas, rede mais rápida e ambientes de contêineres que você pode editar.

  • Pastas compartilhadas muito mais rápidas. Clonar repositórios, instalar pacotes e compilar em uma pasta compartilhada fica até 3× mais rápido.
  • Rede mais rápida. Portas publicadas e conexões de contêineres transferem quase o dobro de dados, usando menos CPU.
  • Criptografia quando você quiser. Criptografar o tráfego entre seu Mac e seus contêineres é opcional: ative em Settings › Resources › Encrypt container connections.
  • Variáveis de ambiente fáceis de ver e alterar. Veja as variáveis de um contêiner em Overview, altere-as com Edit and Recreate e cole um arquivo .env inteiro de uma só vez.
  • Um painel Run Container mais prático. A tecla Return passa para a próxima linha em vez de iniciar o contêiner.
  • Diagnóstico de problemas mais claro. Oxcart avisa quando uma VPN ou um firewall está deixando suas conexões mais lentas.
  • Pastas compartilhadas mais confiáveis, com erros de permissão corretos e conteúdo atualizado após alterações no seu Mac.

Requer macOS 26.0 ou posterior

Oxcart 0.1.6

Agentes de programação podem corrigir os problemas que encontram. Também há correções e reforços de segurança em todo o aplicativo.

  • Novos agentes podem iniciar, parar e reiniciar contêineres, executar comandos neles e iniciar projetos Compose usando imagens que já estão no seu Mac. Baixar imagens, compilar e excluir exigem a permissão Full, definida para cada agente na seção MCP Integrations.
  • A configuração cria uma entrada pronta para uso para cada agente, e oxcart mcp check confirma que ela funciona.
  • Respostas mais precisas: os agentes identificam quando um serviço está fora do ar porque uma dependência também está, verificam se uma página web realmente carrega e descobrem o que causou uma falha e como corrigi-la.
  • Start at login abre o Oxcart na barra de menus, pronto quando você precisar.
  • Oxcart verifica se há atualizações ao iniciar e envia uma breve comunicação de status para oxcart.cc. Settings › Privacy mostra exatamente o que ela contém.
  • Os contêineres encontram os outros serviços nas suas redes desde o momento em que são iniciados.
  • Correções nos contêineres privilegiados, nas verificações do Rosetta e nas proteções da configuração.
  • O aplicativo Oxcart pede confirmação antes de qualquer ação que exclua dados ou interrompa tarefas em execução.
  • Reforços de segurança e melhorias de confiabilidade em todo o aplicativo.

Requer macOS 26.0 ou posterior

Oxcart 0.1.5

Oxcart executa Kubernetes local e contêineres privilegiados e está disponível em dez idiomas.

  • Settings › Resources › Kubernetes and networking: ative os contêineres privilegiados para executar kind, k3d, minikube (driver Docker) e Docker-in-Docker e usar docker run --privileged e --device. A opção vem desativada por padrão. A proteção do Oxcart impede que qualquer contêiner acesse os discos e o kernel do Oxcart, os dados de outros contêineres e os canais de comunicação do Oxcart com seu Mac.
  • Redes IPv6 para contêineres, também desativadas por padrão, para redes criadas com IPv6, como a rede de pilha dupla do kind.
  • Oxcart está traduzido para chinês simplificado, japonês, alemão, francês, espanhol, português brasileiro, coreano, russo e turco. Settings › General › Language define o idioma apenas para o Oxcart.

Requer macOS 26.0 ou posterior

Oxcart 0.1.4

Licenciamento e melhorias.

  • Ativação da licença por link seguro enviado por e-mail.
  • Gerenciamento de licenças e Macs a partir de Settings.
  • Verificação de licenças offline.
  • Melhorias de desempenho, ajustes na interface e correções de bugs.

Requer macOS 26.0 ou posterior

Oxcart 0.1.3

Liberação de memória durante a inatividade.

  • Libera a memória da VM quando nenhum contêiner está em execução.
  • Preserva contêineres, imagens, volumes e redes.

Requer macOS 26.0 ou posterior

Oxcart 0.1.2

Integração de ferramentas de linha de comando.

  • Alterne entre as ferramentas Docker incluídas no Oxcart e uma instalação existente.
  • Ajustes na interface.

Requer macOS 26.0 ou posterior

Oxcart 0.1.1

Ferramentas Docker incluídas e controles para agentes.

  • Docker CLI 29.9, Compose 5.6 e Buildx 0.38 incluídos.
  • Integração com contextos Docker e credenciais protegidas no Acesso às Chaves.
  • Conexões de agentes via MCP com permissões e bloqueio por agente.

Requer macOS 26.0 ou posterior

Oxcart 0.1.0

Contêineres compatíveis com Docker para Apple silicon.

  • Compatibilidade com Docker CLI, Compose e Buildx.
  • Configuração offline com os componentes de execução incluídos.
  • Portas organizadas por projeto e branch do Git.
  • Integração MCP com acesso somente leitura por padrão.
  • Atualizações automáticas verificadas.

Requer macOS 26.0 ou posterior