Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HADRONBOX_API_KEYYesYour Hadronbox API key. Required. Use a scoped API key from the panel's API keys page.
HADRONBOX_BASE_URLNoThe Hadronbox API base URL.https://api.hadronbox.tr/v1
HADRONBOX_MCP_ALLOW_DELETENoSet to `1` to also offer the `delete_machine` tool. Same as the `--allow-delete` option.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

hadronbox gives you remote Linux sandbox machines. Typical flow: list_machines (reuse a running machine) or create_machine, then write_file / exec / read_file with its machine_id; files live under /workspace. Machines use credits while running: pause_machine when you are done for now. If a tool returns an error with a hint, follow the hint; errors marked "Do not retry" need the user.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
create_machineA

Create a new hadronbox sandbox machine (a Linux VM with a /workspace directory) and wait until it is running. Returns its machine_id. Machines cost credits while running; reuse an existing one (list_machines) when you can.

list_machinesA

List the sandbox machines of the account with their machine_id, name and status (running, paused, creating, stopped, error), plus the machine quota.

execA

Run a shell command line in a running machine and return its exit code, stdout and stderr. Project files live under /workspace (start with "cd /workspace && ..."). Long output is shortened in the middle. The command is stopped when timeout_seconds passes. No stdin; for multi-line programs write a script with write_file first.

read_fileA

Read a UTF-8 text file from a running machine. path is relative to /workspace (e.g. "src/index.ts"); it cannot leave /workspace.

write_fileA

Create or replace a UTF-8 text file in a running machine. path is relative to /workspace; parent directories are created.

pause_machineA

Pause a running machine: it stops using credits for compute and keeps its state; resume_machine continues it.

resume_machineA

Resume a paused machine so exec, read_file and write_file work again.

list_snapshotsA

List the saved machine snapshots (snapshot_id, name, status). A "ready" snapshot can start a new machine with create_from_snapshot.

create_from_snapshotA

Create a new machine from a ready snapshot (its files and installed tools included) and wait until it is running.

expose_portA

Expose a TCP port of a machine (e.g. a dev server on 3000) at a private https preview URL. Only signed-in members of the account (or holders of a preview token) can open it.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.8/5.0

Scored across 10 tools

Disambiguation4/5

Each tool targets a distinct resource and action: machine lifecycle (create, pause, resume, list), snapshot listing/instantiation, port exposure, and file/shell operations. The only mild overlap is create_machine versus create_from_snapshot, but the descriptions make the distinction clear (blank VM vs. from a ready snapshot).

Naming Consistency4/5

Nine of ten tools follow a clean verb_noun snake_case pattern (list_snapshots, create_from_snapshot, pause_machine, read_file, write_file, etc.). The lone bare verb 'exec' is a minor deviation but remains unambiguous.

Tool Count5/5

Ten tools is a well-scoped set for a sandbox VM service, with each tool earning its place across lifecycle, file I/O, command execution, and preview exposure. Nothing feels padded or missing at the count level.

Completeness3/5

Core workflows are covered, but the lifecycle is a dead end: there is no delete/stop machine tool and no create_snapshot tool, so the snapshot surface is read-only and machines can only be paused, never destroyed. File deletion is also only possible indirectly via exec.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues