Skip to main content

Available Tools

The Widget Builder MCP Server provides the following tools that AI assistants can use to manage your widgets.

Widget Management

list_widgets

List all custom widgets for your account. Returns a summary of each widget including GUID, title, active status, and timestamps.

Parameters: None

Returns: Array of widgets with guid, title, isActive, updateTimestamp, and createTimestamp.

Required scope: widgets:read


get_widget

Get full details of a specific widget by its GUID. Includes the Handlebars template, form field definitions, variables, translations, and API configuration.

Parameters:

NameTypeRequiredDescription
guidstringYesThe widget's unique identifier

Required scope: widgets:read


create_widget

Create a new widget with a title and optional Handlebars HTML template, form fields, variables, and translations.

Parameters:

NameTypeRequiredDescription
titlestringYesThe widget title
templatestringNoHandlebars HTML template
formarrayNoForm field definitions (editor settings)
variablesarrayNoWidget variables for interactive state
translationsobjectNoTranslation key-value pairs per language
isActivebooleanNoWhether the widget is immediately active (default: false)

Required scope: widgets:write


update_widget

Update an existing widget. Only provided fields are updated — omitted fields remain unchanged.

Parameters:

NameTypeRequiredDescription
guidstringYesThe widget's unique identifier
titlestringNoNew widget title
templatestringNoUpdated Handlebars template
formarrayNoUpdated form fields
variablesarrayNoUpdated variables
translationsobjectNoUpdated translations
isActivebooleanNoActivate or deactivate the widget

Required scope: widgets:write


delete_widget

Permanently delete a widget by its GUID. This action cannot be undone.

Parameters:

NameTypeRequiredDescription
guidstringYesThe widget's unique identifier

Required scope: widgets:write


Built-in Widgets

list_builtin_widgets

List all built-in widgets that are activated for your account. Returns GUID, version, title, and icon for each built-in widget.

Parameters: None

Required scope: widgets:read


get_builtin_widget

Get full details of a built-in widget by its GUID, including the HTML template, form fields, variables, translations, and API configuration.

Parameters:

NameTypeRequiredDescription
guidstringYesThe built-in widget's unique identifier

Required scope: widgets:read


Template Rendering

test_render

Test-render a Handlebars template server-side without a browser. Returns the rendered HTML output and any compilation errors. You can render an existing widget by GUID or provide a raw template string.

Parameters:

NameTypeRequiredDescription
guidstringNoWidget GUID to render (optional if template is provided)
templatestringNoRaw Handlebars template string (optional if guid is provided)
dataobjectNoSample data context for template rendering
settingsobjectNoSample settings values for template rendering

Required scope: render

tip

Use test_render to validate templates before creating or updating widgets. This helps catch Handlebars syntax errors early.


Documentation

get_widget_guide

Retrieve the complete widget building guide. This includes documentation on Handlebars syntax, all available helpers with examples, form field types, variables, translations, Tailwind CSS usage, and a complete example widget.

Parameters: None

Required scope: None (available to all authenticated tokens)


Permission Scopes

Each API token has one or more permission scopes that control which tools it can access:

ScopeTools
widgets:readlist_widgets, get_widget, list_builtin_widgets, get_builtin_widget
widgets:writecreate_widget, update_widget, delete_widget
rendertest_render
(no scope needed)get_widget_guide

By default, new tokens are created with all three scopes: widgets:read, widgets:write, and render.

Built-in Prompts

The MCP Server also provides guided prompts that walk AI assistants through multi-step workflows:

create_widget

A guided workflow for creating a new widget from scratch. The AI assistant will:

  1. Read the widget building guide
  2. Gather your requirements (data structure, desired layout)
  3. Build the HTML template with Handlebars and Tailwind CSS
  4. Test-render the template to validate it
  5. Create the widget in your account

improve_widget

A guided workflow for improving an existing widget. Provide a widget GUID and the AI assistant will:

  1. Retrieve the widget's current template and configuration
  2. Review it against best practices
  3. Suggest specific improvements
  4. Test-render the updated template
  5. Apply the changes

Next steps

Ready to try it out? Ask your AI assistant to:

  • "List my widgets"
  • "Create a weather widget that shows the current temperature"
  • "Improve my KPI Dashboard widget"