Skip to contents

Starts an MCP server that serves the app's tools and ui:// resources.

Usage

serve(app, type = c("stdio", "http"), port = 8080, ...)

Arguments

app

An McpApp object, or a path to a Shiny app (which will be auto-converted via convert_app()).

type

Server transport type: "stdio" or "http".

port

Port for HTTP transport (default 8080).

...

Additional arguments (currently unused).