Skip to main content
Glama

Your agent needs a page you are signed in to. The usual answer is a second, empty browser that knows none of your sessions, driven by a model that has to learn Chrome internals to get anything done.

Ghostlight gives it a tab group inside the Chromium you already have open. The work happens in front of you: watch it, pause it, take the wheel, or end the session. The model says what it wants, and Ghostlight does the browser part.

Ask an agent to read a page, complete a form, handle a file, follow a popup, or investigate a failed web workflow. Ghostlight carries the task across tabs and browser changes while keeping the browser work and its controls on your machine.

A light left burning, so the halls stay safe.

Where it stands today

The published release is 2.0.3. It is available as the GitHub release v2.0.3, the npm package ghostlight@2.0.3 and the MCP Registry record org.sylin/ghostlight 2.0.3, with the Chrome Web Store adapter v2.0.2, all observed on 2026-11-14 and recorded in docs/public-status.json and the release custody record.

Related MCP server: byob

What you get

  • 23 catalog tools: 22 browser tools covering tabs, navigation, reading a page, screenshots, semantic clicks and hovers, form input, file upload, scripts, waits, short flows, dialogs, and diagnostics, plus one policy tool that explains the authority in force. One call carries the intent; Ghostlight performs the browser steps behind it.

  • One truthful answer per call: what happened, what changed in the browser, what is ready, and whether running it again is safe. Ghostlight writes that answer, never the page, and adds at most two recovery steps of its own. When an effect is uncertain it says so rather than guessing, and never proposes a replay that could submit a form twice.

  • A desktop workbench in the tray that shows work as it happens.

  • Your machine, and only your machine. Ghostlight runs as you, reaches your browser over local IPC, and keeps a payload-free local record. No account, no telemetry, no activation service, no update ping, no hosted control plane, and no second hidden browser. The only network traffic is the browsing you asked for.

Your first five minutes

You need Chrome, Edge, Brave, or Chromium 125+ and an MCP client. The npx installer needs Node.js; the one-line installers do not. The service you run afterward is native Rust. Agent setup supports Windows and Linux; macOS is not supported yet.

  1. Install Ghostlight. It registers the MCP clients it finds and opens the Ghostlight window on its setup steps:

    npx -y ghostlight install

    Without Node.js, use the one-liner for your system. On Windows, in PowerShell:

    irm https://sylin.org/ghostlight/get.ps1 | iex

    On Linux:

    curl -fsSL https://sylin.org/ghostlight/get.sh | sh
  2. Add Ghostlight in Browser from the step the window shows. It lists the browsers on your computer. Add opens the Chrome Web Store listing in that browser, which is also where Edge gets the extension. If the browser already holds the extension, the row reads Open instead.

  3. Ask your agent:

    Open sylin.org/ghostlight/demo/desk and ring the bell.

If the install named an agent to restart, restart it first; the install says so. There is no other restart step.

A sky-blue Ghostlight group appears in your browser, the agent rings the bell on a demo page that submits and stores nothing, and the window shows Ready. That one prompt proves the whole connection. For a read-only first task instead, ask:

Open https://example.com/ in a new Ghostlight tab, summarize the page, and tell me which tab you used. Do not click, type, submit, or change the page.

When a session ends, the tabs Ghostlight keeps open leave its group and stay where they are, so no idle group is saved to your bookmarks bar. Next time, the same agent gets its group back and reuses a tab Ghostlight opened for it on that site and left open, so repeated work stops littering your tab strip. It never takes over a tab you opened, or a tab another agent left open. After a browser restart, an agent's remembered tab is used only when the browser still shows that tab at the page Ghostlight last saw there; otherwise the agent opens a fresh tab. The one case it cannot tell apart is a tab of yours that the restarted browser gave the same id and that shows the same address, such as a restored copy of the agent's page.

If a step needs attention, run:

ghostlight doctor

If you installed with npm and ghostlight is not on your PATH, npx -y ghostlight doctor runs the same check.

doctor checks the client entry, local service, browser connection, and extension, then names the next action. The installation guide covers targeted clients, source builds, updates, uninstall, and symptom-led recovery.

From one page to a whole workflow

Ghostlight is at its best when browser work has a thread to follow:

  • Pick up where you are signed in. Open an application in the Chromium profile you chose and work with the session already there. Credentials stay with the browser.

  • Finish the interaction. Navigate, fill forms, upload files, resolve dialogs, wait for page state, and carry results from one step into the next.

  • Follow the browser. Keep working when a site opens a supported child tab or when a known workspace changes underneath the task.

  • See what failed. Bring page state, console messages, and network requests together so the next debugging step comes from evidence instead of guesswork.

Use the same browser capability from any agent Ghostlight sets up (the installation guide lists every one), or from another compatible stdio MCP client. Agents receive structured page reads, exact element references, bounded action receipts, and specific recovery guidance. They can ask the policy tool to explain the authority in force at any moment.

The browser stays a shared space

Ghostlight works in a dedicated sky-blue tab group inside the browser window you chose. Page scans, clicks, typing, drags, and longer phases share one visual language, so the movement on screen has an explanation.

Pause the workspace, take over for a delicate step, or stop it. Move its tabs where you want them; Ghostlight follows the workspace instead of snapping it back. Ordinary tabs remain outside the agent's owned set: a tab you opened is never reused, regrouped, or navigated, even on the same site, and loading a page yourself in a tab Ghostlight left open takes that tab back.

Closing a tab needs two independent yes votes: the orchestrator's authority, which needs Action on that tab's site, and the browser's own preserve-tabs setting, which ships on. That keeps the evidence of what happened in front of you. Closing a tab yourself always works.

Personal use is complete without a policy manifest. Start with the full browser engine and get useful work done. When a workflow needs stronger boundaries, grant read, action, write, and execute by domain. Add sacred domains and structured audit, and preview a policy against your own history before you apply it, with Check in the window or ghostlight policy simulate, while the browser experience stays the same. The governance guide shows the operating model, and the Trust Center carries the security, privacy, continuity, deployment, and procurement evidence.

What it will and will not do

With no policy configured, HTTP(S) browsing is allowed, including localhost, loopback, and link-local destinations. Host restrictions belong to policy. Non-HTTP schemes and stale handles remain restricted. Optional local and managed policy layers can only take capability away.

Credential input requires your explicit instruction. Fill and typing accept a per-request acknowledgement from the agent; without it, the call returns guidance without pausing the session. That acknowledgement cannot override policy or your Pause and End session controls. Repeated policy refusals also leave later permitted work available; a tab that policy refused a landing on stays held until the agent moves it to an allowed page or closes it. Browser messages and animations remain passive, with no buttons or interference with your input; interactive runtime control belongs in the workbench.

The audit record holds identifiers, decisions, and content-minimized measurements: which tool ran, whether authority allowed it, how long it took, and what it did -- 3 fields, 1,240 words, 1280x720. The site an action landed on is named, because that answers where your agent went and is already in your own tab strip. Paths, queries, fragments, page text, field values, screenshots, selectors, and dialog text never enter it. docs/guides/siem-integration.md is the exact record shape.

The full catalog is in docs/1.0/LANGUAGE.md, and the exact policy schema is in docs/guides/governance-configuration.md.

The workbench

Open the tray icon and you land At a glance: the action running right now in full, finished actions stacking below it, newest first, each in Ghostlight's own words -- "Opened example.com.", "Read 1,240 words.", "Filled 3 fields and submitted the form." -- never the page's. Beside it sit Integrations, which connects the coding clients you already have and merges into their configuration with a backup (goose and Continue get Copy setup to paste, never an edit); Status, which answers whether the stack is healthy; Policy, which states what the current rules allow, one plain line per capability, naming the layer that decided each one; Settings, a tab with a rail for this screen, who else can watch, browser work, notifications and diagnostics, and where you can quit Ghostlight; and About, which carries the promise underneath it: it never phones home.

Pause and resume sit in the header beside the lamp on every tab, the same control the tray offers. They work with or without a connected browser, because Ghostlight itself holds the pause. When configured policy is not valid, Ghostlight refuses all browser work and the header never reads Ready. It reads Policy not valid and points to Policy, unless a more urgent state such as Not connected or Paused comes first. A broken edit to a local policy that is already in force is different: the last valid version stays in force, Status warns about the edit, and the header does not change. Closing the window leaves the icon in the tray and Ghostlight running, and the first time it says so in one notification. The service serves with no display, so if the window program cannot start, or the computer has no display, web view or tray, Ghostlight keeps working and ghostlight status says why there is no window.

Build it from source

Rust 1.89 or newer, plus Chromium 125 or newer for browser validation.

cargo build --workspace

Three executables land side by side:

  • ghostlight-service -- the orchestrator and the workbench it serves on loopback. It links no UI toolkit and runs with no display;

  • ghostlight -- the edge: the MCP stdio relay (ghostlight mcp), the Chromium native-messaging relay, and the front door that hands every other command to the service;

  • ghostlight-desktop -- the shell: the window, the tray and the notices. On Linux building it needs the WebKitGTK 4.1, GTK 3 and AppIndicator development packages; running the service does not.

Deploy a build with pwsh scripts/dev-loop.ps1: it installs your build into ~/.ghostlight/bin as the development channel, because a build directory never serves on its own. docs/DEV-LOOP.md covers the loop, browser registration and the full validation loop.

After setup there is no startup ritual: launching a connected MCP client or Chromium demand-starts Ghostlight when it is not already running.

On Windows, WinGet is another way to install: winget install Sylin.Ghostlight, then run ghostlight install once. The self-contained Claude Desktop MCPB is a third. Every route puts the three executables in ~/.ghostlight/bin: WinGet only delivers them, and ghostlight install copies them there. After winget upgrade, the next ghostlight install carries the newer version there. An older copy never replaces a newer one. WinGet serves 2.0.2 until a newer manifest is accepted into winget-pkgs; the one-line installer serves 2.0.3.

Platform state. Windows (x64) and Linux (x86_64, with glibc or musl, such as Alpine) are the supported 2.0 platforms. 2.0.3 was tested before publication on Windows, and its release workflow installs it from the release bundle on Ubuntu and Alpine. Its public install was proven on Windows on 2026-11-14. macOS has no artifact yet.

Extension state. The Chrome Web Store listing serves adapter v2.0.2, compatible with service 2.0.x under adapter protocol 4. The service gives the extension the page code it runs, so a 2.0 service update needs no extension update or reload. A 1.x extension updates once to 2.0.

The service and Chrome adapter are delivered separately with compatible mechanisms. The compatibility map is authoritative, and the public status file owns current release, platform, and store state.

The MCP edge negotiates a compatible stdio revision per client; the compatibility map records them. See the changelog for release changes and upgrade consequences.

MCP Client <--stdio--> ghostlight mcp <--relay--> ghostlight-service
    <--relay--> ghostlight (browser) <--native messaging--> Extension <--CDP--> Browser

The orchestrator makes every product decision and owns everything the model reads. The edge carries protocol and relay lifecycle, nothing more. The extension owns Chromium, the page, and the drawing, and never policy. Adding a feature normally means changing the orchestrator alone; that is a contract the shores are held to, not a happy accident.

The desktop is a presentation adapter in a process of its own, not a second service. It has no GUI protocol, command runner, filesystem access, or browser primitives. ADR-0102 records why. docs/SPEC.md gives the deeper governance model.

Choose your next step

I want to...

Start here

Install, verify, update, recover, or uninstall

Installation guide

Let an AI client perform setup

Agent install guide

Try a complete visible workflow

Launch brief demo

Build from source and test locally

Build from source

Understand which browser operating model fits

Decision aid

Add boundaries or review trust evidence

Governance guide and Trust Center

Read the product promise and journeys

docs/1.0/INTENT.md

Read the complete model-facing language

docs/1.0/LANGUAGE.md

Read the architecture and acceptance contracts

docs/1.0/ARCHITECTURE.md, docs/1.0/ACCEPTANCE.md

See where the candidate stands

docs/STATUS.md

Contribute code, docs, testing, or ideas

Contributing guide

Read every decision, and why

ADR index

License and continuity

Ghostlight is entirely free and open source: everything in this repository, including the governance module, is Apache-2.0 OR MIT. LICENSING.md explains what that covers. The former open-core split and its paid tiers were withdrawn by ADR-0140.

License state never reaches runtime -- there is no license check to reach it. An installed copy keeps working on its own terms, with no check-in and no expiry. The Continuity Promise carries the durable version of that.

Questions and contributions

GitHub Issues for reproducible defects, GitHub Discussions for questions and ideas, and hello@sylin.org for security, licensing, or anything that should not be public.

I build Ghostlight in partnership with AI coding agents. CONTRIBUTING.md explains the current boundaries and the gates every change passes.

Available Tools

25 tools
act_onA

Resolve one visible element by ref or accessible meaning, perform one action, and return a bounded observation receipt. Use this when the target should be unique and you want to avoid a separate find, action, and wait loop. Ambiguous semantic matches are reported without acting.

Inputs: tabId (required), action (required), target (required), value, +1 more. Returns: wait, candidates, provenance, interactionReceipt

browser_batchA

Execute a sequence of browser tool calls in ONE round trip. Each item is {name, input} where input is exactly what you'd pass to that tool standalone. Actions execute SEQUENTIALLY (not in parallel) and stop on the first error. Use this tool extensively to quickly execute work whenever you can predict two or more steps ahead -- e.g. navigate, click a field, type, press Return, screenshot. Each tool's own permission check runs per item -- if an action navigates to a domain without permission, the next item's check fails and the batch stops. Screenshots and other images are returned interleaved with outputs; coordinates you write in THIS batch refer to the screenshot taken BEFORE this call. browser_batch cannot be nested.

Inputs: actions (required).

computerB

Use a mouse and keyboard to interact with a web browser, and take screenshots. If you don't have a valid tab ID, use tabs_context first to get available tabs.

  • Whenever you intend to click on an element like an icon, you should consult a screenshot to determine the coordinates of the element before moving the cursor.

  • If you tried clicking on a program or link but it failed to load, even after waiting, try adjusting your click location so that the tip of the cursor visually falls on the element that you want to click.

  • Make sure to click any buttons, links, icons, etc with the cursor tip in the center of the element. Don't click boxes on their edges unless asked.

Inputs: tabId (required), action (required), ref, text, +8 more. Returns: provenance, interactionReceipt

dialogA

Inspect or explicitly resolve the JavaScript dialog blocking one owned tab. Use status when the dialog state is unknown. Never accept, dismiss, or respond without intent from the current task.

Inputs: tabId (required), action (required), text. Returns: provenance

explainA

Returns this server's action directory: every available action, the capability it requires (read, action, write, or execute; some require none), and a short description of what it does, plus definitions of the capability vocabulary. Use it to learn what you are allowed to do in this session. It does not read, summarize, or explain web pages.

Inputs: no named parameters.

file_uploadA

Upload one or multiple files to a file input element on the page. Do not click on file upload buttons or file inputs -- clicking opens a native file picker dialog that you cannot see or interact with. Instead, use read_page or find to locate the file input element, then use this tool with its ref to upload files directly.

Inputs: ref (required), tabId (required), files, paths. Returns: provenance, interactionReceipt

findA

Find elements on the page using natural language. Can search for elements by their purpose (e.g., "search bar", "login button") or by text content (e.g., "organic mango product"). Returns up to 20 matching elements with references that can be used with other tools. If more than 20 matches exist, you'll be notified to use a more specific query. If you don't have a valid tab ID, use tabs_context first to get available tabs.

Inputs: query (required), tabId (required). Returns: more, results, provenance

form_fillA

Fill a form by field labels in one call. Provide fields as a map from a label, placeholder, or name attribute to the value (string, number, or boolean for checkboxes). Matching is case-insensitive and specificity-ordered; ambiguous keys are returned unmatched with candidates instead of guessed. submit:true clicks the form's own submit control after filling. Passwords are masked in the result. Falls back cleanly: anything unmatched can be filled with form_input using the refs in the result.

Inputs: tabId (required), fields (required), submit. Returns: filled, skipped, submitted, unmatched, +4 more

form_inputA

Set values in form elements using element reference ID from the read_page or find tools. If you don't have a valid tab ID, use tabs_context first to get available tabs.

Inputs: ref (required), tabId (required), value (required). Returns: provenance, interactionReceipt

get_page_textA

Extract raw text content from the page, prioritizing article content. Ideal for reading articles, blog posts, or other text-heavy pages. Returns plain text without HTML formatting. If you don't have a valid tab ID, use tabs_context first to get available tabs. Output is limited to 50000 characters by default; if it exceeds the limit it is truncated with a note giving the full size.

Inputs: tabId (required), max_chars. Returns: provenance

gif_creatorA

Create a short, memory-only GIF of browser work. Call start_recording, use browser tools normally, then call export; export stops capture automatically. Recording also auto-stops after 30 seconds idle or 120 seconds total. Use status to inspect state, stop_recording for an optional explicit boundary, or clear to erase immediately. Export can return the GIF to the client (download:true) or place it on the page with ref or coordinate.

Inputs: tabId (required), action (required), ref, options, +3 more. Returns: provenance

javascript_toolA

Execute JavaScript code in the context of the current page. The code runs in the page's context and can interact with the DOM, window object, and page variables. Returns the result of the last expression or any thrown errors. If you don't have a valid tab ID, use tabs_context first to get available tabs.

Inputs: text (required), tabId (required), action (required). Returns: provenance

narrateA

Show a short, temporary narration ribbon in the controlled browser tab so the person watching understands the current workflow phase. Use it for meaningful phase changes, not routine clicks or keystrokes. A new narration replaces the current one.

Inputs: text (required), tabId (required), position, duration_ms. Returns: shown, reason, position, replaced, +2 more

read_console_messagesA

Read browser console messages (console.log, console.error, console.warn, etc.) from a specific tab. Useful for debugging JavaScript errors, viewing application logs, or understanding what's happening in the browser console. Returns console messages from the current domain only. If you don't have a valid tab ID, use tabs_context first to get available tabs. IMPORTANT: Always provide a pattern to filter messages - without a pattern, you may get too many irrelevant messages.

Inputs: tabId (required), clear, limit, pattern, +1 more. Returns: provenance

read_network_requestsA

Read HTTP network requests (XHR, Fetch, documents, images, etc.) from a specific tab. Useful for debugging API calls, monitoring network activity, or understanding what requests a page is making. Returns all network requests made by the current page, including cross-origin requests. Requests are automatically cleared when the page navigates to a different domain. If you don't have a valid tab ID, use tabs_context first to get available tabs.

Inputs: tabId (required), clear, limit, urlPattern. Returns: provenance

read_pageA

Get an accessibility tree representation of elements on the page. By default returns all elements including non-visible ones. Can optionally filter for only interactive elements, limit tree depth, or focus on a specific element. Returns a structured tree that represents how screen readers see the page content. If you don't have a valid tab ID, use tabs_context first to get available tabs. Output is limited to 50000 characters -- if exceeded, the tree is truncated at a line boundary with a note giving the full size; pass a larger max_chars, or use depth/ref_id to focus.

Inputs: tabId (required), diff, depth, filter, +2 more. Returns: target, provenance

resize_windowA

Resize the current browser window to specified dimensions. Useful for testing responsive designs or setting up specific screen sizes. If you don't have a valid tab ID, use tabs_context first to get available tabs.

Inputs: tabId (required), width (required), height (required).

scriptA

Run a sequence of tool calls in one request. Steps execute in order; each step is validated, authorized, and audited exactly as if called individually. Step arguments may reference a prior step's structured result: $prev.field for the previous step, $N.field for step N (1-indexed), with .0-style numeric segments indexing arrays (example: $prev.results.0.ref after find). Write $$ for a literal leading $. Only tools with structured results (find, tabs_context, tabs_create, navigate, wait_for) can be referenced. Steps may not include script itself. Use wait_for between navigate and reads on dynamic pages.

Inputs: steps (required), tabId, dry_run, onError, +1 more. Returns: results, summary, provenance, duration_ms

tab_controlA

Focus, reload, or close one tab owned by this Ghostlight session. Close is always explicit and never affects a user-owned tab or automatically deletes the containing tab group.

Inputs: tabId (required), action (required). Returns: provenance, interactionReceipt

tabs_context_mcpA

Get context information about the current MCP tab group. Returns all tab IDs inside the group if it exists. CRITICAL: You must get the context at least once before using other browser automation tools so you know what tabs exist. Each new conversation should create its own new tab (using tabs_create) rather than reusing existing tabs, unless the user explicitly asks to use an existing tab.

Inputs: createIfEmpty. Returns: tabs, mcpGroupId, provenance

tabs_create_mcpA

Creates a new empty tab in the MCP tab group.

Inputs: no named parameters. Returns: tabs, tabId, provenance

update_planA

Present a plan to the user for approval before taking actions. The user will see the domains you intend to visit and your approach. Once approved, you can proceed with actions on the approved domains without additional permission prompts.

Inputs: domains (required), approach (required).

upload_imageA

Upload a previously captured screenshot to a file input or drag & drop target. Supports two approaches: (1) ref -- for targeting specific elements, especially hidden file inputs, (2) coordinate -- for drag & drop to visible locations like Google Docs. Provide either ref or coordinate, not both.

Inputs: tabId (required), imageId (required), ref, filename, +1 more. Returns: provenance, interactionReceipt

wait_forA

Wait until the page is ready. By default waits for BOTH your condition and page settlement (DOM mutation rate decayed). Provide selector (CSS) or text (visible substring) with state visible|present|gone, or call with neither to wait for settlement alone. min_ms sets a minimum elapsed time; settle:false gates on the condition only. Returns elapsed_ms, settle diagnostics, and the matched element's ref for follow-up clicks. Times out with an error naming what WAS on the page.

Inputs: tabId (required), text, state, min_ms, +3 more. Returns: ref, found, settled, elapsed_ms, +3 more

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 25 tools

    Disambiguation3/5

    Multiple tools have overlapping purposes (script vs browser_batch, file_upload vs upload_image, form_input vs form_fill), but descriptions include enough detail to distinguish them with careful reading. An agent may still hesitate on which to choose.

    Naming Consistency1/5

    Tool names follow no consistent pattern: some are verb_noun (read_page, upload_image), some are noun_verb (file_upload, form_fill), some are single verbs (navigate, find), and some nouns (computer, dialog). The _mcp suffix appears on only two tab-related tools, while tab_control omits it. This mix makes the naming chaotic.

    Tool Count3/5

    At 25 tools, the server is on the heavy side of the 16-25 borderline range. However, the broad scope of full browser automation justifies most tools, and each serves a distinct purpose within that domain.

    Completeness5/5

    The tool set comprehensively covers the browser automation lifecycle: navigation, reading, interaction, form filling, waiting, tab management, JavaScript execution, network/console inspection, screenshots, dialogs, and even recording. There are no obvious dead ends; the presence of update_plan and explain covers agent coordination and discoverability.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      A
      maintenance
      A local MCP server that lets AI coding assistants drive the Chrome browser you already have open, using your existing logged-in sessions. It enables navigating and reading pages, clicking, typing, filling forms, taking screenshots, uploading files, and inspecting console, network, storage, and cookies — without headless browsers or opening a remote-debugging port.
      1 npm
      ISC
    • A
      license
      Not graded
      quality
      A
      maintenance
      A local MCP server that lets AI agents drive the real, already-logged-in Chrome browser through a companion extension, navigating tabs, clicking, typing, reading pages, filling forms, taking screenshots, and inspecting cookies, storage, console and network traffic. It keeps all communication on the local machine, with no remote-debugging port to expose and no separate headless browser or manual cookie copying to set up.
      1 npm
      ISC
    • A
      license
      Not graded
      quality
      A
      maintenance
      A local MCP server that lets AI coding assistants drive the user's own already-signed-in Chrome, so agents can read logged-in pages, click, fill forms, navigate, screenshot, inspect network traffic and storage, and run multi-step browser workflows without a separate headless browser or remote debugging port. All communication stays on the user's machine and agent-opened tabs are grouped so they never steal focus.
      1 npm
      ISC
    • A
      license
      Not graded
      quality
      A
      maintenance
      A local MCP server that lets AI assistants drive your real, already-logged-in Chrome through a browser extension, so agents can read, click, type, navigate, screenshot, inspect network traffic, and manage cookies or storage on pages that require existing sessions. It works without opening a remote-debugging port and keeps all communication on your machine.
      1 npm
      ISC