For any MCP client
One URL per connected E2B account. Paste it into Claude, ChatGPT, Cursor, Windsurf, VS Code, Cline, Zed or a custom agent.
Server URLhttps://api.truto.one/mcp/<token>
IntegrationsApplication Development
Put E2B in your product or your AI agent. Truto handles the sign-in and the token refresh, and keeps the connection working after launch.
From the team behind Truto
Control plane for MCP servers
Put your team’s own apps to work in their AI. Connect an app once, and everyone’s AI can use it.
Works in
No credit card required · 1,150+ apps
01Proxy API
Truto’s Proxy API is a 1-to-1 mapping of the E2B API. You call us, we call E2B, and pass the response back in the same cycle. Truto handles authentication and token refresh.
On every plan, including Free.
GEThttps://api.truto.one/proxy/sandboxes?integrated_account_id=…
/proxy/snapshots/proxy/templates/proxy/tags/proxy/teamsE2B’s own response, passed back
02MCP server
Whatever your agent runs on, it gets E2B tools for each customer’s account: through an MCP server, or straight from the tools API.
On every plan, including Free.
list_all_e_2_b_sandboxesList running e2b sandboxes, optionally filtered by a metadata query. Returns: sandboxID, cpuCount, code, message.create_a_e_2_b_sandboxCreate a new e2b sandbox from a template with configurable timeout, networking, environment variables, and lifecycle settings. Returns: templateID, sandboxID, clientID, envdVersion, alias, envdAccessToken, trafficAccessToken, domain. Required: templateID.get_single_e_2_b_sandbox_by_idGet a single e2b sandbox by id, including runtime details, network configuration, and lifecycle policy. Returns: sandboxID, cpuCount, code, message. Required: id.delete_a_e_2_b_sandbox_by_idDelete (kill) an e2b sandbox by id. Returns an empty 204 response on success. Required: id.e_2_b_sandboxes_connectConnect to a paused or running e2b sandbox, resuming it if needed and extending its TTL. Returns: templateID, sandboxID, clientID, envdVersion, alias, envdAccessToken, trafficAccessToken, domain. Required: sandbox_id, timeout.e_2_b_sandboxes_pausePause a running e2b sandbox, persisting its filesystem and optionally capturing a full memory snapshot. Returns an empty 204 response on success. Required: sandbox_id.e_2_b_sandboxes_resumeResume a paused e2b sandbox with a new time-to-live, optionally auto-pausing after the timeout. Returns: templateID, sandboxID, clientID, envdVersion, alias, envdAccessToken, trafficAccessToken, domain. Required: sandbox_id.e_2_b_sandboxes_refreshRefresh a running e2b sandbox, extending its time to live by the specified duration in seconds (max 3600). Returns an empty 204 response on success. Required: sandbox_id.e_2_b_sandboxes_set_timeoutSet the timeout (TTL) for a running e2b sandbox, measured in seconds from the current time. Calling multiple times overwrites the TTL each time. Returns an empty 204 response on success. Required: sandbox_id, timeout.e_2_b_sandboxes_get_logsGet logs for a specific e2b sandbox (deprecated — use get_logs_v2 instead). Returns: logs, logEntries, code, message. Required: sandbox_id.e_2_b_sandboxes_get_metricsGet resource usage metrics for a specific e2b sandbox over a time interval. Returns: timestamp, timestampUnix, cpuCount, cpuUsedPct, memUsed, memTotal, memCache, diskUsed, diskTotal. Required: sandbox_id.e_2_b_sandboxes_list_metricsList resource usage metrics for multiple e2b sandboxes at once. Returns: sandboxes. Required: sandbox_ids. Maximum 100 sandbox IDs per request.e_2_b_sandboxes_create_snapshotCreate a persistent snapshot from an e2b sandbox's current state. Returns: code, message. Required: sandbox_id. An optional name body field assigns a template alias; if a snapshot template with that name already exists, a new build is assigned to the existing template instead of creating a new one.e_2_b_sandboxes_bulk_updateUpdate the egress network configuration for a running e2b sandbox. Replaces the current egress rules with the provided configuration; omitting a field clears it. Returns an empty 204 response on success. Required: sandbox_id.list_all_e_2_b_snapshotsList all e2b sandbox snapshots for the team, optionally filtered by source sandbox ID. Returns: code, message.create_a_e_2_b_templateCreate a new template in e2b. Returns: code, message. The build is processed asynchronously and returns a 202 response on acceptance.e_2_b_templates_create_v_2Create a new sandbox template build request in e2b. The build is processed asynchronously. Returns: templateID, buildID, public, names, tags, aliases.delete_a_e_2_b_template_by_idDelete an e2b template by id. Returns an empty 204 response on success. Required: id.list_all_e_2_b_templatesList all e2b templates. Returns: templateID, buildID, cpuCount, memoryMB, diskSizeMB, public, aliases, names, createdAt, updatedAt, createdBy, lastSpawnedAt, spawnCount, buildCount, envdVersion, buildStatus, code, message.get_single_e_2_b_template_by_idGet a single e2b sandbox template by id, including its build history. Returns: createdAt, updatedAt, code, message. Required: id.e_2_b_templates_get_by_aliasGet an e2b sandbox template by its alias. Returns: templateID, public. Required: alias.e_2_b_templates_rebuildRebuild an e2b sandbox template by submitting a new Dockerfile and optional build configuration. Returns: createdAt, updatedAt, code, message. Required: template_id, dockerfile.update_a_e_2_b_template_by_idUpdate an e2b template's visibility by id. Returns: createdAt, updatedAt, code, message. Required: id.e_2_b_templates_start_buildStart an e2b template build by template_id and build_id. Accepts base image, registry credentials, build steps, and post-build commands. Returns an empty 202 response on success. Required: template_id, build_id.e_2_b_templates_get_build_logsGet e2b template build logs by template_id and build_id with optional filtering by timestamp, direction, severity level, and log source. Returns: logs. Required: template_id, build_id.e_2_b_templates_get_build_statusGet e2b template build status and associated logs by template_id and build_id. Returns: logs, logEntries, templateID, buildID, status, reason. Required: template_id, build_id.e_2_b_templates_get_build_upload_linkGet a build upload link for a template's build layer files in e2b. Returns: present, url. Required: template_id, hash.e_2_b_tags_assign_tagsAssign tags to an e2b template by targeting it in "name:tag" format. Returns: code, message. Required: target, tags.e_2_b_tags_delete_tagsDelete multiple tags from an e2b template by name. Returns an empty 204 response on success. Required: name, tags.list_all_e_2_b_tagsList all tags assigned to an e2b template. Returns: tag, buildID, createdAt, code, message. Required: template_id.e_2_b_teams_get_metricsGet metrics for an e2b team within a specified time interval. Returns an array of metric entries, each containing timestamp, timestampUnix, concurrentSandboxes, and sandboxStartRate. Required: team_id.e_2_b_teams_get_metrics_maxGet the maximum value of a specific metric for an e2b team in a given interval. Returns: timestamp, timestampUnix, value. Required: team_id, metric.list_all_e_2_b_teamsList all e2b teams associated with the authenticated account. Returns: code, message.create_a_e_2_b_volumeCreate a new team volume in e2b. Returns: volumeID, name, token. Required: name. The name must match the pattern ^[a-zA-Z0-9_-]+$.delete_a_e_2_b_volume_by_idDelete a team volume in e2b by id. Returns an empty 204 response on success. Required: id.list_all_e_2_b_volumesList all team volumes in e2b. Returns: volumeID, name, code, message.get_single_e_2_b_volume_by_idGet a single team volume in e2b by id. Returns: volumeID, name, token. Required: id.e_2_b_envd_healthCheck the health of an e2b sandbox's envd service. Returns an empty 204 response on success.e_2_b_envd_get_envsGet the environment variables set in an e2b sandbox. Returns a key-value map of environment variable names to their string values.e_2_b_envd_get_statsGet resource usage metrics for an e2b sandbox's envd service. Returns: ts, cpu_count, cpu_used_pct, mem_total, mem_used, disk_used, disk_total, mem_used_mib, mem_total_mib.e_2_b_filesystem_download_fileDownload a file from a running e2b sandbox's filesystem by path (use the list sandboxes tool to find sandbox_id). Returns the raw file, stored as a downloadable file. Pass access_token (the sandbox's envdAccessToken returned when the sandbox was created) if the sandbox is secured. Required: sandbox_id, path.e_2_b_filesystem_list_dirList directory entries in an e2b sandbox filesystem at a given path, optionally controlling recursion depth. Returns: entries, message, code, sandboxID. Required: path.e_2_b_filesystem_make_dirCreate a directory in an e2b sandbox filesystem at the specified path. Returns: entry, message, code, sandboxID. Required: path.e_2_b_filesystem_statGet file or directory metadata (EntryInfo) for a path in an e2b sandbox filesystem. Returns: entry, message, code, sandboxID. Required: path.e_2_b_filesystem_removeRemove a file or directory from an e2b sandbox filesystem at the specified path. Returns an empty response on success. Required: path.e_2_b_filesystem_moveMove a file or directory inside an e2b sandbox filesystem. Returns the entry object including name, path, size, mode, permissions, owner, group, modifiedTime, symlinkTarget, and metadata. Required: source, destination.e_2_b_filesystem_upload_fileUpload a file to an e2b sandbox, ensuring parent directories exist. If the file exists it will be overwritten. Returns: type, code, message. Required: path, file.e_2_b_filesystem_create_watcherCreate a filesystem watcher on a path inside an e2b sandbox for non-streaming event polling. Returns: watcherId. Required: path.e_2_b_filesystem_remove_watcherRemove a filesystem watcher from an e2b sandbox by its watcher id. Returns an empty 200 response on success. Required: watcherId.e_2_b_filesystem_get_watcher_eventsRetrieve pending filesystem events for a watcher in an e2b sandbox. Returns: events, message, code, sandboxID. Required: watcherId.e_2_b_filesystem_watch_dirWatch a directory in an e2b sandbox for filesystem changes. Returns a stream of WatchDirResponse events with the filesystem entry's name, path, size, mode, permissions, owner, group, modifiedTime, symlinkTarget, and metadata. Required: path.e_2_b_process_startStart a new process in an e2b sandbox. Returns: event. Required: process.list_all_e_2_b_processList all running processes in an e2b sandbox. Returns: message, code, sandboxID.e_2_b_process_send_inputSend input to a running process in an e2b sandbox. Returns an empty response body on success. Required: process, input.e_2_b_process_send_signalSend a signal to a running process in an e2b sandbox. Returns an empty response body on success. Required: process.update_a_e_2_b_process_by_idUpdate a running process in an e2b sandbox, e.g. resize its PTY. Returns an empty response on success. Required: process, pty.e_2_b_process_close_stdinClose the stdin stream of a running process in an e2b sandbox. Returns an empty response on success. Required: process (containing pid).e_2_b_process_connectConnect to a running process in an e2b sandbox to receive a stream of ConnectResponse events with PTY output. Returns: event. Required: process (containing pid).e_2_b_process_stream_inputStream input data to a running process in an e2b sandbox by sending PTY input. Returns an empty response on success. Required: data (containing input with pty).create_a_e_2_b_webhookRegister a new e2b webhook to receive sandbox lifecycle events. Returns the created webhook object including id, teamId, name, createdAt, enabled, url, and events. Required: name, url, enabled, events.list_all_e_2_b_webhooksList all registered e2b webhooks for your team. Returns each webhook with id, teamId, name, createdAt, enabled, url, and events.get_single_e_2_b_webhook_by_idGet a single e2b webhook configuration by id. Returns: id, teamId, name, createdAt, enabled, url, events, version, timestamp, event_category, event_label, event_data, sandbox_id, sandbox_execution_id, sandbox_template_id, sandbox_build_id, sandbox_team_id. Required: id.update_a_e_2_b_webhook_by_idUpdate an existing e2b webhook configuration by id, replacing previous fields with provided values. Returns: id, teamId, name, createdAt, enabled, url, events, version, timestamp, event_category, event_label, event_data, sandbox_id, sandbox_execution_id, sandbox_template_id, sandbox_build_id, sandbox_team_id. Required: id.delete_a_e_2_b_webhook_by_idDelete (unregister) an e2b webhook by id. Returns an empty 204 response on success. Required: id.No tool matches.
One URL per connected E2B account. Paste it into Claude, ChatGPT, Cursor, Windsurf, VS Code, Cline, Zed or a custom agent.
Server URLhttps://api.truto.one/mcp/<token>
One call returns every E2B tool for an account, with its description and JSON schema, ready for any LLM framework.
GEThttps://api.truto.one/integrated-account/<id>/tools
Tools come as JSON schema, so they plug into any agent framework.
Tools are generated from curated documentation, not hand-coded. As the integration changes, the tools stay current.
Scope each MCP server to read-only, write-only, specific methods or tagged tool groups. Expose only what the agent needs.
Each MCP server is scoped to one connected account with its own credentials. Nothing leaks across tenants.
Tool descriptions and schemas are editable in your Truto account. A change updates at once, with no deploy.
Tool calls run through Truto’s proxy layer, with OAuth refresh, rate-limit handling and normalized errors.
Create time-limited servers for contractors or automated workflows. Optionally require a Truto API token as well.
03Unified API
A unified API gives every app in a category the same call and the same data shape. E2B is not in one yet. Build your own model, or ask us.
Then: one call for every app
Path 1 Self-serve
Path 2 We do it
Price Add-on
04Sync and webhooks
A sync job reads E2B records on a schedule and sends each page to your webhook or your datastore. Signed webhooks tell you when an account connects or needs to sign in again.
On every plan, including Free.
05Custom actions
Need a E2B endpoint or method that is not here yet? Add it with the Truto CLI and your coding agent, or call any E2B path through the Custom API.
On every plan, including Free. Truto CLI →
For your own AI tools
Truto puts E2B in the product you build. To use E2B yourself, in the AI your team already has, we recommend Elaichi.
For your product
Give the AI in your product access to each customer’s own E2B account, with one MCP server per connected account.
Rather talk it through? Book a demo

For your own team
Connect your company’s E2B once, then ask in the AI you already use, with exactly your own access.
Works in
From the team behind Truto · 14-day free trial
Use cases
SaaS companies with LLM-powered chat or analytics features can offer users the ability to run AI-generated Python or JavaScript on their own data without exposing host infrastructure. Truto handles the E2B connection so your team can focus on the agent loop, not sandbox lifecycle management.
CRM, finance, and BI platforms can let customers upload a CSV, ask a natural language question, and receive charts or forecasts generated by an LLM inside an isolated E2B sandbox. Each user session gets a fresh microVM, keeping tenant data cleanly separated.
Support and developer tooling platforms can spin up ephemeral E2B sandboxes to reproduce customer-reported bugs, run test suites against AI-generated patches, and attach verified stack traces back to tickets. Truto standardizes the auth and sandbox provisioning across your customers' E2B teams.
Marketing intelligence, RPA, and research SaaS products can offer 'computer use' features where agents drive Playwright inside E2B desktop templates. Your platform orchestrates the agent; Truto abstracts the connection to each customer's E2B account.
Chat-based SaaS products can snapshot and resume E2B sandboxes so an agent's environment, installed dependencies, and working files survive between user sessions. This turns short LLM chats into durable, stateful workspaces without you having to build the persistence layer.
What you can build
Create and destroy E2B sandboxes on demand for each end-user session using create_a_e_2_b_sandbox and delete_a_e_2_b_sandbox_by_id, with automatic timeout controls via e_2_b_sandboxes_set_timeout.
Start processes with e_2_b_process_start and stream stdin/stdout back to your frontend using e_2_b_process_stream_input and e_2_b_process_connect so users can watch the agent execute code live.
Seed sandboxes with customer files via e_2_b_filesystem_upload_file, then pull generated charts, CSVs, or binaries back out with e_2_b_filesystem_download_file to display in your product.
Use e_2_b_sandboxes_create_snapshot, e_2_b_sandboxes_pause, and e_2_b_sandboxes_resume to let users return to a stateful agent workspace hours later without losing dependencies or context.
Let customers pre-load their preferred libraries or internal CLIs by building templates through e_2_b_templates_start_build, e_2_b_templates_rebuild, and e_2_b_templates_get_build_logs.
Surface per-sandbox and per-team resource usage in your admin UI using e_2_b_sandboxes_get_metrics, e_2_b_sandboxes_get_logs, and e_2_b_teams_get_metrics for billing or governance features.
Security
Customer records are not kept. Truto fetches them when your product asks and passes them on.
Where an app signs in with OAuth, use Truto’s OAuth apps or your own, on every plan. Each customer’s login is kept encrypted (AES-256) while connected.
SOC 2 Type II, ISO 27001, GDPR and HIPAA. CASA Tier 2, verified by TAC Security. Trust Centre →
How it works
Use Truto’s frontend SDK to connect your customer’s E2B account. We handle all OAuth and API key flows — you don’t need to create the OAuth app.
Don’t spend time refreshing access tokens or figuring out secure storage. We handle it and inject credentials into every API request.
Truto’s Proxy API is a 1-to-1 mapping of the E2B API. You call us, we call E2B, and pass the response back in the same cycle.
Every response follows a single format across all integrations. We translate E2B’s pagination into unified cursor-based pagination. Data is always in the result attribute.
FAQs
Your end users connect their E2B account to your product through Truto's managed auth flow. Truto stores and refreshes the credentials, so your backend calls E2B tools through Truto without ever handling raw API keys.
Truto exposes the full E2B surface area needed for agent infrastructure: sandbox lifecycle (create, pause, resume, delete, snapshot), filesystem operations (upload, download, list, watch), process execution and streaming, templates and builds, tags, teams, volumes, and webhooks.
Yes. E2B supports connecting to running processes and streaming stdin/stdout through e_2_b_process_connect and e_2_b_process_stream_input, which you can proxy to your frontend over WebSockets for live terminal-style UIs.
Each end user connects their own E2B account through Truto, so sandboxes are created inside their team. Within a single account, you can provision a fresh sandbox per session using create_a_e_2_b_sandbox and tear it down afterward to guarantee no cross-user state.
Yes. Use e_2_b_sandboxes_create_snapshot together with e_2_b_sandboxes_pause and e_2_b_sandboxes_resume to freeze and restore a sandbox's full state, including installed dependencies and files, when a user returns.
Yes. You can create and manage custom templates via create_a_e_2_b_template, e_2_b_templates_create_v_2, e_2_b_templates_start_build, and monitor progress with e_2_b_templates_get_build_status and e_2_b_templates_get_build_logs.
Yes. E2B webhooks can be managed programmatically through create_a_e_2_b_webhook, list_all_e_2_b_webhooks, update_a_e_2_b_webhook_by_id, and delete_a_e_2_b_webhook_by_id, so your product can react to lifecycle and build events without polling.
From the blog
Connect E2B to Claude: Automate filesystem tasks and template buildsLearn how to connect E2B to Claude using Truto's managed MCP server. Automate filesystem tasks, run secure code, and build templates using natural language.
Connect E2B to ChatGPT: Run Secure Code & Isolated SandboxesLearn how to connect E2B to ChatGPT using a managed MCP server. This guide covers sandbox automation, secure code execution, and bypassing API constraints.
Connect E2B to AI Agents: Orchestrate remote processes and system metricsLearn how to connect E2B to AI agents using Truto's /tools endpoint. Build autonomous workflows to execute secure code and monitor infrastructure.E2B
Sign up free, connect a test E2B account and make your first call today. No card and no sales call.