
Connect · Try it · Safety · Docs
An agent drives an app on Ghost's hidden desktop, never on your screen; the
strip under each window is its title bar at twice the size. Recorded, not
drawn: recording script ·
full-width recording.
Ghost is an MCP server, a CLI and a local
REST API. It gives an agent the operating system's own control surface: the
windows and controls of any app, including the ones with no API, plus the
shell and the browser you are already signed into.
It reads apps through the OS accessibility layer (UI Automation on Windows,
AT-SPI2 on Linux), so the agent gets real buttons and fields with names, not
pixels to guess at.
Two promises, measured
It does not take your screen. Agents click, type and scroll inside apps
while you keep working in another window. Apps Ghost starts run on a hidden
desktop you never see, and the focus policy is locked so an agent cannot
decide to take your mouse; only you can unlock it, in the server's config.
Every action is verified. After acting, Ghost re-reads the control or the
screen and returns verified: true only when the change really happened; a
call it cannot complete fails with an error that says why.
How these were measured: background mode
(including the one keystroke that strayed) and benchmarks.
To check both claims on your own hardware, run the ghost verify command from
step 3; it exits non-zero if a claim does not hold. And you stay in charge: see
the safety model.
Quick start
Three steps: install, connect your client, try it.
1. Install
Runs on Windows 10 (build 19041+) and 11, and Linux x86_64 (X11 verified,
Wayland not yet). No macOS yet: see platform support.
Pick one route: Claude Desktop (no terminal),
Windows or Linux.
Claude Desktop
One click: from the
latest release,
download the bundle for your system and open it in Settings > Extensions >
Install from file. Done; skip to step 3.
- Windows:
ghost-windows-x64.mcpb
- Linux:
ghost-linux-x86_64.mcpb
Windows
In PowerShell:
$raw = "https://raw.githubusercontent.com" +
"/NORTHTEKDevs/ghost/main/scripts"
irm "$raw/install-windows.ps1" | iex
Linux
On x86_64:
repo=https://github.com/NORTHTEKDevs/ghost
dl=$repo/releases/latest/download
mkdir -p ghost && cd ghost
curl -L $dl/ghost-linux-x86_64.tar.gz |
tar -xz && ./install.sh
Open a new terminal afterwards so ghost is found. On Wayland, read
platform support first.
With no administrator rights, both installers:
- copy the three programs into place: on Windows into
%LOCALAPPDATA%\Programs\ghost, added to your PATH, after checking the
download's SHA-256 (read the script); on
Linux into ~/.local/bin, turning on the desktop accessibility setting;
- register Ghost with Claude Code, if the
claude CLI is installed;
- finish with
ghost doctor, which reports PASS, WARN or FAIL for
everything Ghost needs.
By hand on Windows, which is what the installer does minus the checksum and
the Claude Code registration:
$dir = "$env:LOCALAPPDATA\Programs\ghost"
$dl = "https://github.com/NORTHTEKDevs" +
"/ghost/releases/latest/download"
iwr "$dl/ghost-windows-x64.zip" `
-OutFile ghost.zip
Expand-Archive ghost.zip $dir -Force
Get-ChildItem $dir | Unblock-File
& "$dir\ghost.exe" doctor
Then add $dir to your user PATH. Checksums, provenance, SmartScreen and
building from source: install guide.
2. Connect your client
Claude Code is already connected if the claude CLI was installed when
you ran the installer. To check, or to add it yourself:
claude mcp list
Windows (PowerShell):
$exe = "$env:LOCALAPPDATA\Programs" +
"\ghost\ghost-mcp.exe"
claude mcp add ghost -s user -- $exe
Linux:
claude mcp add ghost -s user \
-- "$HOME/.local/bin/ghost-mcp"
They take the full path to ghost-mcp in a JSON or TOML file.
The examples use the Windows path; on Linux it is
/home/YOU/.local/bin/ghost-mcp. Replace YOU, or print the exact path with
the last item.
Add to %APPDATA%\Claude\claude_desktop_config.json, then restart Claude Desktop:
{
"mcpServers": {
"ghost": { "command": "C:/Users/YOU/AppData/Local/Programs/ghost/ghost-mcp.exe" }
}
}
Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):
{
"mcpServers": {
"ghost": { "command": "C:/Users/YOU/AppData/Local/Programs/ghost/ghost-mcp.exe" }
}
}
Add to .vscode/mcp.json:
{
"servers": {
"ghost": { "type": "stdio", "command": "C:/Users/YOU/AppData/Local/Programs/ghost/ghost-mcp.exe" }
}
}
Add to ~/.codex/config.toml:
[mcp_servers.ghost]
command = "C:/Users/YOU/AppData/Local/Programs/ghost/ghost-mcp.exe"
Register ghost-mcp as a stdio server with no arguments. Most clients take
this shape:
{
"mcpServers": {
"ghost": { "command": "C:/Users/YOU/AppData/Local/Programs/ghost/ghost-mcp.exe" }
}
}
Registry-aware clients can also install io.github.NORTHTEKDevs/ghost from
the MCP registry.
Windows (PowerShell):
$exe = "$env:LOCALAPPDATA\Programs" +
"\ghost\ghost-mcp.exe"
$exe.Replace('\', '/')
Linux: readlink -f ~/.local/bin/ghost-mcp
3. Try it
Restart your client so it picks up the server. Its tool list should now show
the ghost_* tools (54 on Windows); if it does not, see
troubleshooting. Then ask your agent something like:
Use Ghost to list my open windows, then read the text of the one I'm
working in and summarise it.
To check the whole background-and-verify loop on your machine:
ghost verify
How an agent uses it
The loop is look, act, confirm:
ghost_see window="Invoice Editor" returns every control in the window with
its name, role, state and position. mode=text returns the readable text
instead, about ten times cheaper than an image.
ghost_act name="Save" action="click" drives the control in the background
and returns verified: true only when the change shows.
ghost_screenshot returns pixels when a chart or canvas needs the model's
own eyes.
Around that loop: ghost_window launches, lists and closes windows (on the
hidden desktop by default), ghost_wait and ghost_assert turn "did it work"
into a check, ghost_shell runs builds, git and scripts, and the
ghost_browser_* / ghost_tab_* tools drive browser tabs over the DevTools
protocol. All 54 tools with every parameter: tool reference.
Not using an agent? The same engine is a CLI and a local REST API:
ghost list-windows
ghost click --name "Save"
ghost-http --addr 127.0.0.1:7878
curl http://127.0.0.1:7878/list-windows
Window anchoring, what every response promises, intents (JSON flows with
retries and conditions), the HTTP API and the Rust SDK:
using Ghost. Runnable scripts: examples.
Safety model
Anything that can reach a Ghost server can control the desktop as you, so
Ghost is built around who can reach it, what an agent may do, and how you take
control back.
- Emergency stop. Ctrl+Alt+G halts every
acting call in every Ghost process, releases held keys and ends programs
Ghost's shells started. Read-only calls keep answering.
- Human-only resume. Only you can lift a stop you raised: type
ghost reset in a terminal, or press
Ctrl+Alt+Shift+G on the real
keyboard. An agent's ghost_reset is refused.
- Background lock. The focus policy is locked to
background, so an agent
cannot take your mouse, keyboard or foreground window. Only the operator
unlocks it, with GHOST_FOCUS_LOCK=off.
- Shell switch.
ghost_shell is on by default and has your account's
rights. GHOST_SHELL=off refuses it and blocks launching shells and script
hosts; GHOST_LAUNCH_ALLOW turns launching into an allowlist.
- SSRF guard.
ghost_http_get and ghost_http_post resolve the host first,
refuse loopback, private, link-local and reserved addresses, and ignore proxy
settings. Browser tabs accept http(s) only.
- Stop scopes.
ghost_stop scope=process stops one server; everywhere
(the default) stops them all. An unknown scope is rejected.
- Local transports only.
ghost-mcp speaks stdio and opens no port.
ghost-http binds loopback only and refuses requests from web pages.
- Nothing leaves your machine. No telemetry and no vision API key: your
agent's own model reads what Ghost returns. The only outbound traffic is the
optional vision tier, to an endpoint you configure.
Details and limits: security model. How background
control works and what was measured: background mode.
Platform support
| Platform |
Status |
| Windows |
Full and verified on 10 (build 19041+) and 11. UI Automation, posted window messages, hidden desktops, DXGI/GDI capture. |
| Linux X11 |
Functional, verified by live CI tests against a real GTK app. AT-SPI2, XTEST, X11 capture. |
| Linux Wayland |
Implemented, not yet verified on hardware. Same AT-SPI2 layer; input and capture through portals or uinput. Run ghost doctor first and please file what you find. |
| macOS |
Not yet. A compiling scaffold with an implementation map. |
The focus policy and hidden desktops are Windows features. The browser tools
need a Chromium-family browser (Chrome, Edge, Brave or Comet). Full matrix:
cross-platform; Linux setup:
Fedora and other distros.
Troubleshooting
The binaries are not code-signed yet. Choose More info, then Run anyway, or
verify the download first.
Open a new terminal after installing. On Linux, add ~/.local/bin to your
PATH; the installer prints the line to add.
Use an absolute path to ghost-mcp and restart the client. To check the
binary itself:
ghost-mcp --version
The error lists the closest names in that window. ghost_see with
window= set shows every control and its name.
By design: that action would take your screen. Let Ghost start the app
(ghost_window op=launch) or the browser (ghost_browser_launch) and drive
it there.
Someone pressed the emergency stop. Resume with
Ctrl+Alt+Shift+G, or in a terminal:
ghost reset
Turn on the accessibility bus (step 1) and restart the apps. ghost doctor
checks this.
See the antivirus notes.
Still stuck? Run ghost doctor and
open an issue with
its output.
FAQ
Which apps can it drive? Anything that exposes accessibility: native Win32,
WinForms, WPF, UWP/WinUI, Electron, Chromium, Qt and GTK. Canvas-only apps
(games, remote desktops) expose little, so the agent relies on screenshots
there.
How is this different from Playwright or Computer Use? Playwright drives
web pages; Ghost drives the desktop (and tabs too). Screenshot-based computer
use guesses coordinates from pixels and takes your screen; Ghost acts on named
controls in the background and verifies each action. See the
comparison.
Can several agents use it at once? Yes. Calls run in parallel, and a
second Ghost process runs alongside the first without contending for the mouse.
How do I update? Quit your MCP client, then run the installer from step 1
again. To remove Ghost, see uninstall.
More
- Guides: install, using Ghost, configuration
- Proof and safety: security model, background mode, benchmarks
- Reference: tools, changelog, all docs
Pull requests: CONTRIBUTING.md. Vulnerabilities go through
SECURITY.md, not public issues. MIT, copyright 2026
Northtek.
Ghost is a general-purpose automation tool. Use it on systems you own or are
authorized to automate, and within the terms of the software you drive.