MCP Movie Assistant
Enables searching, discovering, and reading movie information from TMDB through MCP tools.
README
MCP Movie Assistant
An MCP server for exploring TMDB movie data. It exposes tools for searching, discovering, and reading movie information over stdio.
Requirements
- Node.js 18 or newer
- npm
- A TMDB credential
Install
npm install
Environment
Create a .env file in the project root.
Supported TMDB variables:
# Preferred for TMDB v4 bearer auth
TMDB_API_KEY=your_tmdb_v4_access_token
# Optional fallback used if no bearer token is present
TMDB_API_KEY_V3=your_tmdb_v3_api_key
# Legacy variable names also supported by the code
API_TOKEN_READ_ONLY=your_tmdb_v4_access_token
API_KEY=your_tmdb_v3_api_key
Notes:
- The server loads
.envon startup. - If both token styles are present, the bearer token is used first.
- Do not commit
.env; it is already ignored by git.
Build
Compile the TypeScript source into build/:
npm run build
Run the server
After building, start the MCP server with:
npm start
This runs node ./build/index.js.
Open the MCP Inspector
The inspector script builds first, then launches the inspector against the compiled server:
npm run inspector
Available tools
The server currently exposes these MCP tools:
search-moviesget-movie-detailsget-trending-moviesget-movie-recommendationsdiscover-movies
Troubleshooting
TMDB request failed with status 401
This usually means the token was not loaded or the wrong variable name is being used.
Check that:
- Your
.envfile exists at the project root - It contains a valid TMDB token or API key
- The value is assigned to one of the supported variables above
- You rebuilt after making code changes with
npm run build
Inspector says Not connected
This usually means the inspector tried to launch build/index.js before the project was built, or the process exited early.
Fix:
npm run build
npm run inspector
Project structure
src/
index.ts # loads env and starts the stdio transport
server.ts # MCP server instance
tools.ts # TMDB-backed tools
api.ts # TMDB fetch helper
build/ # generated output from tsc
Scripts
npm run build- compile TypeScript tobuild/npm start- run the compiled servernpm run inspector- build and open the MCP inspectornpm test- placeholder test script
License
No license has been declared in this repository yet.
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.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
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.