About
MCP server for xdotool - mouse and keyboard automation
README
MCP server for mouse and keyboard automation via xdotool. Gives Claude (or any MCP client) the ability to control your desktop.
Installation
cargo install rmcp-xdotool
Or build from source:
git clone https://github.com/sqrew/rmcp-xdotool
cd rmcp-xdotool
cargo build --release
Requirements
- Linux with X11
- xdotool installed (
sudo pacman -S xdotoolorsudo apt install xdotool)
Tools
| Tool | Description |
|---|---|
move_mouse |
Move cursor to x,y coordinates |
click |
Click at current position (1=left, 2=middle, 3=right) |
click_at |
Move to x,y and click |
type_text |
Type text as keyboard input |
key_press |
Press key/combo (e.g., ctrl+c, alt+Tab, Return) |
scroll |
Scroll up/down/left/right |
get_mouse_position |
Get current cursor position |
double_click |
Double-click at current position |
Claude Code Configuration
Add to your ~/.claude.json:
{
"mcpServers": {
"xdotool": {
"type": "stdio",
"command": "/path/to/rmcp-xdotool",
"args": [],
"env": {}
}
}
}
Usage Examples
Claude, move my mouse to (500, 300)
Claude, click the button at position (800, 450)
Claude, type "hello world" into the search box
Claude, press ctrl+s to save
Claude, scroll down 5 clicks
Warning
This gives Claude full control of your mouse and keyboard. Use responsibly. Or don't. You're a pioneer.
Related Projects
- claude-sensors - Environmental awareness for AI
- rmcp-i3 - i3 window manager control
- rmcp-breakrs - Desktop break reminders
License
MIT
Built with Claude. For Claude. By sqrew.
Installing Rmcp Xdotool
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/sqrew/rmcp-xdotoolFAQ
Is Rmcp Xdotool MCP free?
Yes, Rmcp Xdotool MCP is free — one-click install via Unyly at no cost.
Does Rmcp Xdotool need an API key?
No, Rmcp Xdotool runs without API keys or environment variables.
Is Rmcp Xdotool hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Rmcp Xdotool in Claude Desktop, Claude Code or Cursor?
Open Rmcp Xdotool on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectAmap Maps Mcp Server
MCP server for using the AMap Maps API
by duxiaohuiSupabase
Database, auth and storage
by SupabaseEverything
Reference / test server with prompts, resources, and tools.
Git
Tools to read, search, and manipulate Git repositories.
Sequential Thinking
Dynamic and reflective problem-solving through thought sequences.
Time
Time and timezone conversion capabilities.
Compare Rmcp Xdotool with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
