Host shell server for an embedded MCP app
Usage
mcp_host_server(
id,
app,
trigger = NULL,
debounce_ms = NULL,
height = "auto",
initial_arguments = NULL,
debug = FALSE
)Arguments
- id
Shiny module id.
- app
An McpApp object.
- trigger
Interaction mode:
"change","debounce","submit", or"manual". Defaults to the app's own declaration (mcp_app(trigger = )), falling back to"debounce".- debounce_ms
Debounce interval in milliseconds. Defaults to the app's own declaration, falling back to 250.
- height
Preferred initial height for the host shell.
- initial_arguments
Optional named list of initial tool arguments.
- debug
Whether to enable debug affordances in the host shell.
