FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ferroui_mcp

    module · ferroui-mcp · v0.5.0

    module ferroui_mcp
    

    Opt-in Model Context Protocol server for FerroUI. Call serve on the UI thread after application setup and keep the returned handle alive until shutdown. No server starts merely by linking the crate. Property writes and input are independently disabled by default.

    The tools run on the shared inspector of the UI thread (ferroui_inspect::Inspector::shared), the one the Chrome DevTools Protocol endpoint uses too: node IDs are the same for both, and a custom lifetime registers its top levels there (register_root).

    View source

    Contents

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.