
Company News
AWS Security Hub Adds Socket for Supply Chain Security
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.
@pilotgentic/mcp-server
Advanced tools
Physical macOS desktop control for Claude — click, type, screenshot, read UI structure, control browsers, run agentic action loops via PilotGentic daemon
Gives Claude CLI (Claude Code) physical Mac control + vision via the MacPilot daemon. Claude can see your screen, click anywhere, type text, press keyboard shortcuts, scroll, and launch apps — across every native Mac application.
cd ~/Projects/automation-hub/MacPilot/components/mcp-server
./install.sh
That's it. The installer handles everything:
claude mcp add (user scope → ~/.claude.json) so tools work from any directory.mcp.json in the project root as a project-scope backup~/.claude/skills/macpilot/)After install, just run claude from any directory. The tools are always available.
claude
> "Open System Settings and enable Dark Mode"
# Claude auto-uses: screenshot → launch → click → verify
| Tool | Description |
|---|---|
pilotgentic_screenshot | Capture screen — gives Claude vision of the Mac desktop |
pilotgentic_click | Click at (x,y) coordinates in any app |
pilotgentic_type | Type text into the focused field |
pilotgentic_key | Press keyboard shortcuts (Cmd+C, Cmd+V, etc.) |
pilotgentic_scroll | Scroll at a specific position |
pilotgentic_move | Move Doppler cursor overlay (aim without clicking) |
pilotgentic_launch | Open or activate a Mac application |
pilotgentic_status | Get daemon status, cursor position, running apps |
Claude Code <-> MCP (stdio) <-> This Server <-> File IPC <-> Daemon <-> Mac
The MCP server communicates with the MacPilot daemon via file-based IPC (/tmp/pilotgentic_cmd.txt and /tmp/pilotgentic_result.txt). The daemon uses macOS CGEvents for physical input simulation in any app.
The installer sets up 3 layers that work together:
| Layer | What it does | File |
|---|---|---|
| MCP Server (user) | Registers 8 tools in every Claude CLI session | ~/.claude.json (via claude mcp add) |
| MCP Server (project) | Backup: tools available when inside MacPilot dir | .mcp.json in project root |
| Skill | Teaches Claude the screenshot->click->verify workflow | ~/.claude/skills/macpilot/SKILL.md |
| Daemon auto-start | Spawns MacPilot daemon if not running | Built into MCP server startup |
The MCP server layer makes the tools available. The skill layer makes Claude prefer them for GUI tasks and know the correct workflow. The auto-start layer means users never need to manually launch the daemon.
If you don't want to use the installer, you can set up each layer manually:
1. MCP Server (user scope) — Register via Claude CLI so tools are available everywhere:
claude mcp add macpilot --scope user -- node /path/to/MacPilot/components/mcp-server/src/index.js
This writes to ~/.claude.json. Verify with claude mcp list.
2. MCP Server (project scope) — Create .mcp.json in the MacPilot project root:
{
"mcpServers": {
"macpilot": {
"command": "node",
"args": ["/path/to/MacPilot/components/mcp-server/src/index.js"]
}
}
}
3. Skill — Create ~/.claude/skills/macpilot/SKILL.md with YAML frontmatter containing name, description, allowed-tools, and the MacPilot workflow instructions. See install.sh for the full content.
Important: Claude Code does NOT use ~/.claude/settings.json for MCP servers. That file is for permissions and general settings. MCP servers go in ~/.claude.json (user scope) or .mcp.json (project scope). Use claude mcp add to register them correctly.
mcp-server/
├── package.json
├── install.sh # One-command installer
├── mcp.json # MCP config for --mcp-config flag
├── README.md
└── src/
├── index.js # Server entry point
├── config/
│ └── constants.js # Paths, timeouts, key codes
├── tools/
│ ├── index.js # Tool registry
│ ├── click.js # pilotgentic_click
│ ├── type.js # pilotgentic_type
│ ├── key.js # pilotgentic_key
│ ├── scroll.js # pilotgentic_scroll
│ ├── screenshot.js # pilotgentic_screenshot
│ ├── status.js # pilotgentic_status
│ ├── move.js # pilotgentic_move
│ └── launch.js # pilotgentic_launch
└── utils/
├── daemon-bridge.js # File-based IPC with daemon
├── daemon-lifecycle.js # Daemon auto-start/health check
├── screenshot.js # Screen capture utilities
└── applescript.js # AppleScript system queries
FAQs
Physical macOS desktop control for Claude — click, type, screenshot, read UI structure, control browsers, run agentic action loops via PilotGentic daemon
We found that @pilotgentic/mcp-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.

Research
/Security News
Popular npm packages keyv and cacheable compromised.

Security News
A misconfiguration gave three Anthropic models internet access, and one, believing it was in a simulation, shipped a credential-stealing package to PyPI.