Control Classic Mac OS (System 7-9) from AI agents via shared folder protocol.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
Let AI talk to your Classic Mac.
AgentBridge is a native Classic Mac OS application that lets AI agents (like Claude) interact with Mac OS 7β9 through structured commands and responses. It works on real hardware and emulators β no modifications to your Mac required.
Drop AgentBridge into a shared folder, launch it on your Mac, and an AI agent can list windows, open apps, type text, read the clipboard, browse files, and more β all through a simple text-based protocol.
The transport is just a folder. How that folder is shared between the AI and the Mac is up to you:
No SSH. No special drivers. No modifications to your Mac's system. AgentBridge is a regular application β launch it, quit it, done.
The MCP server exposes these tools to AI agents. If the fleet has only one target, the target parameter is optional on all tools.
classic_mac_list_targets
List all configured Classic Mac targets and their status (heartbeat alive/dead).
No parameters.
classic_mac_ping
Health check β returns pong if AgentBridge is responding.
| Parameter | Required | Description |
|---|---|---|
target | No | Target ID or alias |
classic_mac_heartbeat
Read the heartbeat file β shows uptime, front app, free memory, timestamp.
| Parameter | Required | Description |
|---|---|---|
target | No | Target ID or alias |
classic_mac_get_about
System information β OS version, machine type, RAM, free memory, uptime.
| Parameter | Required | Description |
|---|---|---|
target | No | Target ID or alias |
classic_mac_list_windows
Enumerate all visible windows across all applications. Returns window index, title, bounds (left,top,right,bottom), and front/back layer.
| Parameter | Required | Description |
|---|---|---|
target | No | Target ID or alias |
classic_mac_get_front_window
Get details about the frontmost window β title, bounds, owning app.
| Parameter | Required | Description |
|---|---|---|
target | No | Target ID or alias |
classic_mac_list_processes
List running applications with name, creator code, PID, and memory partition.
| Parameter | Required | Description |
|---|---|---|
target | No | Target ID or alias |
classic_mac_list_menus
List the menu bar entries for the frontmost application.
| Parameter | Required | Description |
|---|---|---|
target | No | Target ID or alias |
classic_mac_get_menu_items
Get items within a specific menu by name.
| Parameter | Required | Description |
|---|---|---|
target | No | Target ID or alias |
menu | Yes | Menu title (e.g. "File", "Edit") |
classic_mac_menu_select
Activate a menu item by name. Works for items with keyboard shortcuts.
| Parameter | Required | Description |
|---|---|---|
target | No | Target ID or alias |
menu | Yes | Menu title |
item | Yes | Menu item name |
classic_mac_click
Click at screen coordinates.
| Parameter | Required | Description |
|---|---|---|
target | No | Target ID or alias |
x | Yes | X coordinate (pixels from left) |
y | Yes | Y coordinate (pixels from top) |
clicks | No | Number of clicks (default 1, use 2 for double-click) |
classic_mac_mouse_move
Move the cursor without clicking.
| Parameter | Required | Description |
|---|---|---|
target | No | Target ID or alias |
x | Yes | X coordinate |
y | Yes | Y coordinate |
classic_mac_mouse_drag
Click and drag from one point to another.
| Parameter | Required | Description |
|---|---|---|
target | No | Target ID or alias |
x1 | Yes | Start X |
y1 | Yes | Start Y |
x2 | Yes | End X |
y2 | Yes | End Y |
classic_mac_type_text
Type a string of text into the frontmost application.
| Parameter | Required | Description |
|---|---|---|
target | No | Target ID or alias |
text | Yes | Text to type |
classic_mac_key_press
Press a single key with optional modifiers.
| Parameter | Required | Description |
|---|---|---|
target | No | Target ID or alias |
key | Yes | Key name: single character, or return, enter, tab, space, delete, escape, left, right, up, down, home, end, pageup, pagedown, f1βf5 |
modifiers | No | Comma-separated: cmd, opt, shift, ctrl (e.g. "cmd,shift") |
classic_mac_get_clipboard
Read the current clipboard text contents.
| Parameter | Required | Description |
|---|---|---|
target | No | Target ID or alias |
classic_mac_set_clipboard
Set the clipboard text contents.
| Parameter | Required | Description |
|---|---|---|
target | No | Target ID or alias |
text | Yes | Text to place on clipboard |
classic_mac_launch_app
Launch an application by HFS path or creator code.
| Parameter | Required | Description |
|---|---|---|
target | No | Target ID or alias |
path | No* | HFS path (e.g. "Macintosh HD:Applications:SimpleText") |
creator | No* | 4-character creator code (e.g. "ttxt") |
*One of path or creator is required.
classic_mac_activate_app
Bring a running application to the front.
| Parameter | Required | Description |
|---|---|---|
target | No | Target ID or alias |
name | Yes | Application name |
classic_mac_quit_app
Send a quit Apple Event to a running application.
| Parameter | Required | Description |
|---|---|---|
target | No | Target ID or alias |
name | Yes | Application name |
classic_mac_send_appleevent
Send a generic Apple Event to a running application.
| Parameter | Required | Description |
|---|---|---|
target | No | Target ID or alias |
app | Yes | Target app name or 4-char creator code |
event | Yes | Event type: oapp, quit |
classic_mac_get_volumes
List all mounted volumes with name, free space, and total size.
| Parameter | Required | Description |
|---|---|---|
target | No | Target ID or alias |
classic_mac_list_folder
List contents of a folder by HFS path. Returns name, type code, creator code, size, and whether each item is a folder.
| Parameter | Required | Description |
|---|---|---|
target | No | Target ID or alias |
path | Yes | HFS path (e.g. "Macintosh HD:System Folder:") |
| Environment | Architecture | OS Versions | Status |
|---|---|---|---|
| 68k Macs | 68k | System 7.0β8.1 | β Tested on System 7.6.1 |
| PowerPC Macs | PowerPC | Mac OS 8.5β9.2.2 | Builds, untested |
| BasiliskII | 68k | System 7.0β8.1 | β Tested on System 7.6.1 |
| SheepShaver | PowerPC | Mac OS 8.5β9.2.2 | Builds, untested |
AgentBridge requires System 7.0 or later (for Apple Events support).
Download from the Releases page:
AgentBridge-68k.bin β MacBinary for 68k Macs (System 7β8.1)AgentBridge-68k.dsk β HFS disk image for 68k Macs (System 7β8.1)AgentBridge-ppc.bin β MacBinary for PowerPC Macs (OS 8.5β9.2.2)AgentBridge-ppc.dsk β HFS disk image for PowerPC Macs (OS 8.5β9.2.2)Create a shared folder accessible to both your Mac and your modern computer. This can be a NAS share, an emulator's host directory, or any shared filesystem.
Create the directory structure inside the shared folder:
Copy AgentBridge into the folder alongside inbox/outbox/assets.
Launch AgentBridge on the Classic Mac. It will automatically find its folder and start polling for commands.
Send a test command from your modern computer:
Read the response:
You should see RESULT pong and STATUS ok.
Each Mac gets its own subfolder with its own copy of AgentBridge:
AgentBridge uses its own launch location as its working directory β no configuration needed.
The MCP server exposes AgentBridge commands as tools for AI agents like Claude. It's a Node.js TypeScript server that communicates via stdio (standard MCP transport).
Or run directly with npx (no install needed):
Create a fleet.json file to point at your shared folders:
Add to your Claude Desktop config (claude_desktop_config.json):
Or if you installed from source:
AgentBridge uses a line-oriented key-value text protocol designed for Classic Mac constraints:
C00001.msg (commands) and R00001.msg (responses)Commands are text files written to the inbox/ directory, named C{seq}.msg (e.g. C00001.msg). Sequence numbers are zero-padded to 5 digits.
All lines are KEY value pairs, terminated by --- on its own line. Line endings are CR (0x0D, Classic Mac native). Text encoding is MacRoman (the MCP server handles UTF-8 conversion). Multi-line text uses + continuation lines after the TEXT key. Maximum message size is 32KB.
Responses appear in the outbox/ directory as R{seq}.msg, matching the command's sequence number. AgentBridge deletes command files after processing; the MCP server deletes response files after reading.
STATUS is either ok or error. On error, ERRCODE and ERRMSG fields provide details. Multi-value responses (windows, processes, volumes, files, menu items) use repeated keys (WINDOW, PROCESS, VOLUME, FILEENTRY, MENUBAR, MENUITEM) with pipe-delimited fields.
AgentBridge writes a heartbeat file in its working directory every ~2 seconds:
The MCP server monitors the heartbeat file's modification time to determine if AgentBridge is alive.
Requires Node.js 20+.
AgentBridge binaries are available as pre-built downloads β source code is not distributed.
No host-side dependencies. AgentBridge does everything through the Mac Toolbox. There's no SSH, no screen capture, no input injection at the host OS level. This means it works identically on real hardware and emulators.
No system modifications. AgentBridge is a regular application. It doesn't modify your System Folder, install extensions, or change boot configuration. Launch it, quit it, delete it β your Mac is untouched.
Transport agnostic. The protocol is just text files in a folder. How that folder is shared (NAS, AFP, SMB, emulator extfs, USB drive, carrier pigeon) is not AgentBridge's concern.
Cooperative multitasking citizen. AgentBridge yields CPU via WaitNextEvent() every cycle. Other apps run normally.
Stateless commands. Every command is self-contained. The MCP server can crash and restart without the Mac side needing to know.
AgentBridge 1.0.1 Sean Lavigne Β© 2026 Falling Data Zone, LLC
Built with Retro68 by Wolfgang Thaller.
MacMind β a single-layer transformer neural network implemented entirely in HyperTalk, trained and running on a Macintosh SE/30. Proof that 1987 scripting can do machine learning.
More apps at apps.fallingdata.zone.
This project has two components with separate licenses:
MCP Server (TypeScript, src/ directory) β GNU General Public License v3.0 β free to use, modify, and distribute under GPL terms.
AgentBridge.app (Classic Mac application, source in classic-mac-src/) β modified PolyForm Noncommercial 1.0.0. Β© 2026 Falling Data Zone, LLC. Pre-built binaries are available for download.
Protocol β the AgentBridge protocol as documented in this README is open.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/agentbridge)<a href="https://allmcps.com/mcp/agentbridge"><img src="https://allmcps.com/api/badge/agentbridge?style=directory" alt="Agentbridge on AllMCPs" /></a>