Skip to main content
Glama

What if your AI could do everything you do on a computer?

Not just write code — but open a browser, click buttons, fill forms, run servers, test in real browsers, install anything, and see the screen?

taw-computer is an open-source MCP server that gives AI agents a full Ubuntu desktop inside Docker. Your AI connects, gets a real computer, and works like a human would.

No internal LLM. No chat UI. Your AI is the brain. This is the body.

Related MCP server: PyMCPAutoGUI

Demo

Why taw-computer?

Other tools let AI write code. taw-computer lets AI use a computer.

ChatGPT / Claude

Cursor / Copilot

Lovable / Bolt

taw-computer

Write code

✅

✅

✅

✅

Run shell commands

❌

Limited

Sandboxed

Full Ubuntu

Browse the web

❌

❌

❌

Real Chromium

See & click the screen

❌

❌

❌

Desktop + VNC

Install any software

❌

❌

❌

apt/npm/pip

Test in real browser

❌

❌

Preview only

Playwright + CDP

Persist across sessions

❌

❌

✅

Snapshots

Self-hostable

❌

❌

❌

100% yours

Quick start

Get running in under 5 minutes:

# 1. Clone & build
git clone https://github.com/the-agents-work/taw-computer.git
cd taw-computer
docker build -f images/Dockerfile.taw -t taw-computer-base .

# 2. Install & start
npm install && npm start

Then add to your AI client:

{
  "mcpServers": {
    "taw-computer": {
      "command": "npx",
      "args": ["tsx", "/path/to/taw-computer/mcp/index.ts"]
    }
  }
}

Add to Cursor MCP settings (Settings → MCP Servers) — same JSON format as above.

Add to claude_desktop_config.json — same JSON format as above.

taw-computer speaks standard MCP over stdio. Any client that supports MCP can connect.

Got a powerful server / Mac Mini / VPS? Run taw-computer there and connect from anywhere:

{
  "mcpServers": {
    "taw-computer": {
      "command": "ssh",
      "args": ["user@your-server", "cd /path/to/taw-computer && npx tsx mcp/index.ts"]
    }
  }
}
Your laptop (Claude Code)
    ↕ SSH (stdin/stdout piped over network)
Remote server (taw-computer + Docker)
    ↕ Docker
Ubuntu sandbox

Setup:

  1. On the server: install Docker, clone repo, build image, npm install

  2. On the server: enable SSH (sudo systemctl enable ssh)

  3. On your laptop: ssh-copy-id user@your-server (passwordless login)

  4. Add the MCP config above — done!

Watch via VNC: open http://your-server:6080 in your browser.

That's it. Now tell your AI: "Create a VM and build me a website" — and watch it work.

What can it do?

🖥️ "Build me a landing page"

AI creates a VM → scaffolds Next.js → writes components → starts dev server → opens browser to check → iterates until it looks right

🌐 "Go to Amazon and find the best laptop under $1000"

AI opens Chromium → navigates to Amazon → searches → scrolls → extracts prices → compares → reports back

🧪 "Run E2E tests on my deployed app"

AI launches Playwright → navigates to your URL → fills forms → clicks buttons → asserts results → reports failures

🔧 "Set up a PostgreSQL database with sample data"

AI runs apt install postgresql → creates database → writes seed script → runs it → verifies with queries

📸 "What does my app look like on mobile?"

AI takes desktop screenshot → resizes viewport → screenshots again → compares → suggests CSS fixes

How it works

┌─────────────────────────────────────────────────────┐
│  Your AI Client                                     │
│  Claude Code · Cursor · Claude Desktop · any MCP    │
└───────────────────────┬─────────────────────────────┘
                        │ MCP protocol (stdio)
┌───────────────────────▼─────────────────────────────┐
│  taw-computer MCP server          30+ tools         │
│  vm · shell · files · browser · desktop · search    │
└───────────────────────┬─────────────────────────────┘
                        │ Docker API
┌───────────────────────▼─────────────────────────────┐
│  Ubuntu 22.04 Sandbox              isolated container│
│                                                      │
│   bash    Chromium + CDP    xfce4 Desktop + VNC     │
│     git npm pip curl          Playwright              │
│       python node              xdotool scrot          │
│                                                      │
│   /workspace ← your project files live here          │
└──────────────────────────────────────────────────────┘

30+ tools

Tool

What it does

vm_create

Spin up a new sandbox. Returns VNC URL to watch live

vm_destroy

Destroy (auto-saves snapshot for later)

vm_reset

Destroy + delete snapshot (fresh start)

vm_restart

Restart container, keep all files

vm_status

CPU, RAM, disk, uptime, top processes

vm_list

List running sandboxes

vm_rename

Rename a VM

snapshot_list

List saved snapshots

snapshot_delete

Delete a snapshot

Tool

What it does

exec

Run any command: git, npm, pip, curl, docker, anything

fs_read

Read a file

fs_write

Write a file (creates parent dirs)

fs_edit

Find-and-replace in a file

fs_list

ls / recursive find

fs_search

grep for patterns

code_search

ripgrep with regex, file types, context

file_upload

Upload file into VM (base64, max 50MB)

Tool

What it does

browser_navigate

Go to URL, wait for load

browser_snapshot

Screenshot + numbered overlays on every clickable element

browser_click_ref

Click element #N from snapshot

browser_type_ref

Type into element #N

browser_extract

Read page text (CSS selector or full page)

browser_eval

Run JavaScript in page

browser_wait_for

Wait for selector / text / network idle

browser_console_logs

Read console.log, console.error, etc.

browser_network_errors

Catch 404s, CORS errors, failed requests

browser_run_test

Run a Playwright test script

browser_open

Open Chrome via desktop (fallback)

browser_close

Kill Chrome

web_search

Google search → top 8 results

Tool

What it does

desktop_screenshot

JPEG screenshot of the whole desktop

desktop_click

Click at (x, y)

desktop_type

Type text into focused window

desktop_key

Key combos: ctrl+c, alt+tab, Return, etc.

desktop_scroll

Scroll up/down

desktop_drag

Drag from A to B

Set-of-Mark: how browser automation actually works

Most "computer use" tools guess pixel coordinates. We use Set-of-Mark prompting — the AI sees numbered badges on every interactive element:

Step 1: browser_snapshot
        → AI sees screenshot with [1] Login  [2] Search  [3] Cart  ...

Step 2: browser_click_ref(ref=2)
        → clicks the Search box precisely

Step 3: browser_type_ref(ref=2, text="laptop", submit=true)  
        → types and presses Enter

Step 4: browser_snapshot
        → sees new page with results [4] [5] [6] ...

No coordinate guessing. No CSS selector fragility. The AI sees what it's clicking.

VNC — watch your AI work in real time

Every sandbox comes with a noVNC web viewer. Open the URL in your browser and watch:

  • 🖱️ AI navigating websites and clicking buttons

  • ⌨️ AI writing code in the terminal

  • 🏗️ AI building and testing applications

  • 🐛 AI debugging by inspecting the screen

Perfect for demos, debugging, and building trust in AI agents.

What's inside each sandbox

Included

OS

Ubuntu 22.04

Desktop

xfce4 + Xvfb + x11vnc + noVNC

Browser

Playwright Chromium (native arm64 + amd64)

Languages

Node.js 20, Python 3, build-essential

CLI

git, curl, wget, jq, ripgrep, tree, nano, vim

DB clients

PostgreSQL, MariaDB, Redis

Dev tools

GitHub CLI, yq, httpie

Automation

xdotool, scrot, imagemagick, xclip

Configuration

Variable

Default

Description

MAX_SANDBOXES

3

Max concurrent VMs

SANDBOX_TYPE

auto

auto / docker / firecracker

DOCKER_IMAGE

taw-computer-base

Base image

DOCKER_MEMORY_MB

4096

RAM per container

DOCKER_CPUS

2

CPUs per container

DESKTOP_RESOLUTION

1280x720

Screen resolution

Requirements

Minimum

Docker

Docker Desktop or Docker Engine

Node.js

20+

RAM

~4GB per sandbox

Disk

~5GB for base image

Project structure

taw-computer/
├── mcp/
│   ├── index.ts            # MCP server — stdio, 30+ tool handlers
│   └── browser.ts          # Playwright CDP + Set-of-Mark engine
├── sandbox/
│   ├── SandboxManager.ts   # Abstract interface
│   ├── DockerSandbox.ts    # Docker implementation
│   ├── FirecrackerSandbox.ts # Firecracker microVM (optional)
│   ├── NetworkManager.ts   # Network isolation
│   ├── config.ts           # Env-based config
│   └── index.ts            # Auto-detect backend
├── images/
│   └── Dockerfile.taw      # Ubuntu sandbox image
├── .github/
│   ├── workflows/ci.yml    # CI: typecheck + Docker build
│   └── ISSUE_TEMPLATE/     # Bug report + feature request
├── package.json
├── CONTRIBUTING.md
└── LICENSE (MIT)

Contributing

We'd love your help! See CONTRIBUTING.md.

Ideas for first contributions:

  • 🎨 Record a demo GIF for this README

  • 📝 Write a tutorial ("Build X with taw-computer")

  • 🔧 Add a new MCP tool (audio? clipboard? multi-tab?)

  • 🐳 Build a slimmer Docker image

  • 🧪 Add automated tests

  • 📦 Support Podman / containerd

Hosted version

Don't want to self-host? shipkit.cc — managed taw-computer with:

  • Chat UI (just type what you want)

  • Auth & team collaboration

  • One-click app sharing

  • No Docker setup needed

FAQ

Those are closed-source, hosted-only products that generate code. taw-computer gives AI a real computer — it can run servers, browse the web, install anything, and interact with any desktop app. It's also open source and self-hostable.

OpenInterpreter runs code on your local machine (risky). Open Hands uses its own LLM orchestration. taw-computer is just the computer — no built-in LLM, no opinions about orchestration. Your existing AI client (Claude Code, Cursor, etc.) is the brain. taw-computer is a pure MCP server.

Each sandbox is an isolated Docker container with its own filesystem, network, and process space. Nothing inside can touch your host system. Containers have memory/CPU/PID limits. When you're done, destroy the VM.

Yes — any AI client that supports MCP can connect. The server doesn't care which LLM is behind the client.

Yes. Anywhere Docker runs, taw-computer runs. The sandbox image supports both arm64 (Apple Silicon) and amd64 (Intel/AMD).

Star History

License

MIT — do whatever you want with it.

Available Tools

36 tools
browser_click_refC

Click an element by its ref number from the most recent browser_snapshot.

Inputs: id (required), ref (required).

browser_closeC

Kill all Chrome processes inside the sandbox.

Inputs: id (required).

browser_console_logsC

Return captured browser console logs (errors, warnings, info) from the current page.

Inputs: id (required), clear, level.

browser_evalC

Run a JavaScript expression in the page context and return the result.

Inputs: id (required), expression (required).

browser_extractA

Read text content from the page. With selector: returns innerText of matching elements. Without: full page text.

Inputs: id (required), selector.

browser_navigateB

Navigate the sandbox Chrome to a URL via CDP (Playwright). Returns final URL and page title.

Inputs: id (required), url (required).

browser_network_errorsC

Return captured network request failures (404s, CORS errors, etc.).

Inputs: id (required), clear.

browser_openB

Open Chrome inside the sandbox (or navigate the existing tab) at the given URL, then return a JPEG screenshot.

Inputs: id (required), url.

browser_run_testB

Run a Playwright test script against the browser inside a VM. Has page, browser, context, and chromium available.

Inputs: id (required), script (required), timeout_ms.

browser_snapshotA

Inject numbered overlays on every visible interactive element (Set-of-Mark prompting), screenshot the page, return both the screenshot and element refs. Use browser_click_ref / browser_type_ref to interact.

Inputs: id (required), quality, max_width.

browser_type_refB

Focus an element by ref and type text into it. Set submit=true to press Enter after.

Inputs: id (required), ref (required), text (required), submit.

browser_wait_forB

Wait until a condition holds (selector visible, text appears, or network idle).

Inputs: id (required), text, selector, timeout_ms, +1 more.

desktop_clickC

Click at (x,y) on the sandbox desktop. button=1 left, 2 middle, 3 right.

Inputs: x (required), y (required), id (required), button.

desktop_dragB

Drag from (from_x, from_y) to (to_x, to_y) on the sandbox desktop.

Inputs: id (required), to_x (required), to_y (required), from_x (required), +3 more.

desktop_keyC

Press a key combo via xdotool, e.g. "Return", "ctrl+l", "alt+Tab".

Inputs: id (required), key (required).

desktop_screenshotA

Take a JPEG screenshot of the sandbox desktop (xfce4) and return as image content.

Inputs: id (required), quality, max_width.

desktop_scrollD

Scroll at (x,y).

Inputs: x (required), y (required), id (required), amount, +1 more.

desktop_typeC

Type text into the focused window via xdotool.

Inputs: id (required), text (required).

execA

Run a shell command inside the sandbox. Returns combined stdout+stderr. Use for any CLI work: git, npm, pip, apt, curl, etc.

Inputs: id (required), command (required).

file_uploadB

Upload a file into a VM. Pass content as base64 string (max 50MB).

Inputs: id (required), path (required), content_base64 (required).

fs_editA

Replace a string in a file. Fails if old_string is not found. Set replace_all=true to replace every occurrence.

Inputs: id (required), path (required), new_string (required), old_string (required), +1 more.

fs_listA

List files in a directory (ls -la, or recursive find with depth 3).

Inputs: id (required), path (required), recursive.

fs_readC

Read a file inside the sandbox.

Inputs: id (required), path (required).

fs_writeB

Write content to a file inside the sandbox (creates parent dirs as needed).

Inputs: id (required), path (required), content (required).

snapshot_deleteA

Delete a saved snapshot by label. This frees disk space and means the next vm_create with this label will start fresh.

Inputs: label (required).

snapshot_listA

List all saved snapshots. Each snapshot can be resumed by calling vm_create with the same label and use_snapshot=true.

Inputs: no named parameters.

vm_createA

Create a new sandbox (isolated Ubuntu mini-computer with shell, Chrome + CDP, VNC, xfce4). IMPORTANT: Before creating, check if the user has saved snapshots by looking at the available_snapshots field in the response. If snapshots exist, ask the user whether they want to resume from a snapshot or start fresh. Set use_snapshot: true to resume. Backend is auto-detected: Firecracker microVM if KVM available, Docker otherwise. Returns the sandbox id used by all other tools, plus a noVNC URL the human can open to watch what the AI is doing. IMPORTANT: Always present vnc_url exactly as returned — never modify the URL path, filename, or query parameters.

Inputs: label (required), extra_ports, profile_dir, use_snapshot.

vm_destroyA

Destroy a sandbox and free its ports. By default the VM filesystem is saved as a snapshot so recreating with the same label resumes where you left off. Set save_snapshot to false to destroy without saving (e.g. when the VM contains sensitive data the user does not want persisted). Use vm_reset to also delete any previously saved snapshot.

Inputs: id (required), save_snapshot.

vm_listA

List active sandboxes created in this MCP session.

Inputs: no named parameters.

vm_renameA

Rename a running VM by changing its label. The label is used for snapshot naming — renaming does NOT migrate existing snapshots (they stay under the old label).

Inputs: id (required), label (required).

vm_resetA

Reset a VM to a clean state. Destroys the current VM AND deletes its saved snapshot, so the next vm_create with the same label starts fresh from the base image.

Inputs: id (required).

vm_restartA

Restart a sandbox. Stops and starts the container — all files, databases, and installed packages are preserved. Only processes are restarted.

Inputs: id (required).

vm_statusA

Get resource usage (CPU, memory, disk, uptime, top processes) and port mappings for a sandbox. Use to diagnose OOM, high CPU, or check available disk space.

Inputs: id (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 36 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose, organized by domain (VM, snapshot, file, desktop, browser, web). There is no overlap; actions are easily distinguishable even with many tools.

    Naming Consistency5/5

    All tool names follow a consistent snake_case pattern with domain prefixes (vm_, snapshot_, fs_, desktop_, browser_) plus a few standalone names (exec, web_search, file_upload). No mixing of conventions.

    Tool Count4/5

    36 tools is on the higher side, but the server covers a broad scope (VM management, filesystem, desktop, browser automation, web search). Each tool serves a needed function, making the count reasonable for the domain.

    Completeness5/5

    The tool surface is comprehensive, covering full VM lifecycle, snapshot management, file operations, desktop interaction, and browser automation with advanced features (CDP, Playwright tests, console/network logs). No obvious gaps for computer use tasks.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      A Model Context Protocol server that enables AI clients to interact with virtual Ubuntu desktops, allowing them to browse the web, run code, and control instances through mouse/keyboard actions and bash commands.
      5
      18
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that bridges AI agents with GUI automation capabilities, allowing them to control mouse, keyboard, windows, and take screenshots to interact with desktop applications.
      23
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that gives AI agents human-like control over Windows via visual perception and simulated mouse and keyboard input, enabling automation of any application without APIs.
      33 npm
      6
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      An all-in-one MCP server that enables AI agents with local system capabilities like filesystem navigation, command execution, desktop automation, and a continuity memory suite for persistent cross-session project context.
      37
      MIT