Atlas / MCP servers / secretiveshell / Windows API

Windows APISAFE

mcp/secretiveshell/windows-api

MCP server for the windows API.

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
26 19r · 6w · 1d
Transport
—
License
MIT
Stars
23
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

MCP server for the windows API.

Installation

add this to your claude mcp config:

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

or locally:

{
"mcpServers": {
"windows": {
"command": "uv",
"args": [
"--directory",
"C:\\Users\\{name}\\Documents\\mcp-windows",
"run",
"mcp-windows"
]
}
}
}

Features

Media

  • getmediasessions
  • pause
  • play
  • next
  • previous

Notifications

  • send_toast

Window Management

  • getforegroundwindow_info
  • getwindowlist
  • focus_window
  • close_window
  • minimize_window

screenshot

  • screenshot_window

Monitors

  • sleep_monitors
  • wake_monitors

Theme

  • setthememode (light, dark)
  • getthememode

Start Menu

  • open_file
  • open_url

Clipboard

  • get_clipboard
  • set_clipboard

License

MIT

Read from source at commit a2c6e721208dOBSERVED · 2026-10-10
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code
claude mcp add mcp-windows -- uvx mcp-windows
claude-desktop
{
  "mcpServers": {
    "mcp-windows": {
      "command": "uvx",
      "args": [
        "mcp-windows"
      ]
    }
  }
}
03

Exposed tools (26)

19 read · 6 write · 1 destructive. Blast radius: 1 tool can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.

ToolRiskDescription
close_windowreadClose the specified window.
focus_windowdestructiveForce focus a window using all known safe tricks (thread attach, fake input, fallback restore).
get_clipboardreadGet the current clipboard contents.
get_foreground_window_inforeadReturn information about the currently focused (foreground) window.
get_media_sessionsreadList all media playback sessions with metadata and control capability info.
get_theme_modereadGet the current Windows UI theme.
get_volumereadReturn the master volume level as a percentage (0-100).
get_window_listreadReturn a list of all top-level visible windows.
minimize_windowreadMinimize the specified window.
mutereadvolume = await run_in_executor(_get_volume_interface)
nextreadSkip to the next media item for the given app_id.
open_filereadOpen a file or folder in the default application.
open_urlreadOpen a URL in the default browser.
pausereadPause the media playback for a given app_id using windows media control API.
playreadPlay the media playback for a given app_id using windows media control API.
previousreadSkip to the previous media item for the given app_id.
screenshot_windowreadCapture a screenshot of the specified window handle (hwnd). Does not require the window to be visible.
send_keyboard_shortcutwriteSimulate pressing a combination of keys. Use any of the following special keys: ctrl, shift, alt, esc, enter, tab, space, left, right, up, down as well the regular characters. ONLY USE THIS AS A LAST RESORT.
send_toastwriteSend a windows toast notification to the user.
set_clipboardwriteSet the clipboard contents.
set_theme_modewriteSet Windows UI theme to
set_volumewriteSet the master volume level (0-100).
sleep_monitorswritePut all monitors to sleep.
type_textreadSimulate typing text with a delay between each character. ONLY USE THIS AS A LAST RESORT.
unmutereadvolume = await run_in_executor(_get_volume_interface)
wake_monitorsreadWake up sleeping monitors.
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfaceWARN
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (1 observation(s))
Network
none-observed
Shell
none-observed
Dependencies
pinned
Secrets in source
none-found

Findings (1)

MEDIUMFilesystem / path · mcp.destructive_tools · CWE-22, CWE-59
focus_window
Why it matters. 1 tool(s) can delete or overwrite
Fix. prefer a read-only mode or scoped tokens; the page states the blast radius

Gates applied: no_behavioural_pass.

Audited 2026-10-10 · audit v0.4.1 · source sha a2c6e721208dfull audit observations/trust-audit/mcp-server/secretiveshell__windows-api.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-10a2c6e721208dSAFEB89first audit
06

Questions

What is the Windows API MCP server?

MCP server for the windows API.

What tools does Windows API expose?

26 in total: 19 read-only, 6 that write, and 1 that can delete or overwrite (focus_window). Every one is listed on this page with its risk.

Is Windows API safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.

What credentials does Windows API need?

No credential environment variables were found in its source, so it appears to need none.

How current is this page?

The grade is for one exact copy of the source (a2c6e721208d), read on 2026-10-10. The repository is watched and re-audited when it changes.

Advertisement