spirit-computer-use
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., "@spirit-computer-useTake a screenshot of my active tab and click the Sign in button"
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.
SPIRIT Browser connects to your ordinary Chrome profile through its own Manifest V3 extension. It sees existing tabs, reads pages, captures background screenshots and sends input through Chrome DevTools Protocol. Your system mouse stays where you left it.
The Python package and skill retain the name spirit-computer-use for existing integrations.
Version 0.2 removes desktop control completely.
Start on Windows 11
Install Python 3.10-3.13 x64, then run PowerShell:
git clone https://github.com/scarrymany/spirit-computer-use.git
cd spirit-computer-use
.\scripts\install.ps1
.\.venv\Scripts\python.exe -m spirit_computer_use browser-setup --destination "$([Environment]::GetFolderPath('Desktop'))\SPIRIT Browser"Open chrome://extensions, enable Developer mode, choose Load unpacked, and select
SPIRIT Browser on your desktop. Open the extension popup and press Connect.
Keep this folder: Chrome reads the unpacked extension from it.
Generate the configuration for your agent and merge the entry into its existing settings:
.\.venv\Scripts\python.exe -m spirit_computer_use config antigravity
# Also: codex, claude, opencode, cursor, vscode, genericCopy skills/spirit-computer-use into your client's skill directory. Restart its MCP
connection after an upgrade. See client setup for paths and compatibility.
Related MCP server: custom-chrome-dev-mcp
What the agent can do
Capability | Behavior |
Existing tabs | List titles, URLs and activity; search, open, activate and close |
Visual understanding | Background PNG, accessible trees, short element refs, iframe and shadow DOM support |
Independent input | Animated SVG cursor, click/double/right click, drag, scroll, Unicode and shortcuts |
Forms | Text, select, checkbox, file upload with confirmation |
Debugging | Console/network metadata, read-only JS without prompts, confirmed mutating JS |
Files | PNG, PDF and tracked downloads collected into your chosen folder |
Games | Screenshot/action loop with arrow keys and bounded key holds |
Tab mentions | MCP resources, copied |
Recovery | Fresh snapshots, stale-ref refresh, navigation checks and emergency stop |
Only controlled tabs enter the purple SPIRIT group. Disconnect releases them and restores their original grouping. The visible frame and cursor live inside an isolated world and shadow root. Chrome also displays its own debugger indicator.
Connection choices
Extension first. chrome.debugger attaches to your normal tabs without restarting Chrome,
changing profiles or exposing a debugging port. A token-authenticated loopback bridge accepts
only this extension's exact Origin. Multiple MCP clients share the bridge; one client owns
a tab at a time.
CDP fallback. Chrome 144+ offers consent-based access at
chrome://inspect/#remote-debugging. Enable it and approve Chrome's connection dialog.
SPIRIT reads the session's DevToolsActivePort; it does not launch your default profile
with --remote-debugging-port. See architecture and restrictions.
Controls and honest limits
For fast visual interaction, use browser_screenshot instead of a full accessibility tree.
It returns a PNG, CSS dimensions and a fresh snapshot without waiting for DOM stability.
browser_drag includes the next screenshot by default; browser_press_keys includes fresh
page text and the next snapshot. An observation error after input does not repeat the input.
This reduces tool round trips; it does not control the model's thinking time or guarantee
that a page has finished animating. Use full page reads for element refs and explicit waits
when needed.
Stop: Pause, Ctrl+Alt+Escape, the page's Stop button or the extension popup.
Password fields require manual input. The agent must ask before purchases, messages, deletion and payment entry. Built-in button heuristics cannot understand every website.
Read-only JS uses Chrome's side-effect check without a dialog. Mutating JS and uploads require a separate user confirmation. These are powerful tools; website content is untrusted input, not authorization.
Native @ autocomplete belongs to the host application. MCP resources and tab files provide selection where supported; SPIRIT cannot replace another application's composer.
Chrome's extension debugger does not expose
Browser.setDownloadBehavior. Extension mode tracks its own downloads, then copies completed files into the requested folder. Direct CDP usesBrowser.setDownloadBehavior.CDP fallback lacks Chrome extension tab groups and active-tab metadata. Confirmation tools still require the extension bridge. Restricted Chrome pages require manual interaction.
No built-in AI model, game solver or guaranteed score. The connected agent makes decisions.
Develop and verify
.\scripts\install.ps1 -Dev
$env:SPIRIT_TEST_CHROME = .\scripts\install-test-browser.ps1
.\.venv\Scripts\python.exe -m ruff check .
.\.venv\Scripts\python.exe -m ruff format --check .
.\.venv\Scripts\python.exe -m pytest -q
.\.venv\Scripts\python.exe -m buildBrowser tests run on local fixture pages in an isolated Chrome for Testing profile. Validation details distinguish test coverage from client compatibility. Third-party notices record dependencies and design references.
MIT licensed. Built for Windows 11 and agents that speak MCP.
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted real Google Chrome MCP with per-user persistent state. Navigate, click, type, screenshot.
Browser MCP for logged-in tasks. Uses your Chrome — credentials stay local. Zero-token replay.
Stealth web browser for agents: search, fetch, click, download and type in persistent MCP sessions.
Agent social posting via your logged-in Chrome. Remote MCP + OAuth. Not clawpost.dev.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceDrive your real, signed-in Chrome browser from any MCP client, enabling browser automation such as navigation, clicking, typing, and screenshots through standard MCP tools.1-
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients to drive your already-open Chrome browser like a human, using 45 tools for navigation, perception, capture, and trusted input that pages receive as genuinely user-generated.MIT
- AlicenseNot gradedqualityAmaintenanceEnables remote agents to control a local Chrome/Edge browser via MCP, supporting navigation, snapshots, clicks, typing, screenshots, and script execution.152 npmISC
- AlicenseNot gradedqualityBmaintenanceEnables remote AI agents to control a local, authenticated desktop browser over MCP through an outbound WebSocket bridge and Chrome extension, supporting tab management, navigation, page reading, clicking, typing, scrolling, screenshots, and JavaScript evaluation.1MIT