Skip to contents

Convenience function to create an McpApp object.

Usage

mcp_app(
  ui,
  tools = list(),
  name = "shinymcp-app",
  version = "0.1.0",
  theme = NULL,
  ...
)

Arguments

ui

UI definition (htmltools tags). Can be a simple htmltools::tagList() of shinymcp components, or a full bslib::page() with theme.

tools

List of tools

name

App name

version

App version

theme

Optional bslib::bs_theme() object. Supports brand for brand.yml theming. Not needed if ui is already a bslib::page().

...

Additional arguments passed to McpApp$new()

Value

An McpApp object