Skip to content

Menu

Daytona MCP Server logo

Daytona MCP Server

Published

At a glance

Hosted by the vendor
https://www.daytona.io/docs/en/mcp/
Watch out for
The public source repository is archived and core development moved to a private codebase in June 2026, so you cannot audit or patch the current server code.

Daytona's MCP server is built into the Daytona CLI rather than shipped as a separate package. It lets an AI agent create and drive Daytona sandboxes, the isolated environments Daytona sells for running AI-generated code. You install the CLI, log in, and the CLI either writes the MCP config into your agent for you or prints a JSON block you paste in yourself. The server runs locally over stdio, started with `mcp start`, and talks to your Daytona account using the CLI's login.

The source situation changed in 2026. The public daytonaio/daytona repository, which held the CLI and the MCP code under apps/cli/mcp, now opens with a notice that it is no longer maintained and that core development moved to a private codebase in June 2026. The MCP server itself is still documented and still shipping: the current docs tell you to install the `daytona-v0` CLI from Daytona's Homebrew tap, and that tap was getting new v0 releases as recently as November 2026. So treat this as a vendor-supported binary with no live public source.

The current docs group the tools into sandbox management, file system operations, Git operations, process and code execution, computer use, and preview. Specific tool names below come from the last public README of the server, so check what your installed version actually advertises.

How it connects

Your AI app

An assistant or agent that supports MCP

Daytona MCP Server

Runs as

  • Local process

Gives the agent

  • Sandbox lifecycle
  • File operations
  • Command execution
  • Git
  • Preview links
  • Computer use

Daytona

The data or system the tools act on

Your AI app talks to Daytona MCP Server over the Model Context Protocol, and the server carries out the work. Built from the setup and capability sections on this page.

What it can do

Sandbox lifecycle
`create_sandbox` makes a new sandbox or reuses one by `id`, with optional target region, image, and auto-stop, auto-archive and auto-delete intervals. `destroy_sandbox` removes it.
File operations
`upload_file`, `download_file`, `create_folder`, `get_file_info`, `list_files`, `move_file` and `delete_file` work on paths inside the sandbox. Uploads accept text or base64 content and can create parent directories.
Command execution
The README lists command execution in sandboxes as a core feature, and the current docs list process and code execution as a tool group, so the agent can run builds, tests or scripts remotely.
Git
The docs list Git operations as a tool group, which lets the agent clone a repository into a sandbox before working on it.
Preview links
The server can generate preview links for web applications running inside a sandbox, so you can open what the agent started in a browser.
Computer use
The current docs list computer use as one of the tool groups available through the server.

Setting it up

Install the CLI with `brew install daytonaio/cli/daytona-v0` on macOS or Linux, or on Windows run `powershell -Command "irm https://get.daytona.io/windows-v0 | iex"`. Authenticate with `daytona-v0 login`. Then run `daytona-v0 mcp init claude`, `daytona-v0 mcp init cursor` or `daytona-v0 mcp init windsurf` and open the agent app. For any other client, `daytona-v0 mcp config` prints a config with a server named `daytona-mcp` whose command is `daytona-v0` with args `["mcp", "start"]`, plus `HOME` and `PATH` in `env` and a `logFile` under `~/Library/Logs/daytona/`. On Windows, add `"APPDATA": "${APPDATA}"` to `env`. You can also start the server by hand with `daytona-v0 mcp start`.

Where each client keeps its MCP config file, and the JSON it expects (cheat sheet)

Where it helps

  • Spin up a throwaway sandbox, upload a script the agent wrote, run it, and download the output files.
  • Clone a repository into a sandbox and run its test suite without touching your own machine.
  • Start a web app inside a sandbox and hand back a preview link so you can check it in a browser.

Limitations and things to watch

  • The public source repository is archived and core development moved to a private codebase in June 2026, so you cannot audit or patch the current server code.
  • Setup goes through the `daytona-v0` CLI line, so the MCP server is tied to that CLI and its login rather than a standalone package.
  • It needs a Daytona account, and sandboxes the agent creates run on your account until they stop, archive or are destroyed.
  • Tools like `delete_file`, `destroy_sandbox` and command execution change or remove things in your sandboxes, so review destructive calls before approving them.
  • The generated config uses macOS paths such as `/opt/homebrew/bin` and a `~/Library/Logs` log file, so Linux and Windows users may need to adjust it.

Sources

Written from the project's own documentation, checked November 2026.

How we research: where our facts come from, how often we re-check them, and why no one can pay for a review or a verdict.

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…