Back to Discover

agentfenster-mcp

connector

clemensjl

Windows GUI automation on a hidden second desktop, driven from Claude Code over MCP.

View on GitHub
0 starsSynced Aug 8, 2026

Install to Claude Code

/plugin marketplace add clemensjl/agentfenster-mcp

README

agentfenster MCP server

The agentfenster MCP server lets Claude Code and other MCP clients drive real Windows applications on a hidden second desktop inside your own session, with the same logins, cookies and VPN, while you keep your screen, mouse and keyboard. It is a local stdio server with 11 tools, from a one call task loop down to single verified clicks.

Every action is verified against the window state afterwards. A click that lands nowhere is reported as a failure, never as a silent success.

Full documentation: https://agentfenster.com/mcp

The MCP server ships with the agentfenster app, a commercial closed-source Windows product. This repository is its public documentation and issue tracker. It contains no product source code.

Install

  1. Install agentfenster on Windows 10 or 11 from https://agentfenster.com. The MCP server is part of the app. Every plan starts with a 3-day trial, no card and no account required.
  2. Register the server with Claude Code:
claude mcp add agentfenster -- agentfenster-mcp

Any MCP client that can launch a local stdio server works the same way. Then just ask:

> open the character map on the agent desktop and turn on the advanced view

The 11 tools

ToolWhat it does
list_windowsLists the windows this machine can drive, with title, class, minimized state and whether a picture can be captured. The starting point when you do not know the exact window title.
desktop_taskRuns a full GUI task in one window and returns a single paragraph: what happened, whether it worked, and if not, which step failed and why. The click loop runs inside the server, so its retries never enter your context.
inspect_windowReturns the capped, filtered element tree of one window as a compact list, for planning clicks yourself. Capped at 200 elements and never walked from the desktop root.
replayLists recent runs, or returns one run's step-by-step log: every plan, every action, whether it changed anything, and a link to the visual replay in the app.
open_appLaunches a program on the shared agent desktop and reports its first titled window. The agent desktop starts empty, so this is how anything gets onto it.
read_desktopReads the compact element tree of a window on the agent desktop, one line per interactive element, no screenshot. Plan your clicks from this.
clickClicks one element, chosen by id or name from read_desktop, then verifies against the desktop state and states explicitly whether anything changed.
type_textTypes text into one element on the agent desktop, then verifies whether anything changed.
press_keyPresses a key or key combination such as ctrl+s, enter, tab or alt+f4, optionally focusing an element first, with verification afterwards.
scrollScrolls a window or a specific pane and reports whether the content actually moved. A list that is already at the bottom reports no effect.
agent_windowsLists the windows currently open on the shared agent desktop, frontmost first, so you can pick one by a title substring.

How it works

  • The agent works on a second Win32 desktop inside your session. It never takes your foreground, mouse or keyboard, and you can watch it live in the app.
  • Tools read the UI Automation element tree instead of screenshots: one line per interactive element, capped at 200 elements per window.
  • The click loop of desktop_task runs inside the server on a model endpoint you configure, so its retries and intermediate steps never enter your context.
  • Risky actions such as delete, send, pay or install are denied by default on MCP calls and reported, instead of blocking on a confirmation nobody can answer.
  • agentfenster sends no telemetry. The only network traffic is the model endpoint you configure for the click loop.

Requirements

PlatformWindows 10 or 11
Transportstdio, local
RuntimePython 3.11 or newer, installed with the app
Prerequisitethe agentfenster app (commercial, 3-day trial)

Links

Issues

Use the issue tracker of this repository for bug reports and questions about the MCP server: tool behaviour, install problems, MCP client compatibility. For anything about the app itself, Discord and hello@agentfenster.com are faster.

Rights

agentfenster is commercial closed-source software. No open-source license is granted here. The text in this repository is published so that MCP users and directories can read, quote and link to it. Use of the agentfenster app itself is governed by the terms at https://agentfenster.com/terms.

Rendered live from clemensjl/agentfenster-mcp's GitHub README — not stored, always reflects the source repo.

1 Install Method

NameDescriptionCategorySource
pypi packageInstall via pypi (stdio transport)mcp-serveragentfenster-mcp

0 Comments

Login required
Log in to post a comment or update on this repo.

No comments yet — be the first to share an update.