Local MCP computer-use server

Local MCP computer-use server

kira-mcp•byanmol202005

A local MCP server that provides computer-use capabilities—screen perception, mouse, keyboard, and clipboard control—to MCP-compatible agent hosts.

License: MIT•Runtime: Awaiting documentation review•Category: browser automation

WHAT IT DOES

  • •perceive_screen screenshots the display or a region, runs a local OmniParser-v2 YOLO icon-detector, and returns an annotated image plus JSON element coordinates usable for clicking.
  • •Provides pixel-accurate mouse tools including move, click, double-click, press/release, drag, and scroll.
  • •Provides keyboard tools for typing text, tapping key chords, and holding or releasing keys.
  • •Reads and writes the system clipboard as text.

BEST FOR

  • •Enabling MCP agents to see the screen and click on detected UI elements.
  • •Automating desktop workflows with mouse and keyboard control through an MCP host.

ABOUT KIRA-MCP

Local MCP computer-use server is cataloged as an MCP server attributed to anmol202005. A local MCP server that provides computer-use capabilities—screen perception, mouse, keyboard, and clipboard control—to MCP-compatible agent hosts. It is categorized under browser automation. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Local MCP computer-use server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does kira-mcp require a network call or API key to perceive the screen?

No; the icon-detector runs locally with no API key and no network call.

What is the failsafe behavior?

pyautogui.FAILSAFE is enabled at startup, so moving the mouse to the top-left corner raises FailSafeException and aborts the agent's action.

Upstream README

View this exact version on GitHub

README.md · 6d938758ab21 · Fetched 2026-11-13 13:35:50 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

   ██╗  ██╗██╗██████╗  █████╗
   ██║ ██╔╝██║██╔══██╗██╔══██╗
   █████╔╝ ██║██████╔╝███████║
   ██╔═██╗ ██║██╔══██╗██╔══██║
   ██║  ██╗██║██║  ██║██║  ██║
   ╚═╝  ╚═╝╚═╝╚═╝  ╚═╝╚═╝  ╚═╝
        local · MCP · computer-use

CI PyPI Python 3.10+ MCP 1.2+ License: MIT Platforms


kira-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_screen is 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 pipe cx, cy straight into mouse_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.

Quick start

You need Python 3.10+ and an MCP host (the examples use Claude Desktop). Pick your OS.

🪟 Windows

1. Install (in PowerShell or Terminal):

pip install kira-mcp

2. Tell Claude Desktop about it. Open %APPDATA%\Claude\claude_desktop_config.json and add:

{
  "mcpServers": {
    "kira-mcp": { "command": "kira-mcp" }
  }
}

3. Restart Claude Desktop. The kira-mcp tools now appear. Ask it to "look at my screen and click X" — that's it.

🍎 macOS

1. Install (in Terminal):

pip install kira-mcp

2. Grant permissions so the server can see the screen and move the mouse. In System Settings → Privacy & Security:

  • Accessibility → add the app that launches the server (Claude Desktop, or your Terminal).
  • Screen Recording → same app. macOS also prompts on the first screenshot.

⚠️ After granting these, fully quit and reopen the app — macOS only applies the permission on restart.

3. Tell Claude Desktop about it. Open ~/Library/Application Support/Claude/claude_desktop_config.json and add:

{
  "mcpServers": {
    "kira-mcp": { "command": "kira-mcp" }
  }
}

If kira-mcp isn't found, use the full path (which kira-mcp) or the module form "command": "python", "args": ["-m", "kira_mcp"].

4. Restart Claude Desktop. The kira-mcp tools now appear.

🐧 Linux
sudo apt install python3-tk python3-dev scrot xdotool   # or your distro's equivalent
pip install kira-mcp

Then add the same claude_desktop_config.json block as above. X11 only — Wayland blocks raw screen grabs (see Wayland note).

💡 Want text matching too? pip install "kira-mcp[ocr]" enables find_element(text="Send") so the agent can click by label instead of eyeballing icons.

Install options

The Quick start above uses pip. For an isolated global install that won't touch any project's site-packages:

pipx install kira-mcp

Either 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/weights

Or point to a model.pt elsewhere on disk by setting KIRA_YOLO_WEIGHTS in your environment.

Other agent hosts

The Quick start covers Claude Desktop. Every other host uses the same config shape — point it at the kira-mcp command:

  • Claude Code — claude mcp add kira-mcp -- kira-mcp
  • Cursor / Cline / Continue / Windsurf — add the same mcpServers block to the host's MCP config.

Prefer not to rely on the installed script? Use the module form anywhere a command is expected:

{ "command": "python", "args": ["-m", "kira_mcp"] }

After editing config, restart the host. All tools appear under the kira-mcp namespace.

Tools

Vision

ToolPurpose
perceive_screenOne-shot perceive step: screenshots the current display (or a {x, y, width, height} region of it), runs the local OmniParser-v2 YOLO icon-detector on it, and returns BOTH an annotated image inline AND JSON with {width, height, count, elements}. Each element is {id, bbox, cx, cy, confidence} in absolute screen pixels — feed cx, cy directly into mouse_click. Model is loaded and warmed up at server startup, so there is no per-call cold start; typical latency 50-200ms on GPU, 300-800ms on CPU. No API key, no network call.

Mouse

ToolPurpose
mouse_moveMove to absolute (x, y). duration=0 for instant.
mouse_positionRead the cursor's current (x, y).
mouse_clickClick left / middle / right. Optional (x, y) moves first; clicks for multi-click.
mouse_double_clickDouble-click. Optional (x, y).
mouse_press / mouse_releaseHold and later release a button (drag-and-drop primitives).
mouse_dragOne-shot: move → press → drag to target → release.
mouse_scrollScroll up / down / left / right by N clicks.

Keyboard

ToolPurpose
keyboard_typeType literal text.
keyboard_tapPress + release a key chord, e.g. ["ctrl", "c"], ["cmd", "shift", "t"].
keyboard_press / keyboard_releaseHold and later release keys (modifier-state primitives).
keyboard_key_checkDebug 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

ToolPurpose
screen_size{ width, height } of the main display. Useful for bound-checking, though perceive_screen already returns the screen dimensions in its response.

Clipboard

ToolPurpose
clipboard_getRead the system clipboard as text.
clipboard_setWrite 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 landed

One 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
│   ├── cache.py       # screenshot + per-element OCR hash cache
│   └── ocr.py         # optional OCR backend shim
└── 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.py

Add 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 host

Safety

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.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Local MCP computer-use server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/kira-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related browser automation MCP Servers

Alternative and complementary servers in the same category

View all in browser automation →

A Model Context Protocol (MCP) server for controlling Chrome with debugging capabilities, userscript injection, and extension support.

Repository stats unavailable
Browser & Scraping
Web Browser MCP Server
web-browser-mcp-server•blazickjp

An MCP server that lets AI assistants browse websites and extract content using optional CSS selectors.

Repository stats unavailable
Browser & Scraping
Steel MCP Server
steel-mcp-server•steel-dev

An MCP server that reads pages, fills forms, takes screenshots, and hands the browser to a person for logins or CAPTCHAs.

Repository stats unavailable
Browser & Scraping