by daytonaio
Provides a secure, elastic sandbox environment for executing AI‑generated code with isolated runtimes and sub‑90 ms provisioning.
Daytona delivers a fast, isolated sandbox infrastructure that lets AI agents run arbitrary code without exposing the host system. It creates sandboxes from any OCI/Docker image, supports unlimited persistence, and is designed for massive parallel AI workflows.
pip install daytona
npm install @daytonaio/sdk
language="python"
).process.codeRun
(Python) or sandbox.process.codeRun
(TS) method to execute code inside the sandbox.daytona.remove(sandbox)
.Q: Do I need to run a server locally? A: No. Daytona is offered as a hosted service; you interact via the SDK and API key.
Q: Which languages are supported? A: Any language available in a Docker/OCI image. The SDK examples show Python, but you can specify any container.
Q: How is data persisted? A: Sandboxes can be kept alive indefinitely, storing files and state across runs.
Q: Is there a limit on concurrent sandboxes? A: Limits depend on your plan; the platform is built for massive parallelism.
Q: How is security enforced? A: Each sandbox runs in an isolated container with restricted network and filesystem access, preventing code from affecting the host or other sandboxes.
pip install daytona
npm install @daytonaio/sdk
from daytona import Daytona, DaytonaConfig, CreateSandboxParams
# Initialize the Daytona client
daytona = Daytona(DaytonaConfig(api_key="YOUR_API_KEY"))
# Create the Sandbox instance
sandbox = daytona.create(CreateSandboxParams(language="python"))
# Run code securely inside the Sandbox
response = sandbox.process.code_run('print("Sum of 3 and 4 is " + str(3 + 4))')
if response.exit_code != 0:
print(f"Error running code: {response.exit_code} {response.result}")
else:
print(response.result)
# Clean up the Sandbox
daytona.remove(sandbox)
import { Daytona } from '@daytonaio/sdk'
async function main() {
// Initialize the Daytona client
const daytona = new Daytona({
apiKey: 'YOUR_API_KEY',
})
let sandbox
try {
// Create the Sandbox instance
sandbox = await daytona.create({
language: 'python',
})
// Run code securely inside the Sandbox
const response = await sandbox.process.codeRun('print("Sum of 3 and 4 is " + str(3 + 4))')
if (response.exitCode !== 0) {
console.error('Error running code:', response.exitCode, response.result)
} else {
console.log(response.result)
}
} catch (error) {
console.error('Sandbox flow error:', error)
} finally {
if (sandbox) await daytona.remove(sandbox)
}
}
main().catch(console.error)
Daytona is Open Source under the GNU AFFERO GENERAL PUBLIC LICENSE, and is the copyright of its contributors. If you would like to contribute to the software, read the Developer Certificate of Origin Version 1.1 (https://developercertificate.org/). Afterwards, navigate to the contributing guide to get started.
Please log in to share your review and rating for this MCP.
Discover more MCP servers with similar functionality and use cases
by awslabs
Specialized servers that expose AWS capabilities through the Model Context Protocol, allowing AI assistants and other applications to retrieve up‑to‑date AWS documentation, manage infrastructure, query services, and perform workflow automation directly from their context.
by awslabs
AWS MCP Servers allow AI agents to interact with and manage a wide range of AWS services using natural language commands. They enable AI-powered cloud management, automated DevOps, and data-driven insights within the AWS ecosystem.
by cloudflare
Remote Model Context Protocol endpoints that let AI clients read, process, and act on data across Cloudflare services such as Workers, Radar, Observability, and more.
by supabase-community
Enables AI assistants to interact directly with Supabase projects, allowing them to query databases, fetch configuration, manage tables, and perform other project‑level operations.
by Azure
azure-mcp is a server that implements the Model Context Protocol (MCP) to connect AI agents with Azure services. It allows developers to interact with Azure resources like Storage, Cosmos DB, and the Azure CLI using natural language commands within their development environment.
by Flux159
MCP Server for Kubernetes management commands, enabling interaction with Kubernetes clusters to manage pods, deployments, and services.
by strowk
Provides a Golang‑based server that enables interaction with Kubernetes clusters via prompts, allowing listing of contexts, namespaces, resources, nodes, pods, events, logs, and executing commands inside pods.
by jamsocket
Run arbitrary Python code securely in persistent, stateful sandboxes that remain available indefinitely.
by TencentEdgeOne
EdgeOne Pages MCP is a MCP service designed to deploy HTML content, folders, and zip files to EdgeOne Pages. It leverages EdgeOne Pages Edge Functions and KV Store to provide publicly accessible URLs for the deployed content, enabling fast edge delivery.