PillDrops

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

Facts

Users (last 30 days)0
HandshakeHealthy
Auth neededNone
Tool count89
Latency3582 ms
Last checked (UTC)2026-12-01T22:45:36.372Z

Health history

Checked (UTC)StatusLatencyError
2026-12-01T22:45:36.372ZHealthy3582

Tools (89)

list_templatesList available sandbox templates (python-3.11, node, playwright, …) with their default resources.
create_sandboxCreate 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_networksReplace 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_egressReplace 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_sandboxesList active sandboxes: id, template, status.
get_sandboxInspect one sandbox: status, resources, preview url when it serves an app.
run_commandRun 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_serverRegister + launch a persistent server command in the sandbox (survives idle-pause/resume, unlike run_command). The app must bind $PORT.
write_fileWrite 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_fileRead 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_logsFetch recent sandbox logs (start command + service output) — the first stop when an app misbehaves or a preview 502s.
get_metricsLive CPU/memory of a sandbox — spot OOMs and busy loops.
pause_sandboxPause a sandbox: metering stops and its slot is freed, state is kept. resume_sandbox wakes it.
fork_sandboxFork 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_sandboxResume a paused sandbox (also relaunches its registered start_server command).
get_eventsRecent 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_readyBlock 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_sandboxDestroy a sandbox and stop entitlements. Its record, logs and cost remain in history.
get_usageAccount usage and charges — current consumption vs plan limits.
save_checkpointSave 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_backupStart 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_statesEverything 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_sandboxRoll 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_stateDelete 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_schedulePut 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_snapshotSave 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_snapshotsThe 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_snapshotDelete 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_sandboxFreeze 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_sandboxKeep 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_filesList 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_secretsThe 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_secretStore (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_secretRemove 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_volumeCreate 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_volumesThe org's volumes: id, name, size, and attached_to when a sandbox holds one.
delete_volumeDelete a volume and everything on it. Refused while a sandbox holds it; destroy that sandbox first. There is no undo.
forward_portPublish 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_forwardsThe 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_forwardStop 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_domainPoint 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_domainsThe 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_connectorsThe 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_targetLet 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_tagLet 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_targetStop a sandbox reaching a target behind a connector. Open connections to it close.
revoke_private_grantRevoke 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_domainDetach 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_askGive 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_statusWhat an agent is doing now: whether it is ready, its current turn and its queue.
agent_list_turnsAn agent's turns with the state, mode and thread of each.
agent_get_turnOne turn in full: its state, reply, usage and any error. Poll it after agent_ask.
agent_interruptStop a running turn. grace_seconds lets the agent stop politely before it is killed.
agent_pull_requestFor 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_approvalsActions an agent is waiting on a decision for. Decide each with agent_decide_approval.
agent_decide_approvalAllow or deny an action an agent is waiting on. Read what it asks in agent_list_approvals first.
list_cron_jobsScheduled jobs and when each runs next.
create_cron_jobRun 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_jobRun a scheduled job now.
toggle_cron_jobTurn a scheduled job on or off.
delete_cron_jobDelete a scheduled job.
list_functionsDeployed functions with their replicas and invoke counts.
get_functionOne function's configuration and URL.
create_functionDeploy a function: a command that serves HTTP on a port, scaled from zero by requests to its URL.
update_functionChange a function: only the fields passed change. New files replace the running replicas; public=false turns key-less invoke off.
rename_functionRename a function. Its history, logs and code move with it; the old invoke URL keeps working for 7 days.
list_function_deploymentsA function's code deployments, newest (running) first.
rollback_functionRestore the code of an earlier deployment; settings stay as they are.
get_function_logsA function's recent logs.
delete_functionDelete a function and its replicas.
list_projectsProjects and their stored plans.
get_projectOne project with its plan.
create_projectCreate a project. The plan is stored as given.
delete_projectDelete a project and its run history.
list_project_runsA project's runs.
start_project_runRecord a run of a project: which sandbox carries each planned service.
list_threadsSaved conversation threads.
get_threadOne saved thread with its messages.
create_threadCreate a saved conversation thread.
delete_threadDelete a saved thread.
list_webhooksWebhooks that report sandbox lifecycle events for the whole organization, with the events one can subscribe to.
create_webhookSend 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_webhookSend one signed test request to a webhook and report how its endpoint answered.
toggle_webhookTurn a webhook on or off.
delete_webhookDelete a webhook and its signing secret.
list_webhook_deliveriesRecent webhook deliveries, newest first, with how each endpoint answered.
list_imagesImages sandboxes can boot from, including your own custom ones.
list_integrationsMCP servers available to attach to an agent.
list_audit_logWho did what in this organization, newest first.