Labsco
MCP SERVER

Windows API

by SecretiveShell

Control a Windows desktop from an assistant — media playback, window management, notifications, screenshots, clipboard, theme and monitors.

Desktop & OS Automation
Summary
Desktop control with the window list attached, which is what makes it usable.

Focusing or closing a window means knowing which windows exist, and get_window_list plus get_foreground_window_info supply that before anything acts. Per-window screenshots are the other quietly useful piece — capturing one application instead of the whole desktop keeps whatever else is on screen out of the conversation. Everything runs with your own user permissions, so scope it accordingly.

What it is

A server over the Windows API. It covers the desktop operations that normally need a keyboard shortcut or a trip to Settings, exposed as individual tools.

What you get
  • Media: get_media_sessions, play, pause, next and previous control whatever is currently playing
  • Windows: get_foreground_window_info, get_window_list, focus_window, close_window and minimize_window
  • screenshot_window captures a specific window rather than the whole screen
  • Notifications: send_toast raises a Windows toast
  • Monitors: sleep_monitors and wake_monitors
  • Theme: get_theme_mode reads the current mode and set_theme_mode switches between light and dark
  • Start menu: open_file and open_url launch through the shell
  • Clipboard: get_clipboard and set_clipboard read and write it
Requirements

Windows, and the Python package mcp-windows, version 0.1.0 — run as `uvx mcp-windows`, or from a checkout with uv. No account and no key; the tools act with the permissions of the user running the server.

Setup effort

One command — uvx mcp-windows