taw-computer
Allows AI agents to browse Amazon, search for products, compare prices, and extract information from product pages.
Provides web search capabilities via Google Search, returning top results for queries.
Enables AI agents to install and configure PostgreSQL databases, run queries, and manage data.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@taw-computer build me a landing page"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 startThen 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 sandboxSetup:
On the server: install Docker, clone repo, build image,
npm installOn the server: enable SSH (
sudo systemctl enable ssh)On your laptop:
ssh-copy-id user@your-server(passwordless login)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 |
| Spin up a new sandbox. Returns VNC URL to watch live |
| Destroy (auto-saves snapshot for later) |
| Destroy + delete snapshot (fresh start) |
| Restart container, keep all files |
| CPU, RAM, disk, uptime, top processes |
| List running sandboxes |
| Rename a VM |
| List saved snapshots |
| Delete a snapshot |
Tool | What it does |
| Run any command: git, npm, pip, curl, docker, anything |
| Read a file |
| Write a file (creates parent dirs) |
| Find-and-replace in a file |
| ls / recursive find |
| grep for patterns |
| ripgrep with regex, file types, context |
| Upload file into VM (base64, max 50MB) |
Tool | What it does |
| Go to URL, wait for load |
| Screenshot + numbered overlays on every clickable element |
| Click element #N from snapshot |
| Type into element #N |
| Read page text (CSS selector or full page) |
| Run JavaScript in page |
| Wait for selector / text / network idle |
| Read console.log, console.error, etc. |
| Catch 404s, CORS errors, failed requests |
| Run a Playwright test script |
| Open Chrome via desktop (fallback) |
| Kill Chrome |
| Google search → top 8 results |
Tool | What it does |
| JPEG screenshot of the whole desktop |
| Click at (x, y) |
| Type text into focused window |
| Key combos: ctrl+c, alt+tab, Return, etc. |
| Scroll up/down |
| 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 concurrent VMs |
|
|
|
|
| Base image |
|
| RAM per container |
|
| CPUs per container |
|
| 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
Related
Model Context Protocol — the protocol taw-computer speaks
Claude Code — AI coding CLI that supports MCP
Playwright — browser automation powering CDP tools
License
MIT — do whatever you want with it.
Available Tools
36 toolsbrowser_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_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.
code_searchA
Search codebase content using ripgrep. Much faster and smarter than fs_search — supports regex, file type filters, context lines, and higher result limits.
Inputs: id (required), pattern (required), glob, path, +6 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_searchB
grep -rn for a pattern in a directory.
Inputs: id (required), pattern (required), path, file_pattern.
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).
web_searchC
Search Google and return up to 8 organic results as {title, url, snippet}.
Inputs: id (required), query (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 36 tools
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.
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.
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.
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
Related MCP Connectors
MCP server that lets your AI assistant build and deploy apps, hosting each one at a live URL.
MCP server for building and testing AI agents with multi-model experimentation and insights.
Make games with AI: one MCP server that connects your agent to Unity, Unreal and Godot editors.
Official MCP server for Agentwork — delegate tasks to AI agents with human-in-the-loop
Related MCP Servers
- AlicenseAqualityDmaintenanceA 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.518MIT
- AlicenseNot gradedqualityDmaintenanceAn 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.23MIT
- AlicenseNot gradedqualityDmaintenanceAn 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 npm6MIT
- AlicenseBqualityDmaintenanceAn 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.37MIT