Desktop Controller MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Desktop Controller MCP ServerTake a screenshot of my desktop."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Desktop Controller MCP Server
Give any AI full control of your desktop. Mouse, keyboard, screenshots — all through the Model Context Protocol.
One MCP server. Ten tools. Your AI can now see your screen and interact with any application, just like you do.
What can it do?
See your screen — Take full or partial screenshots, auto-optimized for LLM token usage
Move & click — Navigate, click, double-click, right-click, drag and drop
Type anything — Full keyboard control including Unicode, emoji, and key combos (Cmd+C, Ctrl+Shift+T, etc.)
Cross-platform — Works on macOS, Windows, and Linux
Related MCP server: Bridge MCP
Tools
Tool | What it does |
| Capture the screen or a region (returns image directly to the LLM) |
| Get screen dimensions in logical pixels |
| Get current cursor coordinates |
| Move cursor (absolute or relative) |
| Click, double-click, or right-click at any position |
| Scroll up or down |
| Drag from one position to another |
| Type text with full Unicode support |
| Press special keys (Enter, Tab, arrows, F1-F12, etc.) |
| Press key combinations (Cmd+C, Ctrl+V, Alt+F4, etc.) |
Quick Start
Install
git clone https://github.com/YOUR_USERNAME/mcp-desktop-controller.git
cd mcp-desktop-controller
pip install -e .Add to Claude Desktop
Add to your config (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"desktop-controller": {
"command": "mcp-desktop-controller"
}
}
}{
"mcpServers": {
"desktop-controller": {
"command": "/path/to/venv/bin/mcp-desktop-controller"
}
}
}Add to Claude Code
claude mcp add desktop-controller -- mcp-desktop-controllermacOS Permissions
On first run, you'll need to grant two permissions in System Settings > Privacy & Security:
Accessibility — so the server can control mouse and keyboard
Screen Recording — so it can take screenshots
Safety
Failsafe — Move your mouse to the top-left corner (0,0) to instantly abort any action
Action pause — 0.1s delay between all actions to keep things predictable
Retina-aware — All coordinates use logical resolution; screenshots are auto-downscaled to save tokens
How it works
Built with FastMCP and PyAutoGUI. The server exposes desktop control as MCP tools over stdio. Any MCP-compatible client (Claude Desktop, Claude Code, or your own) connects and gets full desktop access.
Your AI ←→ MCP Client ←→ Desktop Controller ←→ Your ScreenPlatform Support
Platform | Status | Notes |
macOS | Full support | Uses |
Windows | Full support | Uses |
Linux | Full support | Requires |
Development
# Run directly
python server.py
# Test with MCP Inspector
fastmcp dev server.pyLicense
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Zero-setup MCP gateway securely connecting AI to your tools with authentication and workflows
Let ChatGPT, Claude & Cursor use your Mac: email, calendar, iMessage, Teams, files. Local, free.
Melaya is a remote MCP server. It gives an assistant hands on your own Android phone and browser: it reads the screen through the accessibility tree, then taps, types and navigates inside the apps and sites you allow-list, with no per-app API. It also builds, schedules and runs agent pipelines across 6k+ connected tools. OAuth 2.1, nothing to install.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceAn MCP server that gives any AI assistant eyes and hands on your desktop — screenshots, clicking, typing, OCR, window management, accessibility-tree queries, workflow recording.5Apache 2.0
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that gives any AI full control over a Windows PC, enabling application control, mouse/keyboard automation, screen capture, browser automation, and more.28 PyPI5MIT
- AlicenseNot gradedqualityDmaintenanceFull computer control for AI agents on macOS — see, click, type, scroll via MCP. Works with any app, all processing on-device with PII protection.MIT
- AlicenseNot gradedqualityDmaintenanceGives AI assistants full macOS desktop control via screenshots, mouse, keyboard, scrolling, and app management.362 npmMIT