This MCP server integrates with The Movie Database (TMDB) API to provide movie information, search capabilities, and recommendations. It allows you to search for movies, get trending titles, and receive personalized movie recommendations through Claude Desktop.
Node.js
node --version
npm (Node Package Manager)
npm --version
TMDB Account
Claude Desktop Application
The server provides access to TMDB movie information via tmdb:///movie/<movie_id>
with details including:
Get a TMDB API key:
Clone and set up the project:
git clone [repository-url]
cd mcp-server-tmdb
npm install
Build the server:
npm run build
Set up your environment variable:
export TMDB_API_KEY=your_api_key_here
For automatic installation with Claude Desktop:
npx -y @smithery/cli install @Laksh-star/mcp-server-tmdb --client claude
Add the following to your app's server configuration file (located at ~/Library/Application Support/Claude/config.json
):
{
"mcpServers": {
"tmdb": {
"command": "/full/path/to/dist/index.js",
"env": {
"TMDB_API_KEY": "your_api_key_here"
}
}
}
}
Replace /full/path/to
with the actual path to your project directory.
Once configured and running with Claude Desktop, you can use these commands:
"Search for movies about artificial intelligence"
"What are the trending movies today?"
"Show me this week's trending movies"
"Get movie recommendations based on movie ID 550"
"Tell me about the movie with ID 550"
The server includes error handling for:
Error messages are displayed in a user-friendly format through Claude Desktop.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"cursor-rules-mcp": {
"command": "npx",
"args": [
"-y",
"cursor-rules-mcp"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.