kira-mcp
Click on "Install 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., "@kira-mcpperceive my screen and describe what you see"
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.
██╗ ██╗██╗██████╗ █████╗
██║ ██╔╝██║██╔══██╗██╔══██╗
█████╔╝ ██║██████╔╝███████║
██╔═██╗ ██║██╔══██╗██╔══██║
██║ ██╗██║██║ ██║██║ ██║
╚═╝ ╚═╝╚═╝╚═╝ ╚═╝╚═╝ ╚═╝
local · MCP · computer-usekira-mcp is a local Model Context Protocol server that gives any MCP-compatible agent host (Claude Desktop, Claude Code, Cursor, Cline, Continue, …) full computer-use capabilities on the host machine.
https://github.com/user-attachments/assets/b9b65987-32b1-43f5-bdf0-006ea71c6d13
Kira solving a CAPTCHA end-to-end — one
perceive_screen, click-ready pixels, no human in the loop.
Built and tuned for Windows. macOS and Linux are best-effort — most tools work, but some UI conventions differ.
Vision —
perceive_screenis the agent's one-shot "look at the screen" tool. It grabs the current display in memory, runs the local microsoft/OmniParser-v2 YOLO icon-detector on it, and returns an annotated image plus JSON with each element's{id, bbox, cx, cy, confidence}in absolute screen pixels — so the agent can pipecx, cystraight intomouse_click. No API key, no network call.Desktop automation — pixel-accurate mouse control, keyboard input (incl. chords and key holds), and clipboard read/write via pyautogui, mss, and pyperclip.
The server speaks stdio JSON-RPC and is launched as a child process by your agent host.
Requirements
Python 3.10+
Platform extras (pyautogui needs them to actually drive input):
OS
Setup
Windows
Nothing extra — primary platform.
macOS
Grant Accessibility permission to the terminal running the server: System Settings → Privacy & Security → Accessibility. First screenshot also prompts for Screen Recording.
Linux
sudo apt install python3-tk python3-dev scrot xdotool(or the equivalent on your distro). X11 sessions only — Wayland blocks raw screen grabs (see Wayland note).
Install
From PyPI (recommended):
pip install kira-mcp…or, for an isolated global install that won't pollute any project's site-packages:
pipx install kira-mcpEither form installs the kira-mcp console script and registers every tool module.
The OmniParser-v2 YOLO icon-detector weights (icon_detect/model.pt, ~39 MB) ship inside the wheel — no separate download step. They are loaded and warmed up from disk at server startup.
Working on kira-mcp itself? Clone and install editable:
git clone https://github.com/Anmol202005/kira-mcp.git && cd kira-mcp && pip install -e .If your clone is missing the weights (e.g. a shallow checkout, or you stripped them), restore them with:
hf download microsoft/OmniParser-v2.0 \ icon_detect/model.pt \ icon_detect/model.yaml \ --local-dir src/kira_mcp/weightsOr point to a model.pt elsewhere on disk by setting
KIRA_YOLO_WEIGHTSin your environment.
Configure your agent host
Claude Desktop / Claude Code
Add to claude_desktop_config.json (Desktop) or via claude mcp add (Code):
{
"mcpServers": {
"kira-mcp": {
"command": "kira-mcp"
}
}
}Prefer not to rely on the installed script? Use the module form:
{
"mcpServers": {
"kira-mcp": {
"command": "python",
"args": ["-m", "kira_mcp"]
}
}
}Restart your host. All kira-mcp tools will appear under the kira-mcp namespace.
Cursor / Cline / Continue / Windsurf
Identical shape — point the host's MCP server config at kira-mcp (or python -m kira_mcp).
Tools
Vision
Tool | Purpose |
| One-shot perceive step: screenshots the current display (or a |
Mouse
Tool | Purpose |
| Move to absolute |
| Read the cursor's current |
| Click |
| Double-click. Optional |
| Hold and later release a button (drag-and-drop primitives). |
| One-shot: move → press → drag to target → release. |
| Scroll |
Keyboard
Tool | Purpose |
| Type literal text. |
| Press + release a key chord, e.g. |
| Hold and later release keys (modifier-state primitives). |
| Debug helper — resolve a key name to its pyautogui canonical form. |
Key names accept any value from pyautogui.KEYBOARD_KEYS, plus common aliases (ctrl, alt, shift, cmd/command, win/windows/super, meta, esc/escape, enter/return, space/spacebar, pgup/pageup, pgdn/pagedown, del, ins).
Screen
Tool | Purpose |
|
|
Clipboard
Tool | Purpose |
| Read the system clipboard as text. |
| Write text to the system clipboard. |
Typical agent loop
perceive_screen() # → annotated JPEG inline + JSON: {width, height, elements: [{id, bbox, cx, cy, confidence}, …]}
# agent picks an element by id, reads its (cx, cy) — already in absolute screen pixels
mouse_click(x=cx, y=cy)
perceive_screen() # verify the action landedOne tool to look, one tool to act, repeat until done.
Layout
src/kira_mcp/
├── __main__.py # entry — `python -m kira_mcp` or `kira-mcp`
├── _mcp.py # shared FastMCP instance + system instructions
├── lib/
│ └── keys.py # key-name normalization for pyautogui
└── tools/
├── __init__.py # side-effect imports → registers tools
├── parse.py # `perceive_screen` — screenshot + local YOLO icon-detector
├── screen.py # `screen_size` + the `Region` model
├── mouse.py
├── keyboard.py
└── clipboard.pyAdd a new tool by writing a function decorated with @mcp.tool() (imported from kira_mcp._mcp) and importing the module from tools/__init__.py.
Local development
pip install -e .
python -m kira_mcp # stdio server — drive it from your MCP hostSafety
pyautogui.FAILSAFE is enabled at startup — slamming the mouse to the top-left corner raises FailSafeException and aborts whatever the agent was doing. Leave it on. The server explicitly does not expose a way to disable it from tool calls.
Wayland note
On Linux Wayland sessions, raw X11 screen grabs return a black buffer. GNOME Wayland additionally blocks programmatic screenshots from unprivileged callers. If perceive_screen returns a black image (or no detections at all), log in to an X11 session, or switch to a Wayland compositor that ships wlr-screencopy (Hyprland, Sway, river, Niri) or a KDE Plasma session.
License
MIT — see LICENSE.
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Anmol202005/kira-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server