IK

isac322/kwin-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

86 stars 27 forks 品質 86 トレンド 16MIT

isac322/kwin-mcp は https://github.com/isac322/kwin-mcp. からインポートされた MCP サーバーの候補です

概要

isac322/kwin-mcp は https://github.com/isac322/kwin-mcp. からインポートされた MCP サーバーの候補です

概要(AI 翻訳)

KDE Plasma 6 WaylandのLinuxデスクトップGUIオートメーション用のモデルコンテキストプロトコルサーバー

AIエージェント(Claude Code、Cursor、その他のMCPクライアント)を有効にするモデルコンテキストプロトコル(MCP)サーバーが起動し、操作し、分離された仮想KWinセッションでWaylandアプリケーションを観察します。ユーザーのデスクトップ表示や入力に影響を与えません。 また、既存のKWinセッション(実際のデスクトップまたはコンテナ)に接続することで、**ライブデスクトップの自動化にも対応しています。 セッション、アプリ、画面キャプチャ、AT-SPI2 アクセシビリティツリー、ウィンドウ管理、マウス、キーボード、タッチ、クリップボード、D-Bus をカバーする 29 MCP ツールでは、Linux のエンドツーエンドの GUI テストとデスクトップの自動化に必要なすべてを提供します。

【重要】 kwin-mcp 1.0は用具の名前を変更し、形を変えました。 1.0 の 29 個のツールは、0.12 の 37 個のツールを置き換え、すべてのツールで共有された引数タイプと構造化された出力で置き換えます。 削除されたツール名は、その置換を名前付けるエラーを返します。 0.11(また0.12)からの移行を参照してください。

コンテンツの表

  • なぜkwin-mcpか。
  • ユースケース
  • クイックスタート
  • 構成
  • サーバーフラグ
  • 利用可能なツール
  • 共有引数タイプ

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

kwin-mcp

Model Context Protocol server for Linux desktop GUI automation on KDE Plasma 6 Wayland

A Model Context Protocol (MCP) server that enables AI agents (Claude Code, Cursor, and other MCP clients) to launch, interact with, and observe any Wayland application in an isolated virtual KWin session – without affecting the user’s desktop display or input. It also supports live desktop automation by connecting to an existing KWin session (real desktop or container) for collaborative workflows. With 29 MCP tools covering sessions, apps, screen capture, the AT-SPI2 accessibility tree, window management, mouse, keyboard, touch, clipboard, and D-Bus, kwin-mcp provides everything needed for end-to-end GUI testing and desktop automation on Linux.

[!IMPORTANT] kwin-mcp 1.0 renamed and reshaped the tools. The 29 tools of 1.0 replace the 37 tools of 0.12, with shared argument types and structured output on every tool. A removed tool name returns an error that names its replacement. See Migrating from 0.11 (also covers 0.12).

Table of Contents

Why kwin-mcp?

  • Isolated sessions – Each session runs in its own dbus-run-session + kwin_wayland --virtual compositor. Your host desktop never receives its windows or input. This is not a filesystem or network sandbox; see Isolation scope.
  • Live session support – Connect to a real KDE Plasma desktop or a KWin instance inside a container (e.g. systemd-nspawn) for collaborative “share my screen” workflows.
  • No screenshots required for interaction – The AT-SPI2 accessibility tree gives the AI agent structured widget data (roles, names, coordinates, states, available actions). Every element comes with a ref that any pointer or touch tool accepts as a target, and element_act invokes an element’s action without pointer coordinates at all.
GitHub で README 全文を見る

インストール

uvx kwin-mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "kwin-mcp": { "command": "uvx", "args": ["kwin-mcp"] } } }