Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
Isolated Linux desktop workspaces for AI agents — a hidden, agent-owned desktop and browser over MCP, so an agent can do GUI and web work without touching your real desktop.
Jump to setup instructionsNo tool list is on record. This does not mean the server has no tools. Tools were not run.
No setup evidence yet No matching config or report on record. This does not mean the server is incompatible.
Same catalog task: Search & browse the web.
MCP server for browser use access
Same catalog task: Search & browse the web.
MCP (Model Context Protocol) server for browser tools integration
Same catalog task: Search & browse the web.
MCP server for AI Mentora, compatible with ModelContextProtocol. Provides es-fulltext-retrieve tool for Canadian case law search.
Fetched from the repository for this visit.
A hidden Linux desktop that an AI agent controls over MCP.
Your mouse, keyboard, focus and browser stay yours.
One agent, six hidden desktops. Each tile is a real workspace on one machine, captured by the agent itself.
Install · Quick start · Backends · Browser · Security · Limitations · Docs
Running open models for your company? Tiyuvta helps with model choice, deployment and optimization, and fine-tuning on your hardware or cloud account.
Built and maintained with a lot of agent tokens and hours. If it saves you time, sponsoring helps keep it going.
Agents that "use a computer" usually take over your screen. They move your mouse, steal focus and drive your logged-in browser. agent-workspace-linux gives the agent its own desktop: a private X11 or native Wayland display with its own window manager or compositor, apps, clipboard and browser, on any of six backends. The agent launches apps, types, clicks, takes screenshots and browses there. You watch, pause or stop it from a small floating viewer. It speaks MCP over stdio, so it works with Claude Code, Codex and other MCP hosts.
| Use case | When |
|---|---|
| GUI and web QA | An agent must test an app or website without hijacking your desktop or Chrome session. |
| Background browsing | Web or shopping tasks run in a browser you can watch and stop, on a throwaway profile or your own logins. |
| Clean desktops | You need a fresh Linux desktop to run, screenshot and inspect an app, then tear it down. |
| Unattended agents | A long-running or headless agent needs a desktop of its own. |
This is not a tool for driving your actual desktop. For that, use its sibling computer-use-linux. The two complement each other.
1. System packages. These cover the default X11 backend:
sudo apt install xvfb openbox xdotool xauth x11-utils imagemagick xclip \
dbus-daemon pkg-config libxkbcommon-x11-dev
Other backends need their own packages.
2. The binary. Pick one:
# From a clone: builds into ~/.local/bin/ and installs the bundled skill (safe to rerun)
./install.sh
# npm: downloads the prebuilt binary from the matching release and checks its sha256
npm install -g @agent-sh/agent-workspace-linux
# cargo: builds from git and installs only the binary (add --tag v0.6.3 to pin)
cargo install --git https://github.com/agent-sh/agent-workspace-linux
Prebuilt x86_64 and aarch64 binaries with .sha256 sidecars are on GitHub Releases. Verify with sha256sum -c, chmod +x, and put the binary on your PATH.
Starting with v0.6.5, both binaries are built on Ubuntu 24.04 (glibc 2.39) and tested on Debian 13.
3. Register the MCP server. For hosts that read .mcp.json:
{
"mcpServers": {
"agent-workspace-linux": {
"command": "/home/YOU/.local/bin/agent-workspace-linux",
"args": ["mcp"]
}
}
}
./install.sh installs the skill to ~/.codex/skills/ by default. Codex MCP registration is opt-in: use --codex-configure only for generic MCP-host workflows. In Codex for Linux, use the dedicated Agent Workspaces feature page to configure the backend and permission ceiling, so the generic MCP settings pages stay clean. If an older install still appears there, run ./install.sh --clean-codex-config to remove the stale server and tool tables.
Other flags: --permissions, --skills-dir, --no-skill, --dry-run. See install.sh --help.
With cargo or a prebuilt binary, copy skills/agent-workspace-linux/ into your skills directory if you want the bundled skill.
# 1. What can this machine run? (dependencies, displays, backends)
agent-workspace-linux doctor
# 2. Preview a workspace without creating anything
agent-workspace-linux workspace start --dry-run
# 3. Create the hidden workspace (explicit acknowledgement required)
agent-workspace-linux workspace start --ack-hidden-workspace --purpose "QA run"
# 4. Watch it in the floating viewer
agent-workspace-linux viewer
# 5. Launch an app, look at it, stop the workspace
agent-workspace-linux workspace launch --name editor -- xterm
agent-workspace-linux workspace observe --screenshot --output /tmp/ws.png
agent-workspace-linux workspace stop
Through an MCP host you don't run these by hand. The agent calls the matching tools, routed by the bundled skill.
Use --id NAME to name a workspace. The name viewers is reserved for the shared viewer registry and is excluded from workspace listing and stale cleanup.
Choose a backend with --session on workspace start and workspace open-profile, or with "session": {"backend":"hyprland"} in MCP calls and saved profiles. Explicit CLI or MCP input overrides the profile. With neither, the workspace uses X11.
Choose GNOME 46 independently of your host's GNOME version:
agent-workspace-linux runtime prepare --backend gnome --version 46
agent-workspace-linux workspace start --ack-hidden-workspace --id gnome46 \
--session gnome --session-version 46 --scale 1.25 --width 1600 --height 1000
The prepared runtime uses Ubuntu 24.04's GNOME and Mutter packages. Preparing it requires Docker; starting it requires bubblewrap with overlay support. Preparation downloads the packages once. Startup uses the cached runtime and never downloads or substitutes another version. The host desktop and system packages stay unchanged.
Use "session":{"backend":"gnome","version":"46","scale":1.25} through MCP or in a saved profile. Omit version, or pass --session-version host, to use host packages. runtime list and the doctor's session_runtimes field show availability and the installed version. GNOME 46 is the only prepared entry; other versions can be added when needed.
The selected runtime supplies system programs and libraries. Your home directory and the workspace's private runtime remain accessible. Display sockets and session buses are private. This QA runtime does not relay the host session bus, keyring, SSH/GPG agents, dconf or sound. Use the host runtime for those services. The writable image layer and its temporary files are removed after shutdown. After an interrupted supervisor, stale cleanup removes abandoned layers once their processes have stopped. The prepared image stays cached for reuse.
| Backend | --session | What runs | Scale | GPU |
|---|---|---|---|---|
| X11 (default) | x11 | Xvfb + Openbox | 1 | none |
| i3 | i3 | Xvfb + i3 | 1 | none |
| KWin | kwin | KWin 6.6+ virtual Wayland compositor | fractional | render node |
| GNOME | gnome | GNOME 46 in a prepared runtime, or host Shell 50/51 + Mutter | fractional | none |
| Hyprland | hyprland | Hyprland 0.53 on a private KWin renderer | fractional | render node |
| COSMIC | cosmic | cosmic-comp under a headless Weston parent | fractional | none |
doctor reports ready_for_<backend>_workspace for each one and lists anything missing.
Extra packages on top of the X11 set, for Ubuntu 26.04:
| Backend | Packages |
|---|---|
| i3 | i3-wm |
| KWin | kwin-wayland kwin-common libkscreen-bin libkf6service-bin wl-clipboard xwayland |
| GNOME | gnome-shell xwayland libglib2.0-bin bubblewrap |
| Hyprland | hyprland kwin-wayland xwayland grim wtype wl-clipboard bubblewrap |
| COSMIC | weston xwayland x11-xserver-utils wl-clipboard bubblewrap, plus cosmic-comp (below) |
"Render node" means your user can read and write a /dev/dri/renderD* device, usually through the render group. On a host with an NVIDIA GPU and another GPU, Hyprland renders on the other one.
Ubuntu does not package cosmic-comp. Install the Pop!_OS build that the COSMIC probe pins, with its libdisplay-info1 dependency:
curl -fLO https://apt.pop-os.org/release/pool/noble/cosmic-comp/8cb1802caada438bb5cc7670dfabdaca5fad0502/cosmic-comp_0.1~1792508925~24.04~8cb1802_amd64.deb
curl -fLO https://archive.ubuntu.com/ubuntu/pool/universe/libd/libdisplay-info/libdisplay-info1_0.1.1-2build1_amd64.deb
cat > cosmic.sha256 <<'EOF'
f493771502e56245158906e92b4da0b5a7f0bc2fb1926f3feb81d6294541b427 cosmic-comp_0.1~1792508925~24.04~8cb1802_amd64.deb
a3bfce18d53aa9d635d899f1f555e84bbbf2c859d80cef3b4eb1c36b2c772026 libdisplay-info1_0.1.1-2build1_amd64.deb
EOF
# Installs only when both checksums match
sha256sum -c cosmic.sha256 && sudo apt install \
./cosmic-comp_0.1~1792508925~24.04~8cb1802_amd64.deb ./libdisplay-info1_0.1.1-2build1_amd64.deb
Use --scale 1.5 (or "scale":1.5 in a profile or MCP session) on KWin, GNOME, Hyprland or COSMIC for a 150% output. On every native Wayland backend, width, height, window geometry and pointer coordinates are screenshot pixels:
Apps use native Wayland by default. Rootless XWayland stays available for legacy clients. The viewer, IPC, permission ceiling and Chrome profile import rules are the same on every backend.
KWin runs as a native Wayland virtual compositor, with no Xvfb underneath. Each workspace owns its Wayland socket, session D-Bus, settings, input and clipboard. This is KWin, not the full Plasma shell.
GNOME Shell and Mutter run with a private headless output and software rendering, with no GPU or parent compositor.
agent-workspace-linux workspace start --ack-hidden-workspace \
--session gnome --scale 1.5 --width 1200 --height 900
Hyprland runs on a private KWin renderer with a separate headless output, native toplevel capture and authenticated XWayland. See the Hyprland guide.
cosmic-comp runs under a software-only Weston headless parent, with no host display, input device or GPU. It supports fractional scaling and authenticated XWayland clients. See the COSMIC guide.
A private Xvfb display with i3 at scale 1. The private i3 config has no launcher bindings, bar or startup commands. Moving or resizing a tiled window makes it floating. Minimize uses the i3 scratchpad; show returns the window to the current workspace. Window capture leaves focus unchanged.
Browser commands need a workspace-owned Chrome with loopback DevTools. open-browser launches one with the right flags:
# Launch workspace-owned Chrome (--dry-run prints the argv first)
agent-workspace-linux workspace open-browser --dry-run
agent-workspace-linux workspace open-browser "http://127.0.0.1:8111"
# Drive it; the URL is positional
agent-workspace-linux workspace browser-navigate "http://127.0.0.1:8111/page" --wait-ms 1500
agent-workspace-linux workspace browser-snapshot --max-text-chars 2000
browser-navigate and browser-click re-read the page after acting, so target.url and target.title describe the page you landed on. If that refresh fails, the response carries a warning rather than stale metadata.
DevTools binds to an ephemeral loopback port, and Chrome rejects WebSocket upgrades whose Origin is not allow-listed, port included. No static --remote-allow-origins value can match (* would, but it disables that CSRF protection). Omit the Origin header instead:
ws = websocket.create_connection(ws_debugger_url, suppress_origin=True)
The workspace is not a sandbox. Apps launched in it run as you, with your files and network. Host runtimes also relay your keyring and SSH agent; prepared GNOME 46 does not relay host session services. Only their windows stay in the workspace. An agent acting there acts for you, so the controls decide what it may do, not what it can reach.
| Control | Who sets it | What it does |
|---|---|---|
| Your agent host (Claude Code, Codex, ...) | You | Approves tool calls in its own flow. Every tool is marked read-only, write, destructive or open-world in its MCP annotations and in mcp_action_catalog, so the host can ask before the risky ones. Starting a hidden workspace needs one explicit acknowledgement. |
App allowlist (--permissions file.json or AGENT_WORKSPACE_PERMISSIONS) | You or the operator who launched the MCP | Limits which programs agents may launch, enforced at the MCP front end and the daemon's socket for the life of the MCP process. |
| Live viewer control (pause, read-only, stop) | The human watching | Stops or freezes the agent at any time. If the daemon cannot read the shared control state, mutating calls fail closed. |
| Workspace vs. desktop | The runtime | Input, screenshots, windows, clipboard and browser control target the workspace only, never your desktop or your host Chrome. Leakage onto your desktop is a reportable bug. |
See docs/permission-model.md and SECURITY.md.
Managed terminal sessions end when their workspace stops, even after the terminal window has closed. Stale cleanup uses the saved launch and session identity. Verified terminal cleanup uses Linux pidfds; older kernels without SO_PEERPIDFD use pidfd_open with process, session and exact socket-argument checks. If ownership cannot be verified, stop and cleanup keep the runtime and report an error instead of signaling an unrelated process.
| Concept | What it is |
|---|---|
| Hidden workspace | A private X11 or Wayland display, window manager or compositor, and control socket. Apps launched into it attach to that display, not your session. Creating one needs --ack-hidden-workspace, so it is never silent. |
| Permission ceiling | Optional JSON app allowlist (apps.allow), enforced for the life of the MCP process. |
| Profiles | Reusable workspace definitions: backend, size, working directory, environment, setup commands, startup apps. Start from profile template project-dev, chrome or browser-session. |
| Viewer | A small GPUI window with workspace state, a live screen view and pause, read-only and stop controls. Not always-on-top by default. |
| Workspace browser | Workspace-owned Chrome or Chromium over a loopback DevTools endpoint, so automation never attaches to your host Chrome. |
The MCP exposes 82 tools. To keep them out of the agent's context, it ships a skill at skills/agent-workspace-linux/SKILL.md. Only its short description stays loaded. When a task needs a background desktop or browser, the agent reads the skill, which routes it through the phases (orient, start, observe, act, stop) and loads tool schemas on demand.
./install.sh installs it to ~/.codex/skills/. Use --skills-dir ~/.claude/skills for Claude.
--user-data-dir while it runs on your desktop is refused for that reason. Electron apps such as Slack can do the same: start them in the workspace only when they are not open on your desktop.Each native backend has a disposable Ubuntu 26.04 acceptance probe. Build the binary, then run the script; each prints its artifact directory and returns nonzero on failure.
| Script | What it checks |
|---|---|
scripts/gnome_probe.sh | Real GTK input at 100% and 150%, clipboard, window operations, physical screenshot sizes, MCP and viewer IPC, private-bus restrictions, managed terminal cleanup, native and XWayland apps. No host display, input device, system bus or GPU. Override GNOME_PROBE_BIN and GNOME_PROBE_ARTIFACT_DIR. |
scripts/kwin_probe.sh | Actual 100% and 150% scaling, native Qt input and capture, GTK/Qt button presses, releases and activation through CLI/MCP, drag and wheel delivery, MCP startup, viewer frames, denied desktop-service activation, a managed terminal. One DRM render node, no host display, input device or session runtime. |
scripts/kwin_cul_probe.sh | computer-use-linux against the same KWin desktop: AT-SPI activation, global logical-coordinate clicks and client-local element fallback on a Qt window at 150%. Set KWIN_PROBE_BIN and COMPUTER_USE_LINUX_BIN. |
scripts/hyprland_probe.sh | See the Hyprland guide. |
scripts/cosmic_probe.sh | See the COSMIC guide. |
scripts/i3_smoke.py | The real private i3 session and its apps. Set AGENT_WORKSPACE_BIN. |
Portal consent in the computer-use-linux probe applies only to the disposable workspace.
For Slack or GitHub account-session validation, the only human step is approving the Chrome or Chromium user-data directory:
node scripts/mcp_real_profile_browser_session_dogfood.js \
--approved-user-data-dir ~/.config/google-chrome \
--site github
The helper refuses obvious active-profile hazards, copies the approved profile to a disposable directory, launches the browser-session template through the MCP and proves the logged-in page with workspace browser tools, not the host Chrome bridge. Use --site slack for Slack, set BROWSER_BIN=chromium when needed, and add --expect-text for account-specific page text.
computer-use-linux drives the user's real Linux desktop. It is the inverse of this project: it automates the desktop you are on, while agent-workspace-linux gives the agent a separate one in the background. Use them together.
Build with cargo build --locked. Before pushing, run cargo fmt --check, cargo clippy --locked -- -D warnings, cargo nextest run --locked, git diff --check and, for runtime changes, scripts/integration_smoke.sh. cargo test --locked remains supported. See CONTRIBUTING.md and CODE_OF_CONDUCT.md.
MIT © Avi Fenesh
Loading reviews...
GitHub checked 15h ago - refresh overdue. Recently viewed repositories target hourly refresh. Last refresh failed: GitHub network error or request timeout. Saved data may be stale.
Find a documented setup for your client. No sign-in, installation, or tool execution.
If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.