Skip to main content
Glama
kimi-agent-desktop

kimi-agent-desktop

by mnshkv

kimi-agent-desktop

Desktop computer use for Kimi Code — macOS, Windows and Linux — powered by vercel-labs' own MCP server: every agent-desktop CLI command becomes a desktop_* MCP tool with a generated schema.

A Kimi Code / Kimi Code Desktop plugin that runs agent-desktop mcp — the MCP server built into the agent-desktop CLI itself (since v1.2.0). The tool catalog is derived from the CLI, so it always matches the installed version: new upstream commands appear without a plugin update. Intended as a drop-in replacement for the bundled Kimi Computer Use (kimi-cu) plugin.

License: MIT Platform: macOS / Windows / Linux Kimi Code

Why the vendor server (v0.2.0)

Up to v0.1.x this plugin shipped a hand-written wrapper (21 curated tools over an ad-hoc JSON-RPC bridge). agent-desktop v1.2.0 added agent-desktop mcp: the CLI itself now serves MCP over stdio, with each leaf command exposed as a tool and argument schemas generated from the CLI definitions — the vendor keeps it in lockstep with the CLI, covers Windows and Linux, and adds tools (sandbox VMs, notifications, window management, hover, double-click, …) a wrapper can't track. This plugin now launches that server directly and keeps the curated part where it belongs: the skill's loop, boundaries, and the Kimi-specific permission notes.

Related MCP server: Automation MCP

Install

One-time CLI setup:

./bin/setup.sh   # installs agent-desktop (>= 1.2.0) via npm or brew, opens the required settings panes

Then grant Accessibility and Screen Recording to the Kimi Code app (System Settings → Privacy & Security — the rights attach to Kimi Code because its process runs the CLI), and in any Kimi Code session:

/plugins install https://github.com/mnshkv/kimi-agent-desktop

Then /plugins reload (or start a new session). Verify with agent-desktop status.

How it works

Kimi Code ──MCP (stdio)──▶ agent-desktop mcp ──▶ agent-desktop CLI
                                                      └─▶ OS Accessibility APIs
  • Tools: desktop_snapshot, desktop_click, desktop_type, desktop_wait, desktop_screenshot, desktop_sandbox_*, … — the live catalog comes from the server (tools/list).

  • Headless by default: no cursor movement, no focus stealing — you can keep using your Mac while the agent works. Physical input (drag, hover, mouse commands) requires the server-level --headed flag: add "--headed" to the args in kimi.plugin.json.

  • Screenshots come back as MCP image content (handled by the vendor server).

Migrating from Kimi Computer Use (kimi-cu)

  • The wrapper's curated names are gone: get_app_state is desktop_snapshot, type_text is desktop_type, press_key is desktop_press, … The skill documents the mapping (agent-desktop snapshot … = desktop_snapshot {"app": …}).

  • Still not carried over: text-range selection (use desktop_set_value), rich markdown/HTML paste.

  • drag and other physical actions are available with the headed flag (see above); headless ref actions cover most flows.

Permissions model

Unlike kimi-cu (which kept its grants in a private launchd service), rights attach to Kimi Code.app. Updating or re-signing the app may reset the grants — desktop_status shows this, and re-granting restores everything.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables high-speed native macOS automation for Claude by interacting directly with the Accessibility API, AppleScript, and UI trees instead of using screenshots. It allows users to read app states, click elements, and type text semantically across any macOS application.
      11 npm
      13
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to automate macOS desktop tasks including mouse control, keyboard input, screenshots, window management, and UI interaction.
      417
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides native macOS desktop automation for AI agents, enabling screen capture, mouse/keyboard control, window management, and iOS/Android simulator control in both foreground and background modes without focus stealing.
      6
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables AI agents to control macOS desktop apps via screenshots, mouse clicks, keyboard input, accessibility queries, and AppleScript.
      11
      11 npm
      MIT