Skip to main content

Crate pmcp_widget_utils

Crate pmcp_widget_utils 

Source
Expand description

Shared widget utilities for PMCP SDK.

Provides common HTML manipulation functions used by both the core pmcp crate and the mcp-preview crate, eliminating code duplication.

Functions§

inject_bridge_script
Inject a bridge script tag into widget HTML.