mcpui-playground

mcpui-playground

A runnable lab for comparing plain MCP results, FastMCP Prefab UI, server-interactive MCP Apps, and a raw HTML MCP Apps bridge inside ChatGPT and other compatible hosts.

Category
Visit Server

README

MCP UI Playground

A runnable lab for comparing plain MCP results, FastMCP Prefab UI, server-interactive MCP Apps, and a raw HTML MCP Apps bridge inside ChatGPT and other compatible hosts.

Run locally

uv sync --dev
uv run mcpui-playground

The Streamable HTTP endpoint is http://127.0.0.1:8775/mcp.

Inspect it with:

npx @modelcontextprotocol/inspector@latest

Or open FastMCP's local Apps preview:

uv run fastmcp dev apps src/mcpui_playground/server.py:mcp

Experiments

Tool Expected experience
get_lab_snapshot Plain JSON-like structured data, usable in every MCP client
show_terminal_dashboard Markdown table and ASCII bars for terminal-only clients
show_metrics_dashboard Metrics, tabs, charts, search, sorting, and an accordion
open_experiment_notebook Form submissions and buttons calling app-only server tools
open_scenario_studio Sliders, numeric edits, row reordering, draggable bars, and server save/reset
inspect_host_bridge Raw tool result, host context, and a measured UI-to-server ping

Preview

MCP UI metrics dashboard

The local FastMCP host also exercises server callbacks and the raw MCP Apps bridge. Screenshots and Codex CLI probe outputs are indexed in artifacts/README.md.

Connect from ChatGPT web

This checkout is deployed on the machine's existing Tailscale Funnel at:

https://riema.taile42c02.ts.net/mcpui/mcp

In ChatGPT, enable Settings -> Security and login -> Developer mode, open the Plugins directory, select the plus button, and add the URL above. After tool scanning succeeds, start a new chat, enable the development plugin, and try:

Open the MCP UI Lab metrics dashboard and then open the experiment notebook.

The endpoint is intentionally unauthenticated and serves only synthetic, process-local demo data. It shares the standard HTTPS port through a /mcpui Funnel mount; the existing Jacobian /mcp route remains separate. See research notes for protocol details, constraints, and primary sources.

Pinned upstream source references are cataloged in references/README.md. Materialize them locally with ./scripts/sync-references.sh.

Use from Codex CLI

Codex CLI can call the same MCP server, but its terminal UI does not embed the MCP App iframe. Add the local service and use the terminal-native fallback. The editable scenario also supports a conversational update-and-redraw loop:

codex mcp add mcpui-playground --url http://127.0.0.1:8775/mcp
codex "Call show_terminal_dashboard from mcpui-playground and display it verbatim."
codex "Set ui_opens to 2000 with update_scenario_metric, then call show_scenario_terminal."

The Prefab tool is still useful to Codex as structured data: Codex receives and can reason over its component tree, while a compatible web host performs the interactive rendering. See docs/codex-cli-findings.md for the recorded probe.

Verify

uv run pytest
uv run ruff check .

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured