Daytona MCP Python InterpreterServer

nkkko
GitHub
Python ExecutionSecurityAI Tools

Loading subscription status...

💡 Description

A Model Context Protocol server that provides secure execution capabilities for Python code within ephemeral Daytona workspaces, enabling AI assistants to run scripts and manage files safely.

📝 JSON Entries

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

🛠️ Tools

python_interpreter

Features

  • Execution of Python code in isolated environments
  • Shell command execution
  • File management (upload/download)
  • Git repository cloning
  • Web preview generation for running servers

💬 Example Queries

  • List files in the workspace
  • Install a package using pip
  • Download a file from the workspace
  • Upload a file to the workspace
  • Clone a Git repository