Widget Gallery

March 24, 2026 · View on GitHub

Built with mcp-use   mcp-use stars

A comprehensive showcase of all mcp-use widget types: React components, HTML widgets, MCP UI poll cards, programmatic counters, and client detection — all in one MCP App.

Widget Gallery Demo

Try it now

Connect to the hosted instance:

https://wandering-lake-mmxhs.run.mcp-use.com/mcp

Or open the Inspector to test it interactively.

Setup on ChatGPT

  1. Open Settings > Apps and Connectors > Advanced Settings and enable Developer Mode
  2. Go to Connectors > Create, name it "Widget Gallery", paste the URL above
  3. In a new chat, click + > More and select the Widget Gallery connector

Setup on Claude

  1. Open Settings > Connectors > Add custom connector
  2. Paste the URL above and save

Features

  • React widgets — full React components with state, hooks, and streaming props
  • HTML widgets — lightweight HTML/CSS widgets for simple content
  • MCP UI polls — interactive poll cards using the MCP UI spec
  • Programmatic widgets — widgets created from code (no file needed)
  • Client detection — detect ChatGPT, Claude, or Inspector and adapt

Tools

ToolDescription
show-react-widgetDisplay an interactive React widget with counter and controls
html-greetingShow a styled HTML greeting card
mcp-ui-pollCreate an interactive poll card
programmatic-counterRender a counter widget built from code
detect-clientDetect the connected client type

Available Widgets

WidgetPreview
react-showcase

Local development

git clone https://github.com/mcp-use/mcp-widget-gallery.git
cd mcp-widget-gallery
npm install
npm run dev

Deploy

npx mcp-use deploy

Built with

License

MIT