Computers

v0.3.1
io.github.mindstone/mcp-server-computers Checked 3 days ago Published 1 day ago

Linux computers with a browser on your own Fly.io, E2B or Google Cloud account

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

computer_check_setup

Check that the cloud accounts connected to Computers work, and say what each one can reach. WHEN TO USE: - Right after the person adds or changes a key in the connector settings, to confirm it works. - When another computer tool fails with AUTH_FAILED, NOT_ALLOWED or NOT_CONFIGURED. RETURNS: one line per connected account (Fly.io, E2B, Google Cloud): either what it reaches, or what's wrong and exactly how to fix it. Tell the person the result in plain words.

computer_list

List the person's computers on every connected cloud account. A computer is a Linux machine (with a browser) that lives in the person's own cloud account and that you can use for longer work: running commands and scripts, installing software, processing files, and using websites in its own browser. Its home folder is kept between days; a stopped computer keeps everything and costs only storage. WHEN TO USE: - Before using a computer, to get its exact name and whether it's running. - When the person asks what computers they have. RETURNS: computers (name, provider, state: running | stopped |…

computer_create

Create (buy) a new computer on one of the person's cloud accounts and set it up with a browser. WHEN TO USE: - The person asks for a computer, or a task needs one and computer_list shows none that fits. - Reuse an existing computer when one will do (computer_list): each computer costs the person money while it runs, and a little for storage while stopped. COST: billed by the provider to the person's own account. Roughly: Fly.io and Google Cloud a few cents an hour while running; E2B per second while running. Computers stop (or pause) by themselves after 15 idle minutes. SETUP: creating take…

ParameterTypeDescription
name *stringA short name: lowercase letters, digits and dashes, starting with a letter (for example "research").
providerstringWhich connected account to use: "fly", "e2b" or "gcp". Omit to use the first connected one; computer_list shows which are connected.

computer_setup

Run a computer's setup again: reinstalls the connector's helper and the browser if they are missing or out of date. Safe to repeat; it keeps files. WHEN TO USE: - A tool answers NOT_SET_UP or SETUP_FAILED. - computer_browser says the browser is missing. RETURNS: the setup job; call computer_job with it until state is "finished".

ParameterTypeDescription
computer *stringThe computer's name, as computer_list shows it (for example "research").

computer_run

Run a shell command on a computer (bash, as its own user, with passwordless sudo). The computer starts by itself if it is stopped. WHEN TO USE: - Anything you'd do in a terminal: install software (sudo apt-get install -y …, pip install …), run scripts, convert or process files, download from the web (curl, wget), check what's there (ls, cat). - Prefer this over computer_browser when a site has an API or a file can be downloaded directly. GOOD TO KNOW: - Already installed: python3 with pip, venv and matplotlib, git, curl, jq, zip/unzip, file, ping, pdftotext, and the browser (agent-browse…

ParameterTypeDescription
command *stringThe bash command to run, for example "cd reports && python3 make_chart.py".
computer *stringThe computer's name, as computer_list shows it (for example "research").
cwdstringFolder to run it in. Default: the home folder.
timeout_secintegerEnd the command after this many seconds. Default 1800 (30 minutes).

computer_job

Wait for, read more output from, or cancel a command started by computer_run, computer_browser, computer_use_tool or setup. WHEN TO USE: - A previous result had state "running": call this with its job until state is "finished" or "stopped". - A result had more_output: call this with offset = next_offset to read the rest. - To stop a command early: cancel: true (ends the command and everything it started). RETURNS: the same shape as computer_run.

ParameterTypeDescription
computer *stringThe computer's name, as computer_list shows it (for example "research").
job *stringThe job value from the earlier result.
cancelbooleantrue to end the command now.
offsetintegerReturn output from this byte offset: pass the previous next_offset to get only new output.

computer_browser

Use the computer's own web browser (Chrome), with the same agent-browser commands as Browser Automation. Sign-ins and cookies are kept in the computer's browser profile between days. WHEN TO USE: - Websites with no API or download link: reading pages, filling forms, clicking through flows, uploading a file that's on the computer. HOW: - args is one agent-browser command as a list, for example: ["open", "https://example.com"] → opens a page ["snapshot", "-i"] → the page's interactive elements, each with a ref like @e3 ["click", "@e3"], ["fill", "@e5", "jane@example.com"], ["press",…

ParameterTypeDescription
args *arrayThe agent-browser command and its arguments, for example ["open", "https://example.com"].
computer *stringThe computer's name, as computer_list shows it (for example "research").

computer_copy_in

Put a file on a computer: either a local file, or text you write (a script, a config file, a list). When connected to a host that authorizes file reads, its path permission decision applies to library_path. Standalone clients require the file inside the Library (MCP_WORKSPACE_PATH). WHEN TO USE: - A command or website on the computer needs one of the person's files: pass library_path. - You need to write a file on the computer: pass content. This is easier than writing it through computer_run, with no quoting. GOOD TO KNOW: one file at a time, up to 200 MB (zip a folder first). By default it…

ParameterTypeDescription
computer *stringThe computer's name, as computer_list shows it (for example "research").
destination *stringWhere to put it on the computer; relative paths start in its home folder (for example "q3.xlsx" or "data/q3.xlsx").
contentstringText to write into the file instead of copying a Library file.
library_pathstringA local file to copy. Relative paths start in the Library (for example "Reports/q3.xlsx"). When connected to a host that authorizes file reads, its path permission decision applies; standalone clients…
replacebooleantrue to overwrite an existing file there.

computer_copy_out

Copy a file from a computer to a local file, so the person can open it. When connected to a host that authorizes file writes, its path permission decision applies to library_path. Standalone clients require the destination inside the Library (MCP_WORKSPACE_PATH). WHEN TO USE: - A result the person should keep or see: a report, a chart, a converted document, a download. GOOD TO KNOW: it creates a new file and never overwrites a Library file; pick a new name if one exists. One file at a time (zip folders first, with computer_run). RETURNS: library_path (where it was saved) and its size.

ParameterTypeDescription
computer *stringThe computer's name, as computer_list shows it (for example "research").
library_path *stringNew local file path. When connected to a host that authorizes file writes, its path permission decision applies; standalone clients require the destination inside the Library, for example "Reports/q3-…
source *stringThe file on the computer; relative paths start in its home folder.

computer_save_tool

Save a script on a computer as a named tool, so it can be used again later with computer_use_tool (by you, or in a later conversation or automation). WHEN TO USE: - You worked out a multi-step job that will be needed again (a weekly report, a file clean-up, a site check). Test it with computer_run first, then save it. GOOD TO KNOW: the script is bash (or anything with a #! line); arguments arrive as $1, $2…; it runs in the home folder. Saving with an existing name replaces that tool. RETURNS: the tool's name and where it is saved (~/tools/<name>).

ParameterTypeDescription
computer *stringThe computer's name, as computer_list shows it (for example "research").
description *stringOne or two sentences: what it does and what arguments it takes.
name *stringTool name: lowercase letters, digits and dashes (for example "weekly-report").
script *stringThe script.

computer_tools

List the tools saved on a computer with computer_save_tool, with what each does. WHEN TO USE: before redoing a job by hand on a computer that may already have a tool for it. RETURNS: tools (name, description). If a saved tool's file could not be read, unreadable names it; save that tool again with computer_save_tool to fix it.

ParameterTypeDescription
computer *stringThe computer's name, as computer_list shows it (for example "research").

computer_use_tool

Run a tool saved on a computer (see computer_tools), with arguments. GOOD TO KNOW: tools work on files on the computer. To use a Library file, copy it in first (computer_copy_in); to give the person a result, copy it out afterwards (computer_copy_out). If the command is still running after about 45 seconds, the result has state "running" and a job id: call computer_job with that job to keep waiting (each call waits up to 45 s more and returns new output from next_offset). A running job is ended automatically if nobody waits on it for 3 minutes, so keep calling computer_job while you still wa…

ParameterTypeDescription
computer *stringThe computer's name, as computer_list shows it (for example "research").
name *stringThe saved tool's name.
argsarrayArguments, passed as $1, $2….
timeout_secintegerEnd it after this many seconds. Default 1800.

computer_stop

Stop (turn off) a computer now. Everything on it is kept; a stopped computer costs only storage and starts again by itself the next time a tool uses it. Running commands are ended. WHEN TO USE: the work is done and the person won't need it for a while. Computers also stop by themselves after 15 idle minutes, so this is optional. RETURNS: the computer's name and new state.

ParameterTypeDescription
computer *stringThe computer's name, as computer_list shows it (for example "research").

computer_remove

Delete a computer for good: the machine, its home folder, saved tools, browser sign-ins and every file on it. This can't be undone, and its cost stops. WHEN TO USE: only when the person asks to delete it, or agrees after you suggest it. Copy out anything they want to keep first (computer_copy_out). RETURNS: the removed computer's name.

ParameterTypeDescription
computer *stringThe computer's name, as computer_list shows it (for example "research").