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).
Contents
UiToolProvider— traitPermissions— useRequestContext— structServiceToolProvider— traitTransport— enumOptions— structUiServerHandle— structserve— functionserve_with_tools— functionserve_service— functionserve_service_with_token— functionreserve_stdout— function
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.