Inspect and control running WPF apps through MCP, including visual trees, bindings, screenshots, clicks, text input, and keyboard actions.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
One-click editor setup isnβt available for this listing yet β we donβt have a confirmed install command, and weβd rather show nothing than point your editor at the wrong package or host. Follow the projectβs own setup instructions, linked above.
Inspect callable tools, capabilities, and parameters exposed to AI agents by WPFVisualTreeMcp.
faze79/WPFVisualTreeMcp MCP server connects an MCP client to a running Windows Presentation Foundation application. It is intended for inspecting and operating desktop WPF interfaces rather than browser pages, source files, or generic screen images. The server can discover running WPF processes, inspect their visual and logical trees, read dependency properties, and search for controls by type, name, or property values.
The inspection surface includes binding definitions, converter and formatting details, DataContext information, inherited DataContext relationships, resource dictionaries, styles, templates, layout metrics, and captured binding errors. It can also export tree data as JSON or XAML. Screenshots can cover individual elements or windows, with a screen capture mode for open popups and menus.
faze79/WPFVisualTreeMcp MCP server injects its inspector into a selected running WPF process. The target application does not need source changes, a build-time package, or an in-process probe. The injector supports both 64-bit and 32-bit WPF targets through a bundled helper, allowing a 64-bit server to inspect a 32-bit application.
The default executable mode is an MCP server over standard input and output. MCP clients send tool calls for discovery, inspection, waiting, screenshots, and interaction. A recognized command-line subcommand switches the same executable into one-shot CLI mode; command results are written as JSON to standard output, while diagnostics go to standard error.
Interaction uses several mechanisms depending on the operation. Clicking can use UI Automation patterns such as Invoke, Toggle, Select, and ExpandCollapse, or a physical OS mouse click. Text entry supports UI Automation value setting with WPF property fallbacks, while physical mode types through the OS keyboard. Keyboard shortcuts can be sent to an element or the focused window.
faze79/WPFVisualTreeMcp MCP server requires Windows 10 or 11, the .NET 8 SDK or later, and a WPF application that is currently running. The documented NuGet installation is:
The package also supports launching the MCP server with:
Alternatively, download the Windows release archive, extract it, and register WpfVisualTreeMcp.Server.exe as the MCP client's command with no arguments. The repository also documents building the project from source with dotnet build -c Release.
Supported operations include:
The server is Windows-specific and targets WPF desktop applications. It requires a running target process; it is not described as a browser automation or cross-platform UI server. Installation and release instructions require the .NET 8 runtime or SDK as applicable. Physical input methods interact with the operating system, so their behavior depends on the target window and focus state. No API key or external service credential is specified in the provided setup instructions.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/faze79-wpfvisualtreemcp)<a href="https://allmcps.com/mcp/faze79-wpfvisualtreemcp"><img src="https://allmcps.com/api/badge/faze79-wpfvisualtreemcp?style=directory" alt="WPFVisualTreeMcp on AllMCPs" /></a>