← Glossary

MCP widget

An MCP widget is an embeddable widget whose creation and configuration is exposed via the Model Context Protocol — the standard API through which AI agents (Claude Desktop, Claude Code, and compatible clients) invoke tools. Rather than a user manually building the widget, an AI agent composes it from a natural-language prompt, calls the widget platform's MCP server, receives a shareable URL, and returns it to the user. WidgetCraft is the first (as of 2026) widget platform that exposes its entire catalog of widgets as MCP tools, making widget creation an agent-native workflow.

How does an MCP widget differ from a regular widget?

Mechanically, identical — both render as iframes, both persist their config, both embed the same way. The difference is the creation surface. A regular widget requires a user to open a builder, click through options, and copy a URL. An MCP widget is created by an AI agent during a conversation: the user types 'make me a countdown to December 31' and Claude returns the URL inline, no builder visit required.

Which MCP clients support WidgetCraft widgets?

Any MCP-compatible client. Claude Desktop and Claude Code are the most common; generic MCP clients can also invoke the tools via stdio (`npm install -g @widgetcraft/mcp`) or via HTTP JSON-RPC at `https://widgetcraft.ai/api/mcp`.

What does the agent actually do when it creates an MCP widget?

The agent picks one of eight `create_*` tools (countdown, focus timer, progress bar, league standings, GitHub repo stats, UFC card, YouTube channel stats, homebrew tracker), validates the user's intent against the tool's input schema, calls the tool, and relays the returned widget URL back to the user. The full trip takes under a second in most cases.

Why should a widget platform expose itself via MCP?

AI assistants are becoming the new CLI for end-user software. A user who wants a countdown in their Notion page is more likely, in 2026 and beyond, to ask Claude for one than to Google 'countdown widget for Notion'. Platforms that are addressable through MCP are findable by agents the same way search engines made sites findable by humans — and MCP tool catalogs are the new sitemaps.