Skip to content
MCP server

Wpf Lens

Inspect and drive WPF apps: trees, bindings, screenshots, mouse dragging and touch…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.22.0
Listing updated
1 day ago

About Wpf Lens

Wpf Lens is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Inspect and drive WPF apps: trees, bindings, screenshots, mouse dragging and touch gestures.

Install

Run in a terminal

claude mcp add wpf-lens -- dnx WpfLens.Mcp --yes

Add to claude_desktop_config.json

{
  "mcpServers": {
    "wpf-lens": {
      "command": "dnx",
      "args": [
        "WpfLens.Mcp",
        "--yes"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "wpf-lens": {
      "command": "dnx",
      "args": [
        "WpfLens.Mcp",
        "--yes"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "wpf-lens": {
      "type": "stdio",
      "command": "dnx",
      "args": [
        "WpfLens.Mcp",
        "--yes"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "wpf-lens": {
      "command": "dnx",
      "args": [
        "WpfLens.Mcp",
        "--yes"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "wpf-lens": {
      "command": "dnx",
      "args": [
        "WpfLens.Mcp",
        "--yes"
      ]
    }
  }
}

Pricing

Open source

Wpf Lens FAQ

Is Wpf Lens free?

Yes. Wpf Lens is open source, so you can use and self-host it for free.

How do I add Wpf Lens to Claude Code?

Run this command in your terminal: claude mcp add wpf-lens -- dnx WpfLens.Mcp --yes