Daytona MCP server
212 operations7 webhooks
Daytona runs AI-generated code in sandboxes: sandboxes (create, start, stop, archive, fork, resize, SSH access, preview URLs, logs), the toolbox inside each one (files, processes and sessions, git, LSP, code interpreter, computer use), snapshots, volumes, Docker registries, secrets, organization usage, members and regions, audit logs, telemetry and usage analytics, and signed webhooks (212 operations).
Try Daytona with your agent
Connect Daytona, then paste this into Claude, ChatGPT or Cursor. For ideas from other apps, see the use cases.
Using Corsair, show me what you can do in Daytona on my account, then run one read-only example and show me the result.
Daytona tools and triggers
Tools are what your agent can do in Daytona through Corsair's MCP server. Triggers are the Daytona events a routine can start from.
Toolbox
- Computer Use.ClickWrite
Click mouse button
toolbox.computerUse.click
- Computer Use.Delete RecordingDestructive
Delete a recording
toolbox.computerUse.deleteRecording
- Computer Use.Download RecordingRead-only
Download a recording (returned as a file)
toolbox.computerUse.downloadRecording
- Computer Use.DragWrite
Drag mouse
toolbox.computerUse.drag
- Computer Use.Find Accessibility NodesRead-only
Find accessibility nodes
toolbox.computerUse.findAccessibilityNodes
- Computer Use.Focus Accessibility NodeWrite
Focus an accessibility node
toolbox.computerUse.focusAccessibilityNode
- Computer Use.Get Accessibility TreeRead-only
Get accessibility tree
toolbox.computerUse.getAccessibilityTree
- Computer Use.Get Computer Use StatusRead-only
Get computer use process status
toolbox.computerUse.getComputerUseStatus
- Computer Use.Get Computer Use System StatusRead-only
Get computer use status
toolbox.computerUse.getComputerUseSystemStatus
- Computer Use.Get Display InfoRead-only
Get display information
toolbox.computerUse.getDisplayInfo
- Computer Use.Get Mouse PositionRead-only
Get mouse position
toolbox.computerUse.getMousePosition
- Computer Use.Get Process ErrorsRead-only
Get process errors
toolbox.computerUse.getProcessErrors
- Computer Use.Get Process LogsRead-only
Get process logs
toolbox.computerUse.getProcessLogs
- Computer Use.Get Process StatusRead-only
Get specific process status
toolbox.computerUse.getProcessStatus
- Computer Use.Get RecordingRead-only
Get recording details
toolbox.computerUse.getRecording
- Computer Use.Get WindowsRead-only
Get windows information
toolbox.computerUse.getWindows
- Computer Use.Invoke Accessibility NodeWrite
Invoke an action on an accessibility node
toolbox.computerUse.invokeAccessibilityNode
- Computer Use.Key DownWrite
Press and hold a keyboard key
toolbox.computerUse.keyDown
- Computer Use.Key UpWrite
Release a held keyboard key
toolbox.computerUse.keyUp
- Computer Use.List RecordingsRead-only
List all recordings
toolbox.computerUse.listRecordings
- Computer Use.Mouse DownWrite
Press mouse button
toolbox.computerUse.mouseDown
- Computer Use.Mouse UpWrite
Release mouse button
toolbox.computerUse.mouseUp
- Computer Use.Move MouseWrite
Move mouse cursor
toolbox.computerUse.moveMouse
- Computer Use.Press HotkeyWrite
Press hotkey
toolbox.computerUse.pressHotkey
- Computer Use.Press KeyWrite
Press key
toolbox.computerUse.pressKey
- Computer Use.Restart ProcessWrite
Restart specific process
toolbox.computerUse.restartProcess
- Computer Use.ScrollWrite
Scroll mouse wheel
toolbox.computerUse.scroll
- Computer Use.Set Accessibility Node ValueWrite
Set the value of an accessibility node
toolbox.computerUse.setAccessibilityNodeValue
- Computer Use.Start Computer UseDestructive
Start computer use processes
toolbox.computerUse.startComputerUse
- Computer Use.Start RecordingWrite
Start a new recording
toolbox.computerUse.startRecording
- Computer Use.Stop Computer UseDestructive
Stop computer use processes
toolbox.computerUse.stopComputerUse
- Computer Use.Stop RecordingWrite
Stop a recording
toolbox.computerUse.stopRecording
- Computer Use.Take Compressed Region ScreenshotRead-only
Take a compressed region screenshot
toolbox.computerUse.takeCompressedRegionScreenshot
- Computer Use.Take Compressed ScreenshotRead-only
Take a compressed screenshot
toolbox.computerUse.takeCompressedScreenshot
- Computer Use.Take Region ScreenshotRead-only
Take a region screenshot
toolbox.computerUse.takeRegionScreenshot
- Computer Use.Take ScreenshotRead-only
Take a screenshot
toolbox.computerUse.takeScreenshot
- Computer Use.Type TextWrite
Type text
toolbox.computerUse.typeText
- Files.Create FolderWrite
Create a folder
toolbox.files.createFolder
- Files.DeleteDestructive
Delete a file or directory
toolbox.files.delete
- Files.DownloadRead-only
Download a file from a sandbox (returned as a file)
toolbox.files.download
- Files.Find InRead-only
Find text in files
toolbox.files.findIn
- Files.Get InfoRead-only
Get file information
toolbox.files.getInfo
- Files.ListRead-only
List files and directories
toolbox.files.list
- Files.MoveWrite
Move or rename file/directory
toolbox.files.move
- Files.Replace InWrite
Replace text in files
toolbox.files.replaceIn
- Files.SearchRead-only
Search files by pattern
toolbox.files.search
- Files.Set PermissionsWrite
Set file permissions
toolbox.files.setPermissions
- Files.UploadWrite
Upload a file into a sandbox
toolbox.files.upload
- Git.Add FilesWrite
Add files to Git staging
toolbox.git.addFiles
- Git.Add RemoteWrite
Add a remote
toolbox.git.addRemote
- Git.AuthenticateWrite
Authenticate Git
toolbox.git.authenticate
- Git.Checkout BranchWrite
Checkout branch or commit
toolbox.git.checkoutBranch
- Git.Clone RepositoryWrite
Clone a Git repository
toolbox.git.cloneRepository
- Git.Commit ChangesWrite
Commit changes
toolbox.git.commitChanges
- Git.Configure UserWrite
Configure Git user
toolbox.git.configureUser
- Git.Create BranchWrite
Create a new branch
toolbox.git.createBranch
- Git.Delete BranchDestructive
Delete a branch
toolbox.git.deleteBranch
- Git.Get Commit HistoryRead-only
Get commit history
toolbox.git.getCommitHistory
- Git.Get ConfigRead-only
Get a Git config value
toolbox.git.getConfig
- Git.Get StatusRead-only
Get Git status
toolbox.git.getStatus
- Git.Init RepositoryWrite
Initialize a Git repository
toolbox.git.initRepository
- Git.List BranchesRead-only
List branches
toolbox.git.listBranches
- Git.List RemotesRead-only
List remotes
toolbox.git.listRemotes
- Git.Pull ChangesWrite
Pull changes from remote
toolbox.git.pullChanges
- Git.Push ChangesDestructive
Push changes to remote
toolbox.git.pushChanges
- Git.Reset ChangesDestructive
Reset repository
toolbox.git.resetChanges
- Git.Restore FilesDestructive
Restore files
toolbox.git.restoreFiles
- Git.Set ConfigWrite
Set a Git config value
toolbox.git.setConfig
- Info.Get User Home DirRead-only
Get user home directory
toolbox.info.getUserHomeDir
- Info.Get VersionRead-only
Get version
toolbox.info.getVersion
- Info.Get Work DirRead-only
Get working directory
toolbox.info.getWorkDir
- Interpreter.Create Interpreter ContextWrite
Create a new interpreter context
toolbox.interpreter.createInterpreterContext
- Interpreter.Delete Interpreter ContextDestructive
Delete an interpreter context
toolbox.interpreter.deleteInterpreterContext
- Interpreter.List Interpreter ContextsRead-only
List all user-created interpreter contexts
toolbox.interpreter.listInterpreterContexts
- Lsp.CompletionsRead-only
Get code completions
toolbox.lsp.completions
- Lsp.Did CloseWrite
Notify document closed
toolbox.lsp.didClose
- Lsp.Did OpenWrite
Notify document opened
toolbox.lsp.didOpen
- Lsp.Document SymbolsRead-only
Get document symbols
toolbox.lsp.documentSymbols
- Lsp.StartWrite
Start LSP server
toolbox.lsp.start
- Lsp.StopWrite
Stop LSP server
toolbox.lsp.stop
- Lsp.Workspace SymbolsRead-only
Get workspace symbols
toolbox.lsp.workspaceSymbols
- Ports.GetRead-only
Get active ports
toolbox.ports.get
- Ports.Is In UseRead-only
Check if port is in use
toolbox.ports.isInUse
- Process.Code RunDestructive
Run code in the sandbox's language runtime and get the result
toolbox.process.codeRun
- Process.Create Pty SessionWrite
Create a new PTY session
toolbox.process.createPtySession
- Process.Create SessionWrite
Create a new session
toolbox.process.createSession
- Process.Delete Pty SessionDestructive
Delete a PTY session
toolbox.process.deletePtySession
- Process.Delete SessionDestructive
Delete a session
toolbox.process.deleteSession
- Process.Execute CommandDestructive
Run a command in a sandbox and wait for exitCode and output (timeout in seconds)
toolbox.process.executeCommand
- Process.Get Entrypoint LogsRead-only
Get entrypoint logs
toolbox.process.getEntrypointLogs
- Process.Get Entrypoint SessionRead-only
Get entrypoint session details
toolbox.process.getEntrypointSession
- Process.Get Pty SessionRead-only
Get PTY session information
toolbox.process.getPtySession
- Process.Get SessionRead-only
Get session details
toolbox.process.getSession
- Process.Get Session CommandRead-only
Get session command details
toolbox.process.getSessionCommand
- Process.Get Session Command LogsRead-only
Get session command logs
toolbox.process.getSessionCommandLogs
- Process.List Pty SessionsRead-only
List all PTY sessions
toolbox.process.listPtySessions
- Process.List SessionsRead-only
List all sessions
toolbox.process.listSessions
- Process.Resize Pty SessionWrite
Resize a PTY session
toolbox.process.resizePtySession
- Process.Send InputDestructive
Send input to command
toolbox.process.sendInput
- Process.Session Execute CommandDestructive
Execute command in session
toolbox.process.sessionExecuteCommand
- System.Get System MetricsRead-only
Get sandbox resource metrics
toolbox.system.getSystemMetrics
Sandboxes
- Add NodesDestructive
Append nodes to a multi-node sandbox
sandboxes.addNodes
- ArchiveDestructive
Archive sandbox
sandboxes.archive
- CreateDestructive
Create a sandbox from a snapshot or image; billed per second for its vCPU, memory and disk while it runs
sandboxes.create
- Create SnapshotDestructive
Create a snapshot from a sandbox
sandboxes.createSnapshot
- Create Ssh AccessDestructive
Create SSH access for sandbox
sandboxes.createSshAccess
- DeleteDestructive
Delete a sandbox and its disk
sandboxes.delete
- Expire Signed Port Preview UrlDestructive
Expire signed preview URL for a sandbox port
sandboxes.expireSignedPortPreviewUrl
- ForkDestructive
Fork a sandbox
sandboxes.fork
- GetRead-only
Get sandbox details
sandboxes.get
- Get AncestorsRead-only
Get sandbox fork ancestor chain
sandboxes.getAncestors
- Get Build Logs UrlRead-only
Get build logs URL
sandboxes.getBuildLogsUrl
- Get ForksRead-only
Get sandbox fork children
sandboxes.getForks
- Get Gang Membership OperationRead-only
Get a membership operation of a multi-node GPU sandbox
sandboxes.getGangMembershipOperation
- Get LogsRead-only
Get sandbox logs
sandboxes.getLogs
- Get MetricsRead-only
Get sandbox metrics
sandboxes.getMetrics
- Get ParentRead-only
Get sandbox fork parent
sandboxes.getParent
- Get Port Preview UrlRead-only
Get preview URL for a sandbox port
sandboxes.getPortPreviewUrl
- Get Signed Port Preview UrlRead-only
Get signed preview URL for a sandbox port
sandboxes.getSignedPortPreviewUrl
- Get Signing KeyRead-only
Get the signing key for a sandbox
sandboxes.getSigningKey
- Get Toolbox Proxy UrlRead-only
Get toolbox proxy URL for a sandbox
sandboxes.getToolboxProxyUrl
- Get Trace SpansRead-only
Get trace spans
sandboxes.getTraceSpans
- Get TracesRead-only
Get sandbox traces
sandboxes.getTraces
- ListRead-only
List sandboxes
sandboxes.list
- PauseDestructive
Pause sandbox
sandboxes.pause
- RecoverDestructive
Recover sandbox from error state
sandboxes.recover
- Remove NodesDestructive
Remove the highest ranks from a multi-node sandbox
sandboxes.removeNodes
- Replace LabelsWrite
Replace sandbox labels
sandboxes.replaceLabels
- Replace NodeDestructive
Replace a failed multi-node sandbox rank
sandboxes.replaceNode
- ResizeDestructive
Resize sandbox resources
sandboxes.resize
- Revoke Ssh AccessDestructive
Revoke SSH access for sandbox
sandboxes.revokeSshAccess
- Rotate Signing KeyDestructive
Rotate the signing key, invalidating all previously signed URLs
sandboxes.rotateSigningKey
- Set Auto Archive IntervalWrite
Set sandbox auto-archive interval
sandboxes.setAutoArchiveInterval
- Set Auto Delete IntervalWrite
Set sandbox auto-delete interval
sandboxes.setAutoDeleteInterval
- Set Auto Pause IntervalWrite
Set sandbox auto-pause interval
sandboxes.setAutoPauseInterval
- Set Autostop IntervalWrite
Set sandbox auto-stop interval
sandboxes.setAutostopInterval
- Set TtlWrite
Set sandbox TTL
sandboxes.setTtl
- StartDestructive
Start or resume sandbox
sandboxes.start
- StopDestructive
Stop sandbox
sandboxes.stop
- Update Last ActivityWrite
Update sandbox last activity
sandboxes.updateLastActivity
- Update Network SettingsWrite
Update sandbox network settings
sandboxes.updateNetworkSettings
- Update Public StatusWrite
Update public status
sandboxes.updatePublicStatus
- Update SecretsWrite
Update sandbox secrets
sandboxes.updateSecrets
Organizations
- Create RegionWrite
Create a new region
organizations.createRegion
- Delete RegionDestructive
Delete a region
organizations.deleteRegion
- Get Gpu CapacityRead-only
Get shared GPU capacity
organizations.getGpuCapacity
- Get Otel ConfigRead-only
Get organization OTEL config by organization ID
organizations.getOtelConfig
- Get Region By IdRead-only
Get region by ID
organizations.getRegionById
- Get Usage OverviewRead-only
Get organization current usage overview
organizations.getUsageOverview
- List Available RegionsRead-only
List all available regions for the organization
organizations.listAvailableRegions
- List Available Sandbox ClassesRead-only
List available sandbox classes for organization
organizations.listAvailableSandboxClasses
- List MembersRead-only
List organization members
organizations.listMembers
- Regenerate Proxy Api KeyDestructive
Regenerate proxy API key for a region
organizations.regenerateProxyApiKey
- Regenerate Snapshot Manager CredentialsDestructive
Regenerate snapshot manager credentials for a region
organizations.regenerateSnapshotManagerCredentials
- Regenerate Ssh Gateway Api KeyDestructive
Regenerate SSH gateway API key for a region
organizations.regenerateSshGatewayApiKey
- Update RegionWrite
Update region configuration
organizations.updateRegion
Analytics
- Telemetry.Get TraceRead-only
Get trace spans
analytics.telemetry.getTrace
- Telemetry.LogsRead-only
Get sandbox logs
analytics.telemetry.logs
- Telemetry.MetricsRead-only
Get sandbox metrics
analytics.telemetry.metrics
- Telemetry.TracesRead-only
Get sandbox traces
analytics.telemetry.traces
- Usage.AggregatedRead-only
Get aggregated usage
analytics.usage.aggregated
- Usage.By SandboxRead-only
Get per-sandbox usage
analytics.usage.bySandbox
- Usage.ChartRead-only
Get usage chart data
analytics.usage.chart
- Usage.SandboxRead-only
Get sandbox usage periods
analytics.usage.sandbox
Runners
- CreateDestructive
Create runner
runners.create
- DeleteDestructive
Delete runner
runners.delete
- Get By IdRead-only
Get runner by ID
runners.getById
- Get Full By IdRead-only
Get runner by ID
runners.getFullById
- ListRead-only
List all runners
runners.list
- Update DrainingWrite
Update runner draining status
runners.updateDraining
- Update SchedulingWrite
Update runner scheduling status
runners.updateScheduling
Snapshots
- ActivateWrite
Activate a snapshot
snapshots.activate
- CreateDestructive
Create a new snapshot
snapshots.create
- DeactivateDestructive
Deactivate a snapshot
snapshots.deactivate
- GetRead-only
Get snapshot by ID or name
snapshots.get
- Get AllRead-only
List all snapshots
snapshots.getAll
- Get Build Logs UrlRead-only
Get snapshot build logs URL
snapshots.getBuildLogsUrl
- RemoveDestructive
Delete snapshot
snapshots.remove
Docker Registries
- CreateWrite
Create registry
dockerRegistries.create
- DeleteDestructive
Delete registry
dockerRegistries.delete
- GetRead-only
Get registry
dockerRegistries.get
- Get Transient Push AccessDestructive
Get temporary registry access for pushing snapshots
dockerRegistries.getTransientPushAccess
- ListRead-only
List registries
dockerRegistries.list
- UpdateWrite
Update registry
dockerRegistries.update
Secrets
- CreateWrite
Create secret
secrets.create
- DeleteDestructive
Delete secret
secrets.delete
- GetRead-only
Get secret
secrets.get
- List PaginatedRead-only
List secrets with pagination
secrets.listPaginated
- UpdateWrite
Update secret
secrets.update
Volumes
- CreateDestructive
Create a new volume
volumes.create
- DeleteDestructive
Delete volume
volumes.delete
- GetRead-only
Get volume details
volumes.get
- Get By NameRead-only
Get volume details by name
volumes.getByName
- ListRead-only
List all volumes
volumes.list
Api Keys
- CreateDestructive
Create API key
apiKeys.create
- DeleteDestructive
Delete API key
apiKeys.delete
- Get CurrentRead-only
Get current API key's details
apiKeys.getCurrent
- ListRead-only
List API keys
apiKeys.list
Warm Pools
- CreateDestructive
Create a warm pool
warmPools.create
- DeleteDestructive
Delete a warm pool
warmPools.delete
- ListRead-only
List warm pools for the organization
warmPools.list
- UpdateDestructive
Update a warm pool size
warmPools.update
Webhooks
- Get App Portal AccessWrite
Get Svix Consumer App Portal access for an organization
webhooks.getAppPortalAccess
- Get Initialization StatusRead-only
Get webhook initialization status for an organization
webhooks.getInitializationStatus
- InitializeWrite
Initialize webhooks for an organization
webhooks.initialize
Audit
- Get Organization LogsRead-only
Get audit logs for organization
audit.getOrganizationLogs
- Get ScenariosRead-only
Get supported audit log scenarios
audit.getScenarios
Health
- LiveRead-only
health.live
health.live
- ReadyRead-only
health.ready
health.ready
Config
- GetRead-only
Get config
config.get
Object Storage
- Get Push AccessDestructive
Get temporary storage access for pushing objects
objectStorage.getPushAccess
Regions
- List SharedRead-only
List all shared regions
regions.listShared
Connect Daytona to Claude, ChatGPT or Cursor
- 1
Connect Daytona in Corsair
Add your Daytona API key once in Corsair. Corsair stores the credential encrypted and makes the Daytona API calls for your agent, so it never goes into a prompt or a config file. Connect Daytona
If your link lets the agent add apps, you can skip this: it gives you a sign-in link the first time it needs Daytona. On a ChatGPT personal plan, connect Daytona here first.
- 2
Add Corsair's MCP server to your agent
Every client uses the same address:
https://mcp.corsair.dev/mcpOpen Plugins → Add → Add custom connector, name it Corsair, paste the address, select Continue, then Add.Add a custom MCP server with the address and choose OAuth. Personal plans get read tools only.Add to CursorOr add this to~/.cursor/mcp.json. Cursor opens Corsair to sign in the first time it connects.{ "mcpServers": { "corsair": { "url": "https://mcp.corsair.dev/mcp" } } }Run this, then run/mcpin Claude Code to sign in.claude mcp add --transport http corsair https://mcp.corsair.dev/mcpCodex, Gemini CLI, VS Code, Zed and other clients with OAuth sign-in work the same way. Clients without it, such as GitHub Copilot's coding agent, use a link's own address and an API key. Setup for every client
- 3
Sign in and choose what needs your approval
Your client opens Corsair to sign in. Pick a link: the apps your agent can use and a mode that decides what it may do without asking. In the default Cautious mode, Daytona's read and write operations run right away and its 52 destructive operations wait for your approval. Strict mode asks before every write and refuses destructive operations, and Read mode allows reads only.
FAQ
Install corsair and @corsair-dev/daytona, add the Daytona plugin, and connect with an API key. Then call methods like corsair.daytona.api.analytics.telemetry.getTrace() from your app. Corsair verifies webhooks, and keeps each tenant isolated.
Yes. Daytona requires an API key from your Daytona account or developer dashboard. Create credentials with access that matches what you automate, then paste them into Corsair or connect through managed auth in Hub.
Yes. One Corsair client can hit Daytona, GitHub, Notion, Stripe, and the rest. Trigger Daytona from a webhook, push updates to Slack, or chain actions across plugins. Same tenant context across integrations, plain TypeScript.
Teams use Corsair for daytona runs AI-generated code in sandboxes: sandboxes (create, start, stop, archive, fork, resize, SSH access, preview URLs, logs), the toolbox inside each one (files, processes and sessions, git, LSP, code interpreter, computer use), snapshots, volumes, Docker registries, secrets, organization usage, members and regions, audit logs, telemetry and usage analytics, and signed webhooks (212 operations). Common builds include sync jobs, admin tooling, and agents that call Daytona APIs from your backend. Webhook handlers react to Daytona events and fan out to Slack, email, or other plugins in the same tenant.
The SDK is open source. Self-host and you pay Corsair nothing for the integration layer. Hub bills for hosted auth and execution, not per Daytona API call. Hub has a generous free tier. For hobby projects you can probably run the whole thing on free. Paid plans start to matter with more tenants or heavier traffic.
We maintain @corsair-dev/daytona in the open repo. When Daytona ships API changes, upgrade the package. Your call sites stay typed. You should not need to rewrite the integration layer each time.
No. Corsair does not read your Daytona data or hold individual access credentials. Credentials stay in your database. API calls run on your instance. We do not store Daytona data on your behalf.
Yes. Add https://mcp.corsair.dev/mcp as a custom connector or MCP server in Claude, ChatGPT, Cursor, VS Code, Claude Code, Codex or any client that supports remote MCP servers with OAuth sign-in, then sign in to Corsair. On ChatGPT personal plans, custom servers currently get read tools only.
Yes. Put Daytona on a link in Strict mode and every write waits for your approval, while destructive actions are refused. The default Cautious mode asks only before the 52 destructive Daytona operations. You can change a link's mode at hub.corsair.dev/me.