macOS Accessibility MCP Server — gives AI hands and eyes on macOS
Project description
macgic-mcp
macOS Accessibility MCP Server — gives AI "hands and eyes" on macOS.
An MCP server that exposes macOS Accessibility and Core Graphics APIs as tools, allowing AI systems (Claude, etc.) to fully control a Mac: clicking, typing, drawing, reading UI elements, launching apps, and taking screenshots.
Requirements
- macOS
- Python 3.13+
- Accessibility permission granted to your terminal/IDE
- Screen Recording permission (for screenshots)
Usage
Add to your MCP client config (e.g. Claude Code ~/.claude/mcp_servers.json or Claude Desktop):
{
"mcpServers": {
"macgic": {
"command": "uvx",
"args": ["macgic-mcp"],
"type": "stdio"
}
}
}
Tools
Vision / Context
| Tool | Description |
|---|---|
screenshot |
Capture full screen, specific display, or region as PNG |
list_displays |
List connected displays with IDs, resolutions, positions |
list_apps |
List running applications (name, bundle ID, PID) |
get_ui_elements |
Read accessibility tree for an app (role, title, value, position, size) |
Mouse Control
| Tool | Description |
|---|---|
mouse_click |
Click at x,y (left/right, single/double) |
mouse_move |
Move cursor to x,y |
mouse_drag |
Drag between points with smooth interpolation (enables drawing!) |
scroll |
Scroll at position (horizontal + vertical) |
Keyboard Control
| Tool | Description |
|---|---|
type_text |
Type a string of text character by character |
key_press |
Press key combinations (e.g. cmd+c, cmd+shift+z, enter) |
App Management
| Tool | Description |
|---|---|
open_app |
Launch an app by name or bundle ID |
activate_app |
Bring an app to the foreground |
Permissions
Grant these in System Settings > Privacy & Security:
- Accessibility — required for mouse/keyboard control and reading UI elements
- Screen Recording — required for screenshots
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file macgic_mcp-0.1.0.tar.gz.
File metadata
- Download URL: macgic_mcp-0.1.0.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf135a9bb9a9701ba760ce5330dc583dc53b5433bc524f94dd2296146903f89f
|
|
| MD5 |
4d5446bb68c2fcb52b19d50439dece47
|
|
| BLAKE2b-256 |
493cdfbeb51bd1656ba3f630793ad8ce22fe152eb4ca5b031d24194b3ea61fea
|
File details
Details for the file macgic_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: macgic_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 11.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b41689c4a696a468b0b45ddd80e8a5d39891818ca667e5f5c463edead3b0e6c
|
|
| MD5 |
19dfbef379e6f6f86775d1157e549f39
|
|
| BLAKE2b-256 |
201f47b3a09f722579979230bf108fde39e4632161ef83e8a832e9110d20cfb6
|