Skip to content
MCP server

KDE Plasma

MCP server letting AI agents view and control a KDE Plasma 6 desktop safely

Runs locally

KDE Plasma is an open-source MCP server for desktop automation. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
Linux, CLI
Runs
Locally
What it can do
Can change data (2 tools)
Version
0.1.1
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add plasma-mcp -- uvx plasma-mcp

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

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

Claude Code setup guide

Add to claude_desktop_config.json

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

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

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

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "plasma-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "plasma-mcp"
      ]
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add plasma-mcp -- uvx plasma-mcp

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.plasma-mcp]
command = "uvx"
args = ["plasma-mcp"]

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "plasma-mcp": {
      "command": "uvx",
      "args": [
        "plasma-mcp"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

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

    Or run: gemini mcp add -s user plasma-mcp uvx -- plasma-mcp

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

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

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

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

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

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

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "plasma-mcp": {
          "command": "uvx",
          "args": [
            "plasma-mcp"
          ]
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

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

    Junie

    Add to ~/.junie/mcp/mcp.json

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

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

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

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About KDE Plasma

Plasma-mcp gives MCP clients such as Claude Code, Codex and Cursor a structured view of a KDE Plasma 6 desktop. Instead of reading screenshots or simulating clicks, it talks to KDE through D-Bus, KWin scripting and KConfig, so an agent can list and arrange windows, change settings, control media and watch desktop events.

Every write is previewed where possible and recorded as a snapshot that can be rolled back with a single undo call. Theme changes also restore the active global theme, colour scheme, cursor and icons, so an undo returns the desktop to its prior state. Permissions are split into read, write, dangerous and private tiers that the user switches on in a local config file.

The server suits Linux desktop users on Plasma 6 who want an assistant to handle window layout, appearance tweaks or notification-driven workflows. It is not available on GNOME or other desktops.

Tools this server provides (20)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 2 of 20 tools change data; 13 names don't say.

From the server's own tool labels and tool names; not verified by us.

get_settingName suggests: reads
Read a KConfig value.
set_settingName suggests: changes
Write a KConfig value; dry run by default.
undo_last
Restore the most recent snapshot.
list_windowsName suggests: reads
List windows and virtual desktops.
focus_window
Activate a window.
move_to_desktopName suggests: changes
Move a window to a virtual desktop.
tile_window
Tile, maximize or unmaximize a window.
current_theme
Show the active global theme, colour scheme, style, icons and cursor.
theme_guide
Show the theme spec format.
check_themeName suggests: reads
Validate a theme spec file.
apply_theme
Build and apply a theme spec; dry run by default.
notify
Show a desktop notification.
close_notification
Close a notification by id.
notification_statusName suggests: reads
Show server info and Do Not Disturb state.
watch_notifications
Collect notifications from any app for up to 120 seconds.
media_statusName suggests: reads
Show MPRIS players and current tracks.
media_play_pause
Toggle play or pause on a media player.
subscribe_events
Start buffering desktop events of given kinds.
poll_events
Fetch events after a cursor, optionally waiting.
unsubscribe_events
Stop listening for events.

What it does

Window listing and tiling
Lists open windows with their desktops and geometry, and moves, tiles or maximizes them.
Settings read and write
Reads and writes KConfig values, with a dry run by default for changes.
Snapshot undo
Saves config files before each write so the most recent change can be reverted.
Desktop event subscriptions
Buffers window, desktop, media, config and screen-lock events that agents can poll.
Notifications and media control
Sends and closes desktop notifications and toggles play/pause on MPRIS media players.
Tiered permissions
Lets the user enable read, write, dangerous and private tool groups individually.

Good for

  • Tiling an editor beside a browser by asking an agent in plain language
  • Switching the desktop between light and dark themes
  • Getting notified in chat when a build notification appears
  • Reverting a settings change made by an assistant
  • Checking which windows and virtual desktops are open

Pricing

Open source

Free and open source under the MIT licence.

KDE Plasma FAQ

Which desktop environment does KDE Plasma support?

It supports KDE Plasma 6 only. The README notes there is no GNOME backend yet.

Can I undo changes an agent makes?

Yes. Each real write saves a snapshot, and undo_last restores the newest one. Theme snapshots also restore the active theme settings.

How does KDE Plasma control windows without screenshots?

It loads a short KWin script for each call that reports window data back over D-Bus, and it does not use simulated clicks or keyboard input.

Does KDE Plasma need extra software for theming?

The theme tools need KDE Customizer installed. Other tools work without it.

Is KDE Plasma free?

Yes. KDE Plasma is open source, so you can use and self-host it for free.

How do I add KDE Plasma to Claude Code?

Run this command in your terminal: claude mcp add plasma-mcp -- uvx plasma-mcp

What are the best alternatives to KDE Plasma?

The closest alternatives to KDE Plasma are kwin-mcp, ultranix-mcp, Windows MCP, Bridge MCP and Computer Use.

Where this comes from

  • Description: written from the project's README and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers