Usher MCP
Enables users to search and view detailed movie information from TMDB, including cast, ratings, and showtimes, through an interactive widget interface.
README
Usher MCP — Movie Detail App
Interactive MCP server and UI widget that renders movie details from TMDB with the MCP Apps spec. The server runs on Cloudflare Workers; the UI is a sandboxed HTML resource served via ASSETS and rendered by MCP hosts.
What’s here
- MCP server (
server/) exposing:ui://widget/movie-detail-widget.htmlresource (HTML + CSS + JS from ASSETS)- Tool
get-movie-detailthat searches TMDB by title and returns details + cast
- Widget UI (
web/) built with React/Tailwind:- Entry:
widget.html→movie-detail-widget.js/.css - MCP Apps lifecycle:
ui/initialize, tool input/result notifications,ui/open-linkfor showtimes - Showtimes link opens Google “<title> showtimes near me” via
ui/open-link
- Entry:
- Root landing page: friendly message at
/telling visitors to connect via/mcp
Prerequisites
- Node 18+
- Wrangler CLI
- TMDB API token (v4 bearer) stored as a secret
Install
npm install
Local dev (Workers)
Use .dev.vars for local secrets:
TMDB_TOKEN=your_tmdb_bearer_token
Run dev server:
npm run dev
MCP endpoint will be at http://localhost:8787/mcp.
Build the widget
npm run web:build
Outputs to web/dist/:
movie-detail-widget.jsmovie-detail-widget.csswidget.html
These are served by the ASSETS binding for the MCP UI resource.
Deploy to Cloudflare Workers
- Set the secret in your account:
wrangler secret put TMDB_TOKEN
- Deploy:
npm run deploy
MCP server code pointers
server/lib/mcp.ts— registers resource + tool, uses ASSETS to serve built widget, pullstmdbTokenfrom env binding.server/index.ts— Hono entry, mounts/mcpand root landing page.web/src/movie-detail-widget.tsx— MCP Apps UI logic + render.web/vite.config.ts— builds widget assets with custom filenames for ASSETS.
MCP tool contract
- Tool:
get-movie-detail - Input:
{ "query": "<movie title>" } - Returns:
content: text fallbackstructuredContent.movie: movie payload (title, poster/backdrop URLs, runtime, genres, rating, cast, etc.)
Notes for hosts
- UI resource URI:
ui://widget/movie-detail-widget.html - MIME:
text/html+mcp - CSP: allows
https://image.tmdb.org/for posters/backdrops - Expects MCP Apps messages:
ui/notifications/tool-input/tool-input-partialui/notifications/tool-resultui/open-link(to open showtimes link)
Type generation
Regenerate Cloudflare binding types if config changes:
npm run cf-typegen
Troubleshooting
- Missing TMDB token: set
TMDB_TOKENin.dev.vars(local) and viawrangler secret put(prod). - Assets not loading: ensure
npm run web:buildwas run and ASSETS binding is present. - Host rejects
ui/open-link: host must support MCP Appsui/open-link; otherwise widget will show an error state.
Recommended Servers
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.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.