agent360dev

Agent360 Computer MCP

Community agent360dev
Updated

Your agent uses your Mac like you do. A macOS MCP server that works in the windows behind yours: password fields blacked out before a screenshot exists, deleting and sending wait for your yes, password managers are refused, every call is logged. Free, local, MIT.

Agent360 Computer MCP

A macOS MCP server that lets your agent use your Mac like you do: it works in the windows behind yours, blacks out password fields before a screenshot exists, and waits for your yes before deleting or sending. Free, local, MIT · computermcp.dev

npm versionmacOS 14+License: MITGitHub stars

Computer use you can actually leave running.

Agent360 Computer MCP is a macOS computer-use MCP server built for the parteveryone skips: what happens in the hours you are not watching.

claude mcp add computer -- npx -y @agent360/computer-mcp

Add to CursorAdd to VS Code

⭐ If it works for you, a star on GitHub helps the next person find it.

macOS 14+ today. Linux and Windows are next: the public roadmap splits the port into small, tested steps, and some of them need no OS knowledge (good first issues). Comparing options? How this differs from containers, script runners and screenshot-driven tools.

  • It runs in every MCP client, not one app. Claude Code, Cursor, VS Code,Codex, or your own agent - one npx line, the same servereverywhere. It is not tied to a single vendor's desktop app or plan.
  • It does not take over your Mac. It presses buttons and fills fields inwindows that stay behind the one you are in, and it leaves your pointer whereyou put it. When an app pulls itself to the front as it opens, the front ishanded straight back and the reply says so. In one of 65 measured moments likeit (GitHub's Mac, many agents at once) it could not be, and the reply said that too (gave_back: false): until you click back, what you type goes to that app. It also leavesthe front alone when you clicked, scrolled or pressed a modifier key such asShift in the last 1.5 seconds - that is taken to be you.
  • It does not pretend. When something is refused or fails, it says so andsays why. The most common complaint about agents driving a computer is thatthey carry on as if it worked.
  • Several can run at once. No session lock, no one-at-a-time limit. Writesto the shared log take a short file lock, so two servers cannot break thechain between them.
  • It will not go near your passwords. Keychain, 1Password and five othersare refused in the default mode (in the foreground - while an agent has the screen, or with CMCP_BACKGROUND=0 - they ask every time), and password fields are blacked out while thescreenshot is still in memory. A screen recording leaves password managersout, but does not black out password fields.
  • You can read back what it did. Every call lands in an append-only log,fingerprinted rather than stored in clear.
  • Electron apps are not a blind spot. Slack, VS Code, Discord and Notionbuild their accessibility tree lazily, so most tools find an empty window.This one switches the tree on itself before it looks. Measured on a VS Codefork with two windows open: 0 buttons before, 728 after, same windows,same moment. CMCP_INGEN_ELECTRON=1 turns it off if you would rather the appdid not pay for keeping a tree it otherwise would not build - and it turns offChrome's switch below too, so Chrome pages are then neither readable nor havetheir password fields blacked out.
  • Chrome pages are not a blind spot either. Chrome ignores the Electronswitch - asked for it, it answers that the attribute does not exist - andhas its own: the one a screen reader sets. This server sets that one inGoogle Chrome (every channel, Chrome for Testing included) and in Edge,Brave, Arc, Vivaldi, Opera, Opera GX, Comet, Dia and Chromium (only GoogleChrome is measured; the ids of Opera GX, Comet and Dia are read from Homebrew'scask data, not from an installed copy). Measured 5 Nov on Chrome 156: atest page went from 0 page elements to 6, its password field among themand blacked out; the redaction scan of a heavy everyday Chrome took 0.14 to0.54 s. test/chrome-side-live.mjs proves it against a real Chrome.

Honest limits: macOS only. It reads the accessibility tree, so an app thatdraws its own controls on a canvas and publishes nothing - some games, someplotting tools - is still a blind spot. In a browser, Chrome builds a page'stree in the background the first time it is switched on, which took 3 to 15seconds in our measurements; until then a search that finds nothing saystree_building, and that Chrome window is blacked out whole in screenshots,with the reason in the answer. A page the scan cannot finish - deeper than itreaches, or a lookup that failed or timed out - is blacked out whole the same way.A Chrome window that has not been in front since the switch was turned on maystay unreadable until it is (measured: a page whose window lost focus to a popupas it loaded was not built in 30 s). OnlyGoogle Chrome is measured. Other Chromium browsers than the ones named above -Chrome app windows (PWAs) included - are not switched on and not covered, andSafari and Firefox are not handled. When a browser tool is in the session, letit do the work inside pages - this server takes over where it is refused (seethe limits below).

No account, no API key, no model inside it. MIT.

npx @agent360/computer-mcp

No Swift needed: the package ships a universal binary for Apple siliconand Intel. It carries the ad-hoc signature macOS needs to run it at all -not a Developer ID signature, and not notarized. Gatekeeper may thereforeask you the first time.

computermcp.dev · Security model

Why

Handing an agent your keyboard, mouse and screen is the most useful thing youcan give it and the least reversible. A screenshot of a working developer's Maccan contain a password manager mid-unlock, a .env open in the editor, orcustomer data. A stray keystroke in a terminal is not a typo - it is a command.

Most desktop-automation MCP servers hand all of that over at once, with no wayto say that, but not that. So the careful people don't run them on the machinewhere the work actually is.

This is the same capability with the dangerous edges answered.

The three gates

1. Passwords never reach the model. Secure text fields and password-managerwindows are painted opaque black on the bitmap in memory, before the PNG iswritten. There is no moment where an unredacted picture of your desktop existsas a file. Native fields expose the role AXSecureTextField; fields in a webpage expose role AXTextField with the subrole AXSecureTextField. Checkingonly the role would catch native fields and let every browser password boxthrough - so both are checked. In a web page the field is only found when thebrowser shows its page to the accessibility layer. In Chrome this server switchesthat on (above); while a Chrome window's page is not readable yet - the firstseconds after it is switched on, or an empty page - the whole window is blackedout instead of risking a field it cannot see. Known gaps, not measured: a loginform inside a cross-site frame, or a second step that appears before Chrome hasupdated its tree, can be on screen a moment before the field is in the tree. Ina browser it does not switch on (Safari, Firefox, other Chromium browsers, andany browser with CMCP_INGEN_ELECTRON=1), the field is not painted over; whatit shows is the browser's own dots, unless the page shows the password in plaintext.

2. The dangerous places ask first. By default the agent works withoutinterrupting you - that is what lets it run while you do something else - andevery write is logged. What never goes through on its own: password managers andKeychain are refused in the default mode, because the menu bar cannot show whatwould be typed (in the foreground - while an agent has the screen, or withCMCP_BACKGROUND=0 - they ask every single time, even with allow), and that one is not configurable. Terminals and editors, where a keystroke can be a command, ask onceper app per session. Quitting an app, closing a window, switching Space,and destructive-looking menu items ask every time; an action whose target appcannot be identified is refused in the default mode. The gate judges the app an action lands in: anapp opened some other way - Spotlight, a shortcut - is guarded by what theagent then tries to do in it. Want a question before the first write too? SetCMCP_MODE=ask. If nobody answers, the answer is no.

3. Everything is written down. ~/.local/state/computer-mcp/audit.jsonl,mode 0600, append-only: every call, its target app, and whether it was allowedor refused with the reason. Every line carries its call's id, which togetherwith the server's session id pairs the decision and the outcome of one call,even with several agents running.Each line also carries a fingerprint of itself and the line before it, so aremoved or edited line breaks the chain. That is not a signature: whoever canwrite the file as you - including an agent with a terminal - can rewrite all ofit. If you need proof against that, copy the log off the machine. If the log cannot be written - a full disk, alocked file - write actions are refused until it can. Two gaps remain: an actionalready under way when the disk fills can lack its outcome line, and typing thatis cut off by the helper's time limit is logged as an error without saying howmany characters arrived. Typed text is stored as a length and a saltedSHA-256 prefix, never in clear - an audit trail full of passwords is its ownbreach. The salt is random per run and never written down, because an unsaltedhash of a short password can be guessed offline by whoever holds the log. Thehonest cost: two actions can be compared within one run, not across runs.

Here is what that looks like, unedited. In the lines below an agent typed asentence into TextEdit behind the window the person was using, asked in the menubar to move a file to the Trash and got no answer (the run sets CMCP_ASK_TIMEOUT=1,so the question ended after a second and is logged as denied; with the default thecall is logged as waiting and the question stays about ten minutes), then was refusedwhen it tried to type into 1Password. They come from an isolated test run - its own statefolder and stand-ins for the helper and the menu bar icon, so no real screen wastouched and nobody's own log was read - which node scripts/log-uddrag.mjsrepeats. In the presence fields, the idle times come from the stand-in helperand the icon version from the stand-in icon; the session count comes from theisolated state, and the surface is derived. Only the box setting was read fromthe Mac that made the run. A test checks that every line is byte for byte inthe full log of that runand that its chain holds.

{"ts":"2026-10-31T22:35:10.230Z","session":"56f00545","call":"02bc741b","tool":"computer_type","tier":"write","args":{"app":{"length":8,"sha256_12":"78743a52a54c","salted":true},"text":{"length":37,"sha256_12":"cdde26c85cca","salted":true}},"target":"com.apple.TextEdit","mode":"allow","asker":"custom","decision":"allowed","asked":false,"reason":"CMCP_MODE=allow","l":1,"kaede":"4fb5f61a6e442962"}
{"ts":"2026-10-31T22:35:10.231Z","session":"56f00545","call":"02bc741b","tool":"computer_type","tier":"write","target":"com.apple.TextEdit","phase":"executing","l":1,"kaede":"13cd03c71bfb3b38"}
{"ts":"2026-10-31T22:35:10.321Z","session":"56f00545","call":"02bc741b","tool":"computer_type","outcome":"ok","effect":"sent","l":1,"kaede":"79696176e8603981"}
{"ts":"2026-10-31T22:35:11.481Z","session":"56f00545","call":"ac33c074","tool":"computer_menu","tier":"write","args":{"app":{"length":6,"sha256_12":"2c65732d0d4e","salted":true},"path":"File > Move to Trash"},"target":"com.apple.finder","mode":"allow","asker":"menubar","presence":{"idle_at_ask":600,"idle_at_end":600,"server":"0.4.1","icon":"0.4.1","box":"on","sessions":1,"surface_derived":"box+menu"},"decision":"denied","asked":true,"reason":"background mode: nobody answered in the menu bar in time","l":1,"kaede":"ad20dddb1195fa7a"}
{"ts":"2026-10-31T22:35:11.578Z","session":"56f00545","call":"5b15b900","tool":"computer_type","tier":"write","args":{"app":{"length":9,"sha256_12":"ac0afc1b1e97","salted":true},"text":{"length":7,"sha256_12":"f0b579393774","salted":true}},"target":"com.1password.1password","mode":"allow","asker":"custom","decision":"denied","asked":false,"reason":"background mode: this would need a dialog, and a dialog takes the screen (a password app can never be approved from the menu bar)","l":1,"kaede":"2332aa9606dd896e"}

Most gates have a test, mutation-checked when it was written: break the code onpurpose and the test goes red. Not every rule has one - the CHANGELOG lists therules without a test of their own and the mutants that survive, and why. SeeTesting.

Install

# Claude Code
claude mcp add computer -- npx -y @agent360/computer-mcp

Or, inside Claude Code, as a plugin pinned to the version on npm:

/plugin marketplace add agent360dev/computerMCP
/plugin install computer-mcp@agent360
// Cursor, VS Code, Codex CLI - mcp.json
{
  "mcpServers": {
    "computer": { "command": "npx", "args": ["-y", "@agent360/computer-mcp"] }
  }
}

Then grant two macOS permissions: System Settings → Privacy & Security →Accessibility, and the same under Screen Recording. Ask your agent to callcomputer_permissions and it will tell you what is still missing.

Which app do you grant them to? macOS attributes these to the responsibleprocess, and which process that is depends on how you launched the server. Runfrom a terminal, it is usually the terminal. Run by an MCP client over npx, itmay be the client instead. The honest answer is: grant it to whichever app thesystem dialog names, and if no dialog appears, start with the app that launchedthe client and check computer_permissions again.

Untested, and we would rather say so: we have not yet measured this from aclean machine with permissions reset, so we cannot tell you with certaintywhich of the two it will be in your setup. Upgrading is measured forAccessibility (issue #4):the grant belonged to the host app, not to our ad-hoc signed helper - a copy ofthe helper with a different signature, started from a new path, still had it -so in that setup an upgrade did not send anyone back to System Settings. ScreenRecording after an upgrade has not been measured separately. If you seesomething else, telling us what you saw is a real contribution.

Modes

CMCP_MODE Behaviour
readonly Write tools are not even listed. The agent can look and cannot touch.
ask The first write asks in the menu bar icon; if the icon is not running, it is refused in background mode and opens a dialog in the foreground. One yes grants the session. Password managers are refused (in the foreground - while an agent has the screen, or with CMCP_BACKGROUND=0 - they ask every time), terminals and editors ask once per session.
allow Default. Writes proceed without asking, still logged. Password managers are still refused (in the foreground - while an agent has the screen, or with CMCP_BACKGROUND=0 - they ask every time), terminals and editors ask once per session, and in background mode anything that would need a dialog waits in the menu bar instead.

CMCP_ASK_TIMEOUT (seconds, default 60) controls how long a dialog waits before it refuses. Aconsent dialog appears only in the foreground, for a question the menu bar icon may never approve orwhen the icon is not running; every other consent question waits in the icon (see The menu baricon below), and in background mode with no icon running it is refused. computer_ask_user in the foreground is always a dialog. The same number also boundsa consent question in the icon: at 45 or less it ends that soon, and above 600 it waits that long.

Tools

32 tools: fourteen that look, eighteen that touch. Twenty-five are offered bydefault, and the agent uses them without asking - the same way a browser tooldrives a browser. Two gates survive that, and they are the two that matter:

  • Password managers are refused. Keychain, 1Password and five others, inevery mode, even after you have said yes; in the foreground (while an agent hasthe screen, or with CMCP_BACKGROUND=0) they ask every time instead. That is the whole differencebetween you may work and you may have my passwords.
  • Anything that deletes or clears asks every time, recognised from the wordsin the action itself.

Everything else goes straight through and straight into the log.

It runs in the background, and that is the default. Nothing moves yourpointer, brings an app forward or types into the window you are using. Four ofthe tools that used to need the screen - computer_type, computer_key,computer_scroll and computer_click - now take an app, and the event goesinto that app's own queue instead of the global input stream. Measured on amachine while someone was working on it: the text arrived in the app, thepointer stayed where they had left it, and the front window did not change.Every key press, click, scroll and typed string answers with took_screen,so you never have to take our word for it.

Honest about how far that goes: typing and key presses are measured thisway. Clicks and scrolls are built the same way and are not. A mouse eventcarries no window number, so whether an app accepts one it did not see thepointer arrive at is a question we have not answered yet. Until we have, theanswer says took_screen: false about the screen - not that the clicklanded. window and quit now carry it too, measuredthe same way - including when the call failed halfway, because a half-donewrite that took the screen must not be the one line that stays silent.press and menu carry it too: an app can bring itself forward in response(measured: File > New Finder Window did), and when it does, the answer says soand the front is handed straight back to the app you were in - gave_backsays whether that worked.set_value, drag, paste and move do not carry the field yet.

computer_launch joins them with background: true: the app starts behindwhat you are doing. Many apps bring themselves forward as they start - six ofeight did on a clean Mac - and when one does, the front is handed straight backand the answer says took_screen, and in gave_back whether that worked. It is a moment, not nothing. Seven are still held back:move, activate, quit, space, window, drag and paste - until you lendthe screen: computer_request_screen asks you in the box in the corner of yourscreen (and in the menu bar), one agent at a time, approved with Touch ID, for atmost 15 minutes. While it has the screen, each step waits while you are using thekeyboard or mouse (a step already running finishes), and Take the screen back now ends the loan at once and stops a step that is still running. That buttonstays in the box for as long as the loan lasts - also when the agent is quiet andwhen you have switched the box off - and it never asks for Touch ID. If you would rather not beasked at all, set CMCP_SCREEN_ASK=0 for the server: an agent that needs the screen then gets itwith no question and no Touch ID - at once, or eight seconds after another agent's loan ends, so theone before has had time to stop. While it waits for its turn, the box offers only Deny: saynothing, and it gets the screen when it is free. The rest of the loan is the same: one agent at atime (per menu bar icon), each step waits while you are using the keyboard or mouse, the box showswho has it with Take the screen back now, and while the loan lasts Esc is your stop key too (whenthe icon could register it). Take it back, and that agent is refused the screen for two minutes andtold to stop and tell you in the chat - and its next loan asks you, with Touch ID. No agent gets thescreen without a question for two minutes after you take it back, also if the icon restarts (notacross a restart of the Mac). The switch is the server's own configuration: anything that can set it, ortalk to the icon as you, can borrow the screen - just as CMCP_BACKGROUND=0 already hands over theforeground. A typo keeps the question; only 0, false, no, off, nej or fra remove it.Setting CMCP_BACKGROUND locks the screen out entirely. CMCP_BACKGROUND=0gives you those too - and a typo will not turn it off, only 0, false, noor off. CMCP_MODE=ask puts one consent question per session in front of thefirst write, and CMCP_MODE=readonly leaves you the fourteen that only look.

Both surviving gates are mutation-proved: break them in the source and therefusal turns into a free pass, which is how we know the test can fail.

Look: computer_pending · computer_screenshot · computer_record · computer_inspect · computer_find ·computer_wait_for · computer_focused · computer_apps · computer_windows ·computer_permissions · computer_displays · computer_menus · computer_audit · computer_learning

Touch: computer_request_screen · computer_launch · computer_open · computer_quit · computer_paste · computer_window · computer_space · computer_menu · computer_press · computer_set_value · computer_ask_user ·computer_click · computer_drag · computer_type · computer_key · computer_scroll ·computer_move · computer_activate

computer_ask_user is the one that cannot carry a secret. It returns trueor false, never text. The agent puts the cursor in the field, the dialog namesthe app and the window it is about to land in - written by the server, not bythe model - and you type on your own keyboard. There is deliberately no routethrough this server for a password to reach a model. In background mode there isno dialog: the question waits in the box in the corner of your screen and underthe menu bar icon, with the whole request, whereit lands, and Take me there - your click brings the app forward, not the agent's.You do it and choose Done. A Done is a signal, not a consent: it can neverapprove anything else.

computer_set_value writes into a field behind another window withoutmoving your pointer, and refuses on a secure field every time. We removed thatcheck on purpose once: the modified build wrote into the password box. It is theonly thing standing there.computer_type refuses the same way, and checks before every character: when aTab, a click or the page itself moves the focus into a password field halfwaythrough, the typing stops there. It also listens to macOS's own password signal(secure input), which a browser switches on for a password field even when theaccessibility layer only sees the page around it: while it is on, nothing is typedanywhere. The signal can only add a no - it never turns an unknown field into ayes. computer_paste judges the field in front the same way before it pastes.

computer_wait_for waits for an element to appear instead of takingscreenshots in a loop. Twenty polls cost one call here and twenty images theother way.

computer_inspect reads the accessibility tree - roles, titles, values, frames -so the agent can click a button by knowing where it is instead of guessing frompixels. computer_find narrows that to the elements matching a role, a title ora substring. Values of secure fields are never returned, not even to the agent.

Deliberately absent: no shell execution, no arbitrary file access, no URLfetching. Each would be one line of code. A computer-control server with a shellinside it is remote access under a friendlier name. If you want a shell, installa shell MCP server - then you have chosen it, and the choice is visible in yourconfig.

Without taking over your screen

computer_click and computer_type go through the system's own input tap, sothey land wherever the keyboard focus is and they move your real pointer. Thatis fine when you are watching. It is not fine when you are working in anotherwindow.

computer_press takes the other route: it fires the element's ownaccessibility action. That works while the window is behind another one, and itmoves nothing on your screen. computer_find is how the agent locates theelement to press.

computer_find  { "app": "com.apple.Safari", "role": "AXButton", "contains": "Log in" }
computer_press { "app": "com.apple.Safari", "contains": "Log in" }

Two or more matches is a refusal, not a guess - the agent gets the candidatesand has to narrow it down, because pressing the first plausible button isexactly the kind of almost-right action nobody notices afterwards.

The consent question still reaches you (in the menu bar by default), and the apps on the always-ask liststill ask every time. computer_press names its target app, and that name iswhat the gate judges - so pressing something in 1Password is refused (in the foreground: asks) even when1Password is nowhere near the front.

Claude Code's auto mode and the screen tools. Measured on 1 Oct: after theperson lent the screen with Touch ID, Claude Code's auto mode still refusedcomputer_move as a security weakening. That is the client's own guard, not thisserver's, and it is right to be careful. To use the screen tools, run the sessionwithout auto mode and approve each call when Claude Code asks; the lease and thegates in this server still apply on top.

Several agents at once. Each MCP client starts its own server, so a secondchat is just a second process. They share one audit log, and every line carriesa per-server session mark - set CMCP_CLIENT=<name> and the line carries thattoo, so the log answers which conversation clicked. Fifty interleaved writesfrom two servers, zero torn lines: test/concurrent.mjs.

Two agents in the same app take turns. Measured on 22 Sep with two realservers typing into the same window at once: the two texts were interleavedcharacter by character - 153 switches in 160 characters - and both serversreported success. There is now a lock per target app, held across processes forthe length of the action. Same measurement after the lock: 1 switch, both textswhole (test/samtidige-agenter.mjs). Two agents in different apps still runat the same time; nothing is serialised that does not have to be.

The menu bar icon

While an agent is running, a small icon sits in the menu bar, and while one isworking, a small box sits in the top-right corner of your screen. Those two areall this product puts on your screen, and neither ever takes focus.

  • The dropdown lists every agent that is running - which client, and what itis doing right now. Click one to open a live window that follows it. The textsays what it did (Type 42 characters, Press an element in Finder), neverwhat was typed: the characters are not in the status file, not in the log, andnot in the icon.
  • The box shows what is happening, where you are working. It sits in thetop-right corner of the screen with the window you are using - not the one thepointer happens to be on - and follows you when you switch screens. It listswhich agents are working, in which app, and what they are doing now. It nevertakes the keyboard, and disappears half a minute after the work stops. You can switch it off in the icon's menu.
  • A question that needs you turns the icon orange. In background mode theserver used to refuse anything that needed a human, because a dialog takes thescreen. Now it waits for you instead. After about 45 seconds the call answers"has not answered yet" (not a refusal), the question stays in the box for aboutten minutes, and the agent tells you in the chat. When it calls again with thesame action, your answer is collected: a yes counts once, for exactly thataction, and only for about two minutes after you gave it. Nothing happens untilyou answer. A request for the screen waits up to five minutes instead.
  • The box turns orange too, with the whole question. It shows who is asking,what, where it lands and how long a yes counts - the same lines the serverwrites into the menu - with the menu's own buttons: Allow (Touch ID) andDeny (or Done for something you do yourself). The buttons wait a secondafter a new question appears, so a click meant for the last one cannot land onit. For a question longer than 280 characters, Allow is only in the menu,where all of it is shown: you see everything a yes covers before you give it.
  • Allowing is deliberate. In the menu, Allow… lives in a submenu, never oneclick in the main menu; in the box it is a button. Both ask for Touch ID (or yourMac's password) every time. Theanswer travels back down the same socket connection the question came in on,bound to a one-time number with a deadline. A late answer, a different number,or a yes without your fingerprint is a no. The one exception is the screen loanon a server you set to CMCP_SCREEN_ASK=0, which is lent without a question.
  • You see the whole action before you allow it. The full text sits in thesubmenu, wrapped, right above Allow… - up to 4,000 characters. Anything longeris not asked at all: a yes has to cover everything you saw.
  • A message to a real person asks every time. In the chat and mail apps onits list (WhatsApp, Messages, Slack, Teams, Telegram, Signal, Discord, Mail,Outlook and others) and in web chats and webmail recognised by the page title(WhatsApp, Messenger, Slack, Teams, Telegram, Discord, LinkedIn, Instagram,Facebook, Google Chat, X, Gmail, Outlook and a few more - a chat on any othersite is not recognised), pressing orclicking Send - in several languages, or a button with no name at all, or thetext inside such a button - andpressing Return in a chat (Cmd+Return in mail) asks you first, for that onemessage. The question shows who it goes to and what it says, read from thescreen by the server: the name above the text field, and the field itself.If either cannot be read, nothing is sent - you send it yourself. A line breaktyped into a chat is refused, because there it sends; in mail it is just a newline. If the conversation or the text changes after you say yes, nothing issent. A button whose name looks like it deletes, clears, removes, resets,quits, signs out or uninstalls asks every time, and the question names it («Click on screen at 10, 10 - on «Delete» in Finder»);if it is a different button when the click is about to happen, nothing isclicked. What it cannot see: apps not on the list, and messages sent by othertools your client allows, such as browser automation or osascript.
  • It tells you where it can be walked around. The gate guards this server'sown calls, not your whole Mac. computer_permissions lists the rules itrecognises in your client that let an agent click, type or send without it -a shell, sudo, osascript, a script interpreter, browser or computerautomation - so you can decide whether to keep them. It reads Claude Code'ssettings; other clients are not read.
  • Some things can never be approved there: apps on the always-ask list(password managers), an action whose target app could not be resolved, and anunredacted screenshot. Those stay refused and show up in computer_pending.
  • A banner by default, and never a button in one. A new question shows abanner, if macOS lets Computer MCP show notifications (you are asked once). Anotification with an Allow button would be a second way to say yes - and anagent can click a notification - so clicking the banner only shows the questionin the box, and a yes is still given only there. The banner goes away when thequestion is answered or expires. Switch it off in the icon's menu.
  • A sound for each new question. Each new question plays one sound; switch it off in the icon's menu.It does not play again if the same question is sent twice, and not when itexpires.
  • The icon cannot be touched by an agent. Any write tool aimed at it isrefused in every mode, before the gate can even ask. Measured: without thatrule, three of three presses reached the helper.
  • Stop every agent at once. Stop all agents now is in the icon's menuwhile an agent is connected or has the screen (unless you hid the icon), and in the box while one works. ⌃⌥⌘.(Control-Option-Command-period) does the same from any app while the icon runs(it quits ten seconds after the last agent, and when you hide it), and while an agenthas the screen, Esc does too and hands the screen back (the box says so whenEsc could be claimed). The menu shows the shortcut only when it works - anotherapp, or macOS's Increase Contrast, can hold the same keys; the menu item and thebox always work. Every agent that uses the same state folder stops: nothingwaiting is carried out, questions in the box are withdrawn, every "yes for therest of this session" is withdrawn, a recording stops, and a drag, click or keythat was under way is let go. For two minutes anything that writes answers"Stopped" and the agent is told to ask you in the chat; reading still works. Astop is not a lock: after two minutes agents can act again, and it does notreach a tool with its own shell or a server with a different state folder. Anagent cannot press the shortcut for you.

If the menu bar is hidden - a full-screen app, or auto-hide - the icon is hiddenwith it, along with every other status icon on that screen. A question can thensit unnoticed until it expires. That is a real limitation today, not a setting.

What it does not do

  • macOS only (14+) today. There is no Windows or Linux build yet. Both are on theroadmap, and nothing will be claimed for them until CI proves it.
  • Only what macOS marks as secure is redacted. A password in a plain texteditor or a token in a terminal buffer is not marked and will not be hidden.readonly does not help here: it still takes screenshots. Close such a windowfirst, or keep screenshots to one app with app - covering it with anotherwindow is not enough, because a capture can leave the covering window out.
  • Password managers are kept out of the picture itself. In a redactedscreenshot - the default - the capture asks macOS to leave every app on thedeny list out of the image, so their pixels never exist: hiding, moving orclosing one mid-capture cannot leak it. Redaction still runs on top. Anunredacted screenshot, which only the person can allow, captures them likeany other window.What is left of the gap: a secure field in an ordinary app that moves whilethe scan runs is painted where it is now, not where it was. A field showsdots, so that reveals its length, not the password. Helper processes apassword manager runs under a different app ID are not on the list yet.Not measured here: that macOS really leaves the pixels out - that needs acapture, and we do not take one of a person's screen to prove it.
  • Consent is not containment. After you approve, the agent drives your realMac - that is what you approved. If you need a boundary rather than adecision, run it in a VM. That is the honest answer, not a missing feature.
  • Web pages: Chrome only, and measured only on Chrome 156. Measured 23 Sep ontwo Chromes: zero web areas, only the browser's own buttons and addressbar - because the switch we set is Electron's, and Chrome does not have it(asked for it by name, macOS answers -1728, "cannot get"). Chrome builds itspage tree for the switch a real screen reader sets, AXEnhancedUserInterface.That is what changed on 9 Oct, when the same Chrome did show its pages: mostlikely something else had set it (not measured). Since 5 Nov this server setsit in the browsers named above itself. What that costs and changes, so you candecide: Chrome keeps its full accessibility mode for every window and profileuntil it quits, which costs memory and CPU in Chrome (not measured separately -Chrome's own memory swung ±500 MB in 30 s); Chrome's windows may animate whenthey are moved (the known side effect of this switch, not measured on Chrome);any call that looks at Chrome switches it on, not only screenshots. Passwordmanagers that run INSIDE a browser are treated like the native ones: a page whoseaddress is the browser's own password page, a known web vault (1Password,Bitwarden, LastPass, Dashlane, Proton Pass, Keeper, NordPass, RoboForm, Avira,Google Passwords) or one of eighteen known password-manager extensions in Chromeand Edge - also as a suggestion menu inside another page - is never returned bycomputer_find, computer_inspect, computer_focused or the click gate(computer_press, computer_set_value and computer_wait_for say when theyskipped one and then found nothing or ran out of time, instead of only "nothingmatched"), its window is blacked out wholein screenshots, typing there is refused, and a clickthere is refused - with or without an app named, also a page that could not beruled out, and nobody is asked (a yes to a blind click could not be tied to thepage). So is a drag with an end there; a drag's start point is judged exactly likea click (the mouse goes down on it). The address rule applies to a web pagein any app, not only in a browser. A web page whose address cannot be read (in anyapp), or an element whose role cannot be read in a browser, is kept out of thereading tools too - that can also leave out ordinary content, and then a searchsays it was incomplete instead of guessing.It is a guard against accidents, not a fence: keys that are not text (Tab, Enter,Cmd+C), surfaces that copy a page elsewhere (developer tools, reading mode, theclipboard) and Chrome's OWN password bubbles and autofill rows - native panels,not pages - are not covered. Nor are a self-hosted vault, an extension not on thelist, Safari's and Firefox's extension pages, window and menu titles (as fornative apps), screen recordings (they leave out apps, not pages), and a vaultnavigated away from in the instant between the capture and the scan.CMCP_INGEN_ELECTRON=1 leaves Chrome's switch off too. And Chrome blocks everyextension on Chrome Web Store and its developer console ("The extensions gallerycannot be scripted") - there a browser tool can navigate but not act, and thisserver can read the page (measured on the developer console). An agent findsthe right window by the browser tool's tab group: the window title contains thegroup's name, in Chrome's own interface language (measured by hand once, in aDanish Chrome: «… – en del af gruppen Claude 2 – …»; no automated test).
  • Keystrokes do not land in a Chromium window that is not focused. Measuredthe same day: the helper reported typed: 21 and took_screen: false, andthe text arrived nowhere. computer_set_value through the accessibilitylayer did land - in the address bar, which is part of the browser's own UI.That is why the quiet route is computer_find + computer_press /computer_set_value, not typing.
  • A coordinate click is judged by what lies under the point. That is theapp macOS names as its owner, plus every window stacked above it down to thefirst opaque one, checked again right before the click. A window that macOSreports as opaque but that lets clicks through to what is underneath is notseen by that check. Not measured here: it needs a real window on a machinethat is not someone's working Mac.
  • Prompt injection stays possible. The dialogs and the log make it visiblerather than silent. They do not make it impossible.
  • Menus and file dialogs are out of reach in background mode - with oneexception, pop-up buttons. Measured: an open menu takes the whole inputstream on macOS - while one is open the system will not even say which app hasfocus - and in a save panel of an app behind, Save stayed disabled. So a click,press or key that would open a menu behind is refused, and a greyed-out Saveanswers disabled. A pop-up button can be chosen in with computer_set_value:its menu is on your screen for a moment (about 0.15 s in our two-item test),only after 2 s without input from you, nothing is chosen if you start workingbefore the item is pressed, and the answer says how the menu closed. A plain button that pops up a menu of its own isnot recognised in advance - if a menu opens over your work anyway, the agenttries to close it with Escape, and the answer says what happened: closed, stillopen, or that it could not be checked.

Building from source

git clone https://github.com/agent360dev/computerMCP
cd computerMCP/helper && swift build -c release     # the privileged binary
cd ../mcp-server && npm install
CMCP_MODE=readonly node index.js

The helper is a separate Swift binary with zero third-party dependencies.It is the part that uses Accessibility and Screen Recording, it is smallenough to read in one sitting, and it can be replaced without touching theserver. (Which process macOS grants those permissions to is a separatequestion, and an open one - see the note under Install.) Every package inside a binary that privileged is a vendoryou are trusting without having chosen to.

Testing

./test/run-all.sh                # everything, full output kept in a log

python3 test/redaction-unit.py   # the four redaction checks
node test/server-e2e.mjs         # the MCP protocol, read paths, readonly refusal
node test/failclosed.mjs         # an unanswered dialog must refuse
node test/claims.mjs             # every claim this README makes
node test/concurrent.mjs         # two servers at once: no torn lines, both identifiable
./test/redaction-proof.sh        # live secure-field detection (needs a normal desktop)

claims.mjs checks the sentences on the front page against the code: that aterminal still asks in allow mode, that a harmless app does not (otherwise"refuse everything" would pass), that typed text reaches the log only as alength and a hash, and that no shell, file or URL tool has appeared.

Where a check cannot be made meaningfully - no secure field happens to be onscreen - it reports SKIPPED, not passed. A green suite that measured nothing isthe failure mode these tests exist to avoid.

redaction-unit.py builds its own image instead of measuring the live screen.The first version measured the real desktop - and on a machine where the editorruns full-screen the test window could not appear at all, so the test measuredan empty screenshot and called it a pass. A security test that passes when itcannot see anything is worse than no test.

redaction-proof.sh still exercises the live path and needs a desktop that isnot in full-screen mode. It fails loudly rather than skipping quietly.

Help build it

The redaction list holds the password managers we thought of. It does not holdyour banking app, your company's secrets manager, or whatever is popular whereyou live. One team cannot write that list; many people adding one line eachcan - and every app someone contributes makes the tool safer for everyone whoinstalls it afterwards.

That takes an issue formand no code. So does writing down how some Mac app actually behaves, which isknowledge that currently only exists in the heads of people who already fought it.

Port it to Linux or Windows. The roadmap breaks the portinto small issues, each with a test that says when it is done. Several need no deep OSknowledge: running the platform-neutral tests on Linux and Windows CI(#30), a small GTK or WinForms fixture app (#34,#38), and the Linux and Windows protection list(#40).

The wishlist is the rest: open items, sized honestly, none of themassigned. How contributing works.

Sister project

Agent360 Browser MCP(browsermcp.dev) is the browser, where this one isthe Mac, on the same safety principles. Running both? How they split the work.

Contributing

A good first issueis a place to start. How contributing works.

If it works for you, a star on GitHubhelps the next person find it.

Who makes this

Built by Agent360, a Danish shop building agents thatdo real work:

  • Browser MCP - the same idea for a real,logged-in Chrome. Written alongside this one, and the two share their lessons.
  • JesperAI - voice agents that hold an actualconversation on the phone.
  • ForbrugerAgenten - an agent that reads yourhousehold bills and switches your provider for you.

Everything here is MIT and runs on your machine. None of the above is required,bundled, or phoned home to.

What this project is for

Dev-troværdighed, not a growth engine. The same mandate as its siblingbrowser-mcp: honesty, correcting untrue claims, and guards that can actuallygo red. Growth, SEO and channel work are not the job unless asked for.

The full mandate, and the one reason this project is allowed to exist, is inMANDAT.md.

Privacy

Nothing leaves your machine because of this server. There is no account, notelemetry, no server of ours in the path, and no network call the server makeson its own.

  • Screenshots go to the MCP client you configured - the same place the restof your conversation goes - and nowhere else. Secure text fields are blackedout in the image buffer before the PNG is ever written, so a password is notin the file that is sent.
  • The audit log lives only on your disk, at~/.local/state/computer-mcp/audit.jsonl. It stores a salted fingerprint oftyped text, never the text. The same folder holds the small files the agentsuse to coordinate (locks, sessions, the stop signal) and the notes an agentsaved with computer_learning. Delete the folder and it is all gone.
  • We collect nothing. No identifiers, no usage counts, no crash reports.

Full policy: https://computermcp.dev/privacy.html

Licence

MIT © Agent360 Group ApS.

MCP Server · Populars

MCP Server · New

    blen-labs

    Capture MCP

    AI-native Model Context Protocol (MCP) server that integrates SAM.gov, USASpending.gov, and Tango APIs to capture and analyze federal procurement and spending data through natural language queries. Responses include both human-readable text and structured JSON so MCP-compatible clients can consume the data programmatically.

    Community blen-labs
    PanStudio

    ZulipChat MCP Server

    ZulipChat MCP Server - A Model Context Protocol server that bridges AI agents with Zulip Chat. Built with FastMCP for lightning-fast performance, featuring comprehensive chat management and intelligent summarization. Transform your Zulip workspace into an AI-powered collaboration hub!

    Community PanStudio
    United-Compute

    GPU Price Tracker: open data

    This project tracks the market prices and performance metrics of various GPUs.

    Community United-Compute
    Graphify-Labs

    graphify

    Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.

    Community Graphify-Labs