Daytona Interpreter MCP Server

Executes Python code within ephemeral Daytona sandboxes, facilitating tasks such as code execution, file manipulation, and web server previewing.

Local serverstdioPython 14

What is the Daytona Interpreter MCP server?

Executes Python code within ephemeral Daytona sandboxes, facilitating tasks such as code execution, file manipulation, and web server previewing. Exposed over MCP by the daytona interpreter mcp server, that capability becomes something an assistant can invoke while it works, not something you go and do afterwards.

What it actually does

A Model Context Protocol server that provides Python code execution capabilities in ephemeral Daytona sandboxes.

Daytona MCP Interpreter enables AI assistants like Claude to execute Python code and shell commands in secure, isolated environments. It implements the Model Context Protocol (MCP) standard to provide tools for:

Configuration

You will need 5 environment variables: PYTHONUNBUFFERED, MCP_DAYTONA_API_KEY, MCP_DAYTONA_SERVER_URL, MCP_DAYTONA_TIMEOUT, MCP_VERIFY_SSL. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Adding it to your client

The server ships on npm as @modelcontextprotocol/inspector, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

When to reach for it

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. It is maintained by nkkko; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the daytona interpreter mcp server does with a few real requests.

How to install the Daytona Interpreter MCP server

{
    "mcpServers": {
        "daytona-interpreter": {
            "command": "/Users/USER/.local/bin/uv",
            "args": [
                "--directory",
                "/Users/USER/dev/daytona-mcp-interpreter",
                "run",
                "src/daytona_mcp_interpreter/server.py"
            ],
            "env": {
                "PYTHONUNBUFFERED": "1",
                "MCP_DAYTONA_API_KEY": "api_key",
                "MCP_DAYTONA_SERVER_URL": "api_server_url",
                "MCP_DAYTONA_TIMEOUT": "30.0",
                "MCP_VERIFY_SSL": "false",
                "PATH": "/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
            }
        }
    }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
PYTHONUNBUFFEREDConfiguration value read at startup.Optional
MCP_DAYTONA_API_KEYCredential the server authenticates with.Yes
MCP_DAYTONA_SERVER_URLEndpoint or connection string the server talks to.Yes
MCP_DAYTONA_TIMEOUTConfiguration value read at startup.Optional
MCP_VERIFY_SSLConfiguration value read at startup.Optional

Frequently asked questions

Daytona Interpreter is a tool that executes Python code within isolated Daytona sandboxes. It allows for secure code execution, file manipulation, and web server previewing, making it ideal for development and testing.