macOS Screen View & Control MCP Server
@jhead
关于 macOS Screen View & Control MCP Server
MCP Server to screenshot and control macOS windows (made for Cursor)
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"macos-screen-mcp": {
"command": "python",
"args": [
"-m",
"macos_screen_mcp"
]
}
}
}工具
5Captures a screenshot of a specific window by its title or ID
Lists all visible windows
Finds a window by title or owner name
Sends a keyboard key press event to the active window
Types a sequence of text characters
概览
What is macOS Screen View & Control MCP Server?
A Model Context Protocol server for macOS that enables LLMs to capture screenshots of specific windows by title or ID, list visible windows, find windows, and send keyboard input. It is designed for developers and AI agents needing visual or interactive access to macOS windows.
How to use macOS Screen View & Control MCP Server?
Install via pip (pip install git+ssh://[email protected]/jhead/macos-screen-mcp.git) and run with python -m macos_screen_mcp. Configure the server URL (e.g., http://localhost:8000/sse) in Claude or Cursor settings under mcpServers. Use the provided tools: capture_window_screenshot, list_windows, find_window, send_key, and type_text.
Key features of macOS Screen View & Control MCP Server
- Capture screenshots of windows by title or ID
- List all visible windows on macOS
- Find windows by title or owner name
- Send keyboard key presses with modifier support
- Type sequences of text with configurable keystroke delay
Use cases of macOS Screen View & Control MCP Server
- An AI assistant screenshotting a specific application window for analysis
- Automating window discovery and interaction on macOS
- Sending keyboard shortcuts (e.g., Command+C) to active windows
- Typing text into input fields programmatically
- Debugging window state by listing visible windows
FAQ from macOS Screen View & Control MCP Server
What tools does macOS Screen View & Control MCP Server provide?
It provides capture_window_screenshot, list_windows, find_window, send_key, and type_text.
How do I install and run the server?
Install via pip install git+ssh://[email protected]/jhead/macos-screen-mcp.git and run with python -m macos_screen_mcp. Debug using npx @modelcontextprotocol/inspector python -m macos_screen_mcp.
What keys are supported for send_key?
Supported keys include letters a‑z, numbers 0‑9, return, tab, space, delete, escape, arrow keys, and modifier keys (command, shift, control, option, and their right variants).
Does the server support authentication?
No. The configuration uses a local HTTP URL (http://localhost:8000/sse) without any authentication mechanism mentioned.
On which operating systems does it run?
The server is explicitly for macOS; it uses macOS‑specific window APIs (e.g., window titles, screenshots) and does not support other operating systems.
其他 分类下的更多 MCP 服务器
Reactive Resume
amruthpillaiA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Blender
ahujasidOpen-source MCP to use Blender with any LLM
Codelf
unbugA search tool helps dev to solve the naming things problem.
XcodeBuildMCP
cameroncookeA Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
评论