Usher MCP

Usher MCP

Enables users to search and view detailed movie information from TMDB, including cast, ratings, and showtimes, through an interactive widget interface.

Category
Visit Server

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.html resource (HTML + CSS + JS from ASSETS)
    • Tool get-movie-detail that searches TMDB by title and returns details + cast
  • Widget UI (web/) built with React/Tailwind:
    • Entry: widget.htmlmovie-detail-widget.js/.css
    • MCP Apps lifecycle: ui/initialize, tool input/result notifications, ui/open-link for showtimes
    • Showtimes link opens Google “<title> showtimes near me” via ui/open-link
  • 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.js
  • movie-detail-widget.css
  • widget.html

These are served by the ASSETS binding for the MCP UI resource.

Deploy to Cloudflare Workers

  1. Set the secret in your account:
wrangler secret put TMDB_TOKEN
  1. Deploy:
npm run deploy

MCP server code pointers

  • server/lib/mcp.ts — registers resource + tool, uses ASSETS to serve built widget, pulls tmdbToken from env binding.
  • server/index.ts — Hono entry, mounts /mcp and 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 fallback
    • structuredContent.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-partial
    • ui/notifications/tool-result
    • ui/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_TOKEN in .dev.vars (local) and via wrangler secret put (prod).
  • Assets not loading: ensure npm run web:build was run and ASSETS binding is present.
  • Host rejects ui/open-link: host must support MCP Apps ui/open-link; otherwise widget will show an error state.

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
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
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
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