PS

plop44/snoopwpfmcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

11 stars 3 forks 品質 49 トレンド 8NOASSERTION

A Model Context Protocol (MCP) infrastructure for WPF applications using snoopwpf injection techniques. Allows code injection into running WPF processes and communication via Named Pipes.

概要

This MCP server gives AI agents the ability to understand and control any running WPF application - . For example, you can turn any AI agent into a with this simple prompt: "Can you use snoop-wpf-inspector to interact with my app? You are QA trying to find some bugs, you should interact with all controls across all tabs and give me a summary of what worked and what did not." The AI agent can: - any WPF app's complete UI structure - - click buttons, enter text, select items - of application windows - by examining data bindings and element properties 1. AI agent calls MCP tools via HTTP/JSON-RPC 2. MCP server discovers and injects into target WPF processes 3. Injected WpfInspector provides UI inspection via Named Pipes 4. Real-time interaction: inspect → act → verify → repeat Add this configuration to your MCP client's mcp.

README

以下は原文 README の抜粋です。原文を見る。

SnoopWpfMcp - AI agent driven WPF inspector

What Can You Do?

This MCP server gives AI agents the ability to understand and control any running WPF application - the AI can do anything you can do with your mouse and keyboard, just by giving it the right prompt.

For example, you can turn any AI agent into a QA tester with this simple prompt:

“Can you use snoop-wpf-inspector to interact with my app? You are QA trying to find some bugs, you should interact with all controls across all tabs and give me a summary of what worked and what did not.”

The AI agent can:

  • Discover and inspect any WPF app’s complete UI structure
  • Interact with UI elements - click buttons, enter text, select items
  • Take screenshots of application windows
  • Debug UI issues by examining data bindings and element properties

Best results achieved with Claude Sonnet 4.

Architecture

┌─────────────────┐        ┌──────────────────┐        ┌──────────────────┐
│   AI Agent      │  HTTP  │   SnoopWpfMcp    │Process │     WPF App 1    │
│ (GitHub Copilot,│◄──────►│   MCP Server     │Inject  │                  │
│  Cursor, etc.)  │JSON-RPC│                  │   +    │ ┌──────────────┐ │
│                 │        │ Tools:           │Named   │ │WpfInspector  │ │
│                 │        │ • get_processes  │Pipes   │ │  (injected)  │ │
│                 │        │ • ping           │◄──────►│ │• UI Tree     │ │
│                 │        │ • get_visual_tree│        │ │• Automation  │ │
│                 │        │ • invoke_automation       │ │• Screenshots │ │
│                 │        │ • screenshot     │        │ └──────────────┘ │
└─────────────────┘        └──────────────────┘        └──────────────────┘
                                      │                           
                                      │Process                    
                                      │Inject                     
                                      │   +                       
                                      │Named                      
                                      │Pipes                      
                                      ▼                           
                           ┌──────────────────┐                  
                           │     WPF App 2    │                  
                           │                  │                  
                           │ ┌──────────────┐ │                  
                           │ │WpfInspector  │ │                  
                           │ │  (injected)  │ │                  
                           │ │• UI Tree     │ │                  
                           │ │• Automation  │ │                  
                           │ │• Screenshots │ │                  
                           │ └──────────────┘ │
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →