Oxcart ダウンロード
メニュー

AIコーディングエージェント向けDocker:Claude Code、Codex、Cursor用ローカルMCPサーバー

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.

更新日

コーディングエージェントがDockerに求めること

実際のプロジェクトで作業するエージェントは、同じような質問を繰り返します。何が動いているか、ポート3000のアプリは何か、なぜこのコンテナが終了したか、ログには何があるか、使い捨て環境でテストできるか。シェルだけなら、docker ps、docker inspect、docker logsを実行し、返る行をすべて読んで答えます。機能はしますが、毎ターン生のJSONや何百行ものログをモデルのコンテキストに入れるため、遅く、費用もかかります。

MCPサーバーは、それらの質問を答えそのものを返すツールに変えます。OxcartのツールはDocker APIのエンドポイントではなく質問に合わせて設計されているため、1回の呼び出しで一連のコマンドを置き換えます。

13のツール

エージェントの目的別Oxcart MCPツール
目的ツールLevel needed
確認status, projects, ports, images, logsRead only(読み取り専用)
説明diagnose:終了コード、OOMによる強制終了、ヘルスチェックの失敗、ポートの問題、重要なログ行Read only(読み取り専用)
操作container(起動・停止・再起動)、exec、compose(up・down)、ネットワークなしのsandboxManage(管理)
変更と整理build、remove、cleanup(先にプレビュー)、ネットワーク付きのsandboxFull(すべての操作)

statusは各Composeプロジェクトのフォルダー、gitブランチ、localhost URLを表示するので、「ポート3000のアプリ」をユーザーとエージェントが同じものとして把握できます。リソースを購読するクライアントは、クラッシュ、OOMによる強制終了、正常性の変化を、ポーリングせず発生時に知ることができます。

回答を小さく、セッションを安く

各質問に答えるためエージェントがOxcart経由で読む内容と、代わりに読むことになるdocker CLI出力を比較しました。同じコンテナを同時点で測定しています。

回答あたりのトークン数(文字数 ÷ 4)
質問Oxcart MCP相当するdocker CLIコマンドdocker CLI削減倍率
このコンテナはなぜ停止した?159inspect + logs --tail 3002,01413×
直近500行のログにエラーはある?39logs --tail 50070318×
何が動いている?106ps -a + stats --no-stream + compose ls -a3323.1×

5つのテストコンテナを使用しました(クラッシュ、異常状態、OOM終了、Composeプロジェクト、公開ポート)。ログが長くなってもdiagnoseとlogsのサイズは変わりません。ツール一覧自体のコストはセッションごとに1回で、読み取り専用レベル(6ツール)は510トークン、全13ツールでは1,463トークンです。

セッション全体でも同じ傾向でした。Claude Opus 5.5を使うClaude Codeに2つの日常的な質問をし、docker CLIのみの場合とOxcartのMCPサーバーを使う場合を比較しました。どちらも両方の質問に正しく答えました。

各タスク・各条件でClaude Codeを1セッション実行。参考値であり、研究結果ではありません
タスク時間費用トークン数ターン数
「workerでエラーが出ている?エラーを見せて。」4.2 s 対 31.0 s$0.022 対 $0.15710,686 対 52,2662 対 8
「apiコンテナが何度も落ちる。なぜ?」8.5 s 対 14.9 s$0.036 対 $0.07011,283 対 19,5102 対 4

Oxcartあり・なしで各タスクを1セッションずつ、人工的に用意したテストコンテナとOxcart 0.1.0で実行した参考値です。費用はプロンプトキャッシュに左右され、実行順序も交互にはしていません。

任意のコーディングエージェントにOxcartのMCPサーバーを設定する

  1. Oxcartをインストールします。 Oxcart(Appleシリコン、macOS 26以降)をダウンロードして開きます。セットアップはオフラインで数秒で完了します。
  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. エージェントに貼り付けます。 Claude Code、Codex、Cursorなど、コマンドを実行できるエージェントに貼り付けます。エージェントがコマンドを実行し、自分用の手順を読んで、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

Codexではcodex mcp add oxcart -- /Applications/Oxcart.app/Contents/Helpers/oxcart mcp --client codexで、Codex CLIとIDE拡張機能にサーバーを登録します。

エージェントごとに設定する権限レベル

各レベルでできること
レベルエージェントができること
Read only(読み取り専用)コンテナ、ログ、ポート、プロジェクト、イメージの確認と障害の診断
Manage (default)Also start, stop and restart, run commands, Compose up and down, run sandboxes without network, with images already on your Mac
Full(すべての操作)さらにビルド・削除・クリーンアップと、サンドボックスへのネットワークアクセス付与
Block(ブロック)操作不可。ツールを表示せず、すべての呼び出しを拒否し、理由をエージェントに伝える

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.

設定手順を用意しているエージェント

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.

MCP以外のエージェント用コンテナワークフロー

  • Dev Containers:エージェントをDev Container内で動かし、シェル、ツール、ネットワークをプロジェクトのコンテナ内に保ちます。OxcartはDev Containers CLIを実行できます。MacでDev ContainersとTestcontainersを使うをご覧ください。
  • 高速な反復:エージェントはコンテナの実行と破棄を繰り返します。Oxcartはdocker run --rmが42 ms、20コンテナの停止・削除が77 msで、テストした3つのランタイムの中で最速でした(比較)。
  • Composeスタック:エージェントのcomposeツールはManageレベルでプロジェクトをup・downできます。AppleシリコンでDocker Composeを使うをご覧ください。

よくある質問

MacのDockerコンテナ用MCPサーバーはありますか?

はい。Oxcart内蔵のoxcart mcpはローカルstdio MCPサーバーで、状態、診断、ログ、ポート、イメージ、exec、Compose、ビルド、サンドボックス、クリーンアップ用の13ツールを備えています。ネットワークポートで待ち受けず、トークンも不要です。

Claude CodeをDockerコンテナに接続するには?

Oxcartの設定用の文をClaude Codeに貼り付けるか、claude mcp add -s user oxcart -- /Applications/Oxcart.app/Contents/Helpers/oxcart mcp --client claude-codeを実行します。Claude Codeにoxcartサーバーが表示され、ツールを呼び出せるようになります。

Codex、Cursor、Copilotを使うVS Codeにも対応しますか?

Oxcartは、Codex、Cursor、Copilotを使うVS Code、Claude Desktop、Zed、Gemini CLI、GitHub Copilot CLI、Cline、Goose、Kiro、Amp、Warp、LM Studioを含む18のクライアント向け設定手順と、その他のMCPクライアント向け共通手順を用意しています。最初から最後まで実行確認したクライアントはClaude Codeです。

エージェントはコンテナやボリュームを削除できますか?

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.

エージェントにdockerコマンドを直接実行させるだけではだめですか?

できますが、大量の生の出力を読み込むことになります。「このコンテナはなぜ停止した?」への回答に、Oxcartのdiagnoseは159トークン、docker inspectとdocker logs --tail 300は2,014トークンを要し、削減倍率は13×でした。各タスク1回のClaude Codeセッションによる参考値では、ログ内のエラー発見が31.0 sから4.2 sになりました。

MCPサーバーはデータを外部に送信しますか?

いいえ。ローカルエンジンのソケットとのみ通信し、自身でネットワーク接続を行いません。すべての呼び出しをMacのアクティビティログに記録します。ただし、ツールが起動やビルドにイメージを必要とする場合は、docker runと同じようにレジストリからpullします。

使い捨てコンテナでエージェントにコードを実行させられますか?

はい。sandboxツールは、メモリ2 GiB、プロセス数1,024に制限した使い捨てコンテナを作ります。エージェントがFullレベルでネットワークを要求した場合を除き、ネットワークはありません。

出典と測定方法

  • 回答サイズ:2026-10-10に5つのテストコンテナで測定。トークン数は文字数 ÷ 4で推定。
  • セッション:Claude Code 2.1.296、claude-opus-5-5、Oxcart 0.1.0。各タスク・各条件で1回実行。
  • 速度の数値:Oxcart 0.1.2、2026-10-10、Apple M5 Max、8 CPU・12 GiB。比較対象のランタイムは同日のそれ以前に、同じMacと測定ハーネスでdocker 29.4クライアントを使って測定しました。

自分のプロジェクトで Oxcart を試す

60 日間無料。その後は 1 つのライセンスで、すべてのアップデートを永続的に利用できます。サブスクリプションではありません。

Apple silicon 搭載 Mac · Windows 11 (x64)

次に読む

リリースノート

Oxcart 26.11.6

最新リリース

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.

macOS 26.0以降が必要です

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.

macOS 26.0以降が必要です

Oxcart 26.11.4

Bug fixes and optimizations.

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

macOS 26.0以降が必要です

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.

macOS 26.0以降が必要です

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.

macOS 26.0以降が必要です

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.

macOS 26.0以降が必要です

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.

macOS 26.0以降が必要です

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.

macOS 26.0以降が必要です

Oxcart 0.1.8

OxcartがWindowsに対応。すべてのアップデートを永続的に受けられます。

  • OxcartがWindowsでも動作するようになりました。1つのライセンスで、MacとWindowsを自由に組み合わせて最大5台のデバイスで利用できます。
  • すべての更新を、ずっと利用できます。
  • 2026年12月31日まで、Oxcartの価格は$5です。
  • コーディングエージェントがコンテナを調べ、リアルタイムの統計とリソースの逼迫状況を確認し、ログを追跡し、時間のかかるプルやビルドの進行状況を把握し、設定された制限内でコンテナを実行できるようになりました。
  • コンテナを再作成しても、ボリュームとネットワークエイリアスは保持されます。
  • Oxcartのヘルパーが「ログイン項目」にOxcartとして表示されます。
  • 全体的に信頼性を改善しました。

macOS 26.0以降が必要です

Oxcart 0.1.7

共有フォルダとネットワークを高速化。コンテナの環境も編集できます。

  • 共有フォルダを大幅に高速化しました。共有フォルダでのリポジトリのクローン、パッケージのインストール、ビルドが最大3×の速度で行えます。
  • ネットワークを高速化しました。公開ポートとコンテナ接続で、CPU使用量を抑えながら従来の2倍近くのデータを転送できます。
  • 暗号化は必要に応じて。Macとコンテナ間の通信は、任意で暗号化できます。Settings › Resources › Encrypt container connectionsで有効にしてください。
  • 環境変数の確認と変更が簡単になりました。コンテナのOverviewで変数を確認し、Edit and Recreateで変更できます。.envファイル全体を一度に貼り付けることもできます。
  • Run Containerシートの操作を改善しました。Returnキーでコンテナを起動せず、次の行へ移動できるようになりました。
  • トラブルシューティングをわかりやすくしました。VPNやファイアウォールが接続を遅くしている場合、Oxcartが知らせます。
  • 共有フォルダの信頼性を改善しました。権限エラーを正しく報告し、Macでの変更後も最新の内容を反映します。

macOS 26.0以降が必要です

Oxcart 0.1.6

コーディングエージェントが見つけた問題を修正できます。各所の不具合修正とセキュリティ強化も行いました。

  • 新しく追加したエージェントは、Mac上にあるイメージを使って、コンテナの起動・停止・再起動、コンテナ内でのコマンド実行、Composeプロジェクトの起動ができます。プル、ビルド、削除にはFull権限が必要です。MCP Integrationsでエージェントごとに設定できます。
  • セットアップ時に、各エージェントですぐに使える設定項目が作成されます。oxcart mcp checkで動作を確認できます。
  • より的確な回答が得られます。エージェントは、依存先の停止がサービス停止の原因かどうか、Webページが実際に読み込めるかどうか、障害の原因と修正方法を確認できます。
  • Start at loginを有効にすると、ログイン時にOxcartがメニューバーで起動し、すぐに使えます。
  • Oxcartは起動時にアップデートを確認し、oxcart.ccへ短いチェックインリクエストを送信します。Settings › Privacyで、その内容をすべて確認できます。
  • コンテナは起動直後から、同じネットワーク内のほかのサービスを見つけられます。
  • 特権コンテナ、Rosettaのチェック、セットアップ時の安全対策に関する不具合を修正しました。
  • Oxcartアプリは、データの削除や実行中の作業を停止する操作の前に確認を求めます。
  • 全体的にセキュリティを強化し、信頼性を改善しました。

macOS 26.0以降が必要です

Oxcart 0.1.5

OxcartでローカルのKubernetesと特権コンテナを実行できます。10言語に対応しています。

  • Settings › Resources › Kubernetes and networkingで特権コンテナを有効にすると、kind、k3d、minikube(Dockerドライバー)、Docker-in-Dockerを実行し、docker run --privilegedと--deviceを使用できます。デフォルトでは無効です。Oxcartの保護機能は、すべてのコンテナからOxcartのディスク、カーネル、ほかのコンテナのデータ、Macへの通信経路へのアクセスを防ぎます。
  • IPv6コンテナネットワークに対応しました。こちらもデフォルトでは無効で、kindのデュアルスタックネットワークなど、IPv6を有効にして作成したネットワークで使用できます。
  • Oxcartを簡体字中国語、日本語、ドイツ語、フランス語、スペイン語、ブラジルポルトガル語、韓国語、ロシア語、トルコ語に翻訳しました。Settings › General › Languageの設定はOxcartにのみ適用されます。

macOS 26.0以降が必要です

Oxcart 0.1.4

ライセンス機能と各種改善。

  • メールの安全なリンクによるライセンスの有効化。
  • SettingsからライセンスとMacを管理。
  • ライセンスのオフライン検証。
  • パフォーマンス改善、UIの調整、不具合修正。

macOS 26.0以降が必要です

Oxcart 0.1.3

アイドル時のメモリ回収。

  • コンテナが実行されていないときに、VMのメモリを回収。
  • コンテナ、イメージ、ボリューム、ネットワークを保持。

macOS 26.0以降が必要です

Oxcart 0.1.2

コマンドラインツールの統合。

  • Oxcart付属のDockerツールと、すでにインストールされているDockerツールを切り替え。
  • UIの調整。

macOS 26.0以降が必要です

Oxcart 0.1.1

同梱のDockerツールとエージェントの制御。

  • Docker CLI 29.9、Compose 5.6、Buildx 0.38を同梱。
  • Dockerコンテキストとの連携と、キーチェーンでの認証情報の安全な保管。
  • MCPエージェントの接続と、エージェントごとの権限設定・ブロック。

macOS 26.0以降が必要です

Oxcart 0.1.0

Appleシリコン向けのDocker互換コンテナ。

  • Docker CLI、Compose、Buildxとの互換性。
  • 実行環境のコンポーネントを同梱し、オフラインでセットアップ可能。
  • プロジェクトとGitブランチごとにポートを整理。
  • デフォルトで読み取り専用のMCP連携。
  • 検証済みの自動アップデート。

macOS 26.0以降が必要です