Latest Results
Add reflex-webmcp package with WebMCPPlugin
New workspace package `reflex-webmcp` providing `WebMCPPlugin`. At compile
time the plugin walks each page's component tree, finds backend EventSpecs
bound to component triggers (including rows rendered by rx.foreach), and
registers one WebMCP tool per unique handler via `document.modelContext`.
- Tool name: `reflex_<StateClass>_<handler>`; description from the handler
docstring; JSON input schema from parameter annotations (TypedDict forms
give field-level schemas, Literal gives enums).
- Arguments fixed by the component (`on_click=State.pick("x")`) are baked
into the tool and removed from its schema; distinct fixed instances get a
digest-suffixed name. Var args (foreach row ids) stay in the schema.
- Tool execution queues the same ReflexEvent through addEvents, so auth,
event processing and input conversion are unchanged.
- Frontend-only events, lifecycle triggers, upload handlers and variadic
handlers are skipped; browsers without WebMCP are unaffected.
Also wires the package into the workspace, dev deps, pyright paths, the
dispatch_release workflow, and documents it in the plugins API reference.
Claude-Session: https://claude.ai/code/session_01QcxjeQ2x7mujrrNuJJo39SFarhanAliRaza:webmcp-plugin Latest Branches
0%
FarhanAliRaza:webmcp-plugin 0%
harsh21234i:fix/7003-moment-migration 0%
benedikt-bartscher:try-orjson © 2026 CodSpeed Technology