About XamlMcp
XamlMcp is an MCP server in the Productivity category: inspect and drive Avalonia, WPF, WinUI, and .NET MAUI apps through MCP.
Install
git clone https://github.com/trrahul/XamlMcpThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (24)
actionAutomation patterns (invoke/toggle/select/…) and bound `ICommand`s
Parameters not published.
ancestorsAncestor chain of a node
Parameters not published.
assetsEnumerate opaque framework asset identifiers (`avares://`, WPF pack, `xamlmcp-asset:///`, or `maui-asset:///`)
Parameters not published.
attachConnect to one app; reports its per-tool capability flags
Parameters not published.
bindingsActive bindings, source/path/status/errors, DataContext origin, and template identity
Parameters not published.
detachRelease the current app connection and its transport resources
Parameters not published.
dialog-actDriver, opt-in: act on it — `set-file-name`, `accept`, `cancel`, `select-button`
Parameters not published.
dialog-waitDriver, opt-in: wait for a native dialog (file picker, message box) the app opened
Parameters not published.
failuresBounded binding/dispatcher failure evidence after an optional action correlation cursor
Parameters not published.
hit-testDeepest-first visual stack at logical coordinates, with node references and scaling
Parameters not published.
Show all 24 tools
inputSynthesized clicks, keys, text, wheel
Parameters not published.
list-appsRunning instrumented apps (opaque instance id, platform, and sanitized metadata; desktop entries also include pid)
Parameters not published.
open-assetRead an asset (images as images, text as text)
Parameters not published.
propsProperties with value, source/priority, automation patterns, command slots
Parameters not published.
pseudo-classToggle `:pointerover`, `:pressed`, …
Parameters not published.
resourcesResolved resources visible at a node or app scope
Parameters not published.
screenshotPNG of a window or node, with an optional same-capture node map — returned as a real MCP image
Parameters not published.
searchFind nodes by automation id / type / name / style class / pseudo-class / text
Parameters not published.
set-propWrite a property, or clear a local value (`unset`)
Parameters not published.
stylesApplied style selectors and setters (capability-gated)
Parameters not published.
treeVisual/logical tree snapshot; the source of node ids
Parameters not published.
wait-forBounded polling for existence, visibility, enabled/focused state, or a property predicate
Parameters not published.
window-actDriver, opt-in: `activate` / `move` / `resize` / `close` a window
Parameters not published.
window-listDriver, opt-in: the app's top-level windows with state and bounds
Parameters not published.
Ask AI
Ask AI about XamlMcp
Powered by Claude · Grounded in docs
Security checks
6 checks have not been run yet.