io.github.pilldrops-oss/pilldrops · v1.16.0 · agents-and-memory
PillDrops is healthy: it completed an MCP handshake in 3582 ms and exposes 89 tools.
Cloud sandboxes for AI agents: run code, files, previews, browsers, Linux desktops, Android.
Endpoint: https://pilldrops.com/mcp (streamable-http)
Repository · JSON · Add to my inventory
| Users (last 30 days) | 0 |
| Handshake | Healthy |
| Auth needed | None |
| Tool count | 89 |
| Latency | 3582 ms |
| Last checked (UTC) | 2026-12-01T22:45:36.372Z |
| Checked (UTC) | Status | Latency | Error |
|---|---|---|---|
| 2026-12-01T22:45:36.372Z | Healthy | 3582 |
list_templates | List available sandbox templates (python-3.11, node, playwright, …) with their default resources. |
create_sandbox | Create an isolated cloud sandbox. Returns {id, status, url?}. For app servers pass start (long-lived command) and ports — the app MUST listen on the injected $PORT env var, and the returned url is a public preview. Destroy sandboxes when done — a running sandbox holds a concurrency slot and keeps me |
set_networks | Replace a sandbox's network tags. Sandboxes cannot reach each other by default; two in the same org on the same node reach each other, on any port, only while they share a tag, and resolve each other as <slug>.pd. Takes effect at once, no restart. An empty list closes the sandbox off again. A tag ne |
set_egress | Replace a running or paused sandbox's outbound network rules. Entries are hostnames ("*.example.com" for subdomains), IPv4 addresses or CIDRs; deny ["0.0.0.0/0"] blocks everything not allowed. The org's policy is the ceiling: rules can narrow it, never widen it. Takes effect at once and cuts open co |
list_sandboxes | List active sandboxes: id, template, status. |
get_sandbox | Inspect one sandbox: status, resources, preview url when it serves an app. |
run_command | Run a shell command in the sandbox and get {stdout, stderr, exit_code}. Use bash -c '…' style strings for pipelines. Large output is truncated — write to a file and read_file it instead. |
start_server | Register + launch a persistent server command in the sandbox (survives idle-pause/resume, unlike run_command). The app must bind $PORT. |
write_file | Write text content to a file in the sandbox workspace (path is relative to the workspace root; parent dirs are created). An absolute path is not re-rooted: one outside the workspace is refused, so use run_command to reach it. |
read_file | Read a file from the sandbox workspace and return its content as text. Paths are relative to the workspace root; an absolute path outside it is refused. |
get_logs | Fetch recent sandbox logs (start command + service output) — the first stop when an app misbehaves or a preview 502s. |
get_metrics | Live CPU/memory of a sandbox — spot OOMs and busy loops. |
pause_sandbox | Pause a sandbox: metering stops and its slot is freed, state is kept. resume_sandbox wakes it. |
fork_sandbox | Fork a sandbox: a running copy with the same disk, memory and processes, under a new id. Use it to try something risky on a copy, run several attempts from one state, or reproduce a bug without touching the original. |
resume_sandbox | Resume a paused sandbox (also relaunches its registered start_server command). |
get_events | Recent lifecycle events for the org, newest first: created/paused/resumed/destroyed and `oom` (a process was out-of-memory-killed inside a sandbox). Watch this to notice a runaway process getting reaped. Pass sandbox_id to filter to one sandbox. |
wait_ready | Block until the sandbox's app answers on a port (or timeout), by probing 127.0.0.1:<port> from inside the sandbox. Returns {ready, port, code}. Use after start_server, before hitting the preview url. |
destroy_sandbox | Destroy a sandbox and stop entitlements. Its record, logs and cost remain in history. |
get_usage | Account usage and charges — current consumption vs plan limits. |
save_checkpoint | Save a named, restorable point of a running sandbox — its disk, plus its RAM and running processes on Firecracker — on the node that hosts it. Cheap: the guest is frozen for a fraction of a second (the reply reports paused_ms) and then runs on. Reach for it before anything you might want to undo — a |
create_backup | Start a durable backup of a sandbox to the platform's object store. The sandbox is frozen only for the capture and keeps running; the upload then continues in the background, so this returns a backup whose status is pending and which can take minutes to become ready — poll list_saved_states. Unlike |
list_saved_states | Everything this sandbox can be rolled back to: its on-node checkpoints (with the cap on how many it may hold) and its durable backups, with each one's status, size and age. Call it before restore_sandbox to find the name or id to restore, or after create_backup to watch a pending backup turn ready. |
restore_sandbox | Roll a sandbox back onto one of its save points, in place. DESTRUCTIVE: everything written since that save is gone, and the running processes are replaced by the captured ones. The id, URL and token do not change, so anything pointing at the sandbox keeps working. Name exactly one of checkpoint (fas |
delete_saved_state | Delete one save point of a sandbox — a checkpoint (frees node disk, and a slot under the checkpoint cap) or a backup (frees object storage). DESTRUCTIVE and irreversible: the state is gone and nothing else holds a copy. Name exactly one of checkpoint or backup and pass confirm=true. A backup another |
set_backup_schedule | Put a sandbox on an automatic backup schedule, or take it off one. Give period (a duration like 24h or 30m — whole minutes under an hour, or whole hours up to 24h, and never under 15m) or cron (a 5-field expression), not both; "off" as either removes the schedule. retention (like 7d) is how long eac |
save_snapshot | Save a running sandbox as a named, org-wide snapshot that new sandboxes can be created from (pass the name as create_sandbox's template). This is how a slow setup — dependencies installed, a database seeded, a build warmed — is paid for once. The capture freezes the guest briefly, then the whole mem |
list_snapshots | The org's named snapshots: name, status (building or ready), runtime, size and the resources each was captured with. Check here before creating a sandbox from a snapshot — a building one is not bootable yet. Pass name for one snapshot's detail and every version of it. A node that does not yet hold a |
delete_snapshot | Delete a named snapshot and every version of it, org-wide. DESTRUCTIVE and irreversible, and it affects everyone in the org: sandboxes already running are unaffected, but nothing can be created from the name again. Pass confirm=true. |
standby_sandbox | Freeze a sandbox in RAM. Cheaper than leaving it running and far quicker to wake than a pause, because nothing is written to disk — but it keeps its slot and its memory, so a long idle belongs in pause_sandbox instead. resume_sandbox wakes it either way. Use it between steps of a session you will co |
renew_sandbox | Keep a sandbox from expiring. With no timeout_seconds it resets the idle clock — the cheap keep-alive to call during a long job so an idle-pause does not land mid-run. With timeout_seconds it re-stamps the hard lifetime instead, counted from now; -1 asks for no expiry at all, which needs a plan that |
list_files | List a directory in the sandbox workspace as structured entries (name, size, whether it is a directory) — use it to find your way around before read_file, rather than parsing ls output from run_command. Paths are relative to the workspace root; omit path for the root. An absolute path outside the wo |
list_secrets | The org's vault entries by name, with whether each is auto-injected. Values of sealed entries never come back. Use it to find out what a sandbox can be given without asking a human to paste a credential again. |
put_secret | Store (or overwrite) a named secret in the org vault, so a sandbox can be given it by name instead of having the value pasted into env every time. auto_inject puts it into the environment of every sandbox the org creates from then on — powerful and easy to regret, so leave it off unless the credenti |
delete_secret | Remove a secret from the org vault. Sandboxes already holding the value keep it; nothing new can be given it by name. Nobody can read the value back first, so delete one only when you are sure it is either rotated or disposable. |
create_volume | Create a standalone volume: a disk that outlives the sandbox it is attached to. Attach it with create_sandbox's volumes [{id, path}]; destroying that sandbox releases it with its data for the next one. One sandbox holds a volume at a time, and a sandbox holding one cannot be forked, backed up or mov |
list_volumes | The org's volumes: id, name, size, and attached_to when a sandbox holds one. |
delete_volume | Delete a volume and everything on it. Refused while a sandbox holds it; destroy that sandbox first. There is no undo. |
forward_port | Publish a sandbox port on a raw public TCP port, for anything that is not HTTP — a database, an SSH daemon, a game server. The reply carries the public host:port to connect to. The preview URL is the right answer for web apps; this is the escape hatch below it, and it carries no credential of its ow |
list_port_forwards | The raw public ports this sandbox publishes, each with the address to connect to. Call it to recover an endpoint you did not keep, or to see how close the sandbox is to its plan's cap. |
remove_port_forward | Stop publishing a sandbox port. Existing connections through it drop, and the public port is released for reuse. The sandbox and the service inside it are untouched. |
add_domain | Point a customer hostname at a public sandbox (give sandbox_id, and port if the app is not on 8000), or claim a wildcard like *.example.com for the whole org. Nothing routes until DNS is in place: the reply carries the CNAME record that has to be created at the domain's registrar (or, where a CNAME |
list_domains | The org's custom hostnames with their verification status and the CNAME record each one needs, or the TXT record (txt_record) that an address-only match requires. A host stays pending until the platform sees that record in DNS, so this is where you find out whether the DNS change actually landed. |
list_connectors | The org's private-network connectors: name, whether an instance is online, and the targets it announces (name and port, and a hostname when it has one). A sandbox can be granted a target with grant_private_target. |
grant_private_target | Let one sandbox reach something behind a connector: a target (then <target>.private on its own port, and its real hostname when the connector announced one), a subnet inside one the connector announced (the platform's own ranges are never routed and come back as shadowed), or the names under a DNS s |
grant_private_tag | Let every sandbox in a network tag reach a target, a subnet or the names under a DNS suffix behind a connector, including sandboxes that join the tag later; leaving the tag removes access. Give exactly one of target, subnet or dns. Owners and admins only. |
revoke_private_target | Stop a sandbox reaching a target behind a connector. Open connections to it close. |
revoke_private_grant | Revoke one private grant by id: a tag's grant, or with sandbox_id one of that sandbox's own grants. Open connections it carried close. |
remove_domain | Detach a custom hostname. It stops routing at once and its certificate is no longer served, so anything pointing at it breaks; the sandbox keeps its ordinary preview URL. The DNS record at the registrar is not yours to remove and stays behind. |
agent_ask | Give a running agent a task. Returns a turn at once and does not wait for it: poll agent_get_turn until its state is final. Resumes a paused agent first, so it can take seconds. mode decides what the agent may do alone: supervised asks before anything, guided before risky actions, autonomous never. |
agent_status | What an agent is doing now: whether it is ready, its current turn and its queue. |
agent_list_turns | An agent's turns with the state, mode and thread of each. |
agent_get_turn | One turn in full: its state, reply, usage and any error. Poll it after agent_ask. |
agent_interrupt | Stop a running turn. grace_seconds lets the agent stop politely before it is killed. |
agent_pull_request | For a chat started with repo: commit its changes, push its branch and open a GitHub pull request with the sandbox's GIT_TOKEN. Returns its url. Wait for the chat's turn to finish first. |
agent_list_approvals | Actions an agent is waiting on a decision for. Decide each with agent_decide_approval. |
agent_decide_approval | Allow or deny an action an agent is waiting on. Read what it asks in agent_list_approvals first. |
list_cron_jobs | Scheduled jobs and when each runs next. |
create_cron_job | Run a command in a sandbox on a schedule. With agent_mode the command is a prompt to the sandbox's agent instead of a shell command. |
run_cron_job | Run a scheduled job now. |
toggle_cron_job | Turn a scheduled job on or off. |
delete_cron_job | Delete a scheduled job. |
list_functions | Deployed functions with their replicas and invoke counts. |
get_function | One function's configuration and URL. |
create_function | Deploy a function: a command that serves HTTP on a port, scaled from zero by requests to its URL. |
update_function | Change a function: only the fields passed change. New files replace the running replicas; public=false turns key-less invoke off. |
rename_function | Rename a function. Its history, logs and code move with it; the old invoke URL keeps working for 7 days. |
list_function_deployments | A function's code deployments, newest (running) first. |
rollback_function | Restore the code of an earlier deployment; settings stay as they are. |
get_function_logs | A function's recent logs. |
delete_function | Delete a function and its replicas. |
list_projects | Projects and their stored plans. |
get_project | One project with its plan. |
create_project | Create a project. The plan is stored as given. |
delete_project | Delete a project and its run history. |
list_project_runs | A project's runs. |
start_project_run | Record a run of a project: which sandbox carries each planned service. |
list_threads | Saved conversation threads. |
get_thread | One saved thread with its messages. |
create_thread | Create a saved conversation thread. |
delete_thread | Delete a saved thread. |
list_webhooks | Webhooks that report sandbox lifecycle events for the whole organization, with the events one can subscribe to. |
create_webhook | Send a signed request to a URL when a sandbox in this organization starts, ends, pauses or runs into trouble. The reply holds the signing secret once; it cannot be read again. |
test_webhook | Send one signed test request to a webhook and report how its endpoint answered. |
toggle_webhook | Turn a webhook on or off. |
delete_webhook | Delete a webhook and its signing secret. |
list_webhook_deliveries | Recent webhook deliveries, newest first, with how each endpoint answered. |
list_images | Images sandboxes can boot from, including your own custom ones. |
list_integrations | MCP servers available to attach to an agent. |
list_audit_log | Who did what in this organization, newest first. |