The wizzy-mcp-tmdb project is an MCP (Model Context Protocol) server implemented in JavaScript that provides tools to search and retrieve information from The Movie Database (TMDB). It allows AI clients to access movie, TV show, and person data through a standardized protocol. - Search Movies: Perform multi-search across movies, TV shows, and people using the searchtmdb tool. - Get Details: Fetch
Add this skill
npx mdskills install drakonkat/wizzy-mcp-tmdbWell-documented MCP server providing comprehensive TMDB API access with clear setup instructions and solid testing
1# wizzy-mcp-tmdb23[](https://github.com/drakonkat/wizzy-mcp-tmdb/actions)45[](https://codecov.io/gh/drakonkat/wizzy-mcp-tmdb)67## Project Overview and Purpose89The wizzy-mcp-tmdb project is an MCP (Model Context Protocol) server implemented in JavaScript that provides tools to search and retrieve information from The Movie Database (TMDB). It allows AI clients to access movie, TV show, and person data through a standardized protocol.1011## Key Features1213- **Search Movies**: Perform multi-search across movies, TV shows, and people using the `search_tmdb` tool.14- **Get Details**: Fetch detailed information for specific items using the `get_tmdb_details` tool.15- **Trending Content**: Retrieve trending content across all media types with the `trending_all` tool.1617## Installation1819### Prerequisites2021- Node.js version 18 or higher (required for global fetch support)22- A TMDB API key (Bearer token) from your admin, used with the TNL TMDB proxy (production-api.tnl.one)2324### Setup25261. Clone the repository and navigate to the project directory.27282. Install dependencies:2930 ```bash31 npm install32 ```33343. Set up your TMDB API key as an environment variable:3536 - On Windows PowerShell:37 ```powershell38 $env:TMDB_AUTH_TOKEN="YOUR_TNL_PROXY_BEARER_TOKEN"39 ```4041 - On macOS/Linux:42 ```bash43 export TMDB_AUTH_TOKEN="YOUR_TNL_PROXY_BEARER_TOKEN"44 ```4546## Usage4748### Starting the MCP Server4950To start the server:5152```bash53npm start54```5556The server communicates over stdio and should be configured in your MCP-compatible client (e.g., IDE or chat client) with the command `node mcp-tmdb-server.js` and the `TMDB_AUTH_TOKEN` environment variable.5758### MCP Integration Examples5960Here are code snippets showing how to integrate with the MCP tools:6162#### Search for Movies6364```javascript65// Example MCP tool call for searching66{67 "method": "tools/call",68 "params": {69 "name": "search_tmdb",70 "arguments": {71 "query": "dune",72 "page": 1,73 "language": "en-US",74 "include_adult": false75 }76 }77}78```7980#### Get Movie Details8182```javascript83// Example MCP tool call for getting details84{85 "method": "tools/call",86 "params": {87 "name": "get_tmdb_details",88 "arguments": {89 "type": "movie",90 "id": 438631,91 "append": "credits,images"92 }93 }94}95```9697#### Get Trending Content9899```javascript100// Example MCP tool call for trending content101{102 "method": "tools/call",103 "params": {104 "name": "trending_all",105 "arguments": {106 "time_window": "day",107 "page": 1,108 "language": "en-US"109 }110 }111}112```113114## MCP Client Integration115116Per integrare questo MCP server nel tuo client MCP (come un IDE o un client di chat compatibile), segui questi passi:1171181. Installa il pacchetto npm se necessario:119120 ```bash121 npm install -g wizzy-mcp-tmdb122 ```1231242. Crea o aggiorna il file `mcp.json` nel tuo client MCP con la seguente configurazione:125126 ```json127 {128 "mcpServers": {129 "tmdb": {130 "command": "npx",131 "args": ["wizzy-mcp-tmdb"],132 "env": {133 "TMDB_AUTH_TOKEN": "YOUR_TNL_PROXY_BEARER_TOKEN"134 },135 "alwaysAllow": [136 "get_watch_providers",137 "discover_tv",138 "discover_by_provider"139 ]140 }141 }142 }143 ```144145 Nota: Il `TMDB_AUTH_TOKEN` può essere impostato a un valore casuale per ora, poiché le chiamate API TMDB sono gratuite e non richiedono autenticazione obbligatoria.146147## Testing Strategy148149The project uses Jest for comprehensive testing, including:150151- **Unit Tests**: Validate individual handler functions, input validation, and response formatting (see `tests/unit/handlers.test.js`).152- **Integration Tests**: Test API interactions with mocked responses, error handling, and network failures (see `tests/integration/api.test.js`).153- **Protocol Tests**: Ensure MCP protocol compliance, including tool listing and calling (see `tests/protocol/mcp.test.js`).154155Run the test suite with:156157```bash158npm test159```160161For watch mode:162163```bash164npm run test:watch165```166167## Project Structure168169```170wizzy-mcp-tmdb/171├── mcp-tmdb-server.js # Main MCP server implementation172├── package.json # Project configuration and dependencies173├── MCP_GUIDE.md # Detailed MCP integration guide174├── babel.config.cjs # Babel configuration for Jest175├── tests/176│ ├── unit/177│ │ └── handlers.test.js # Unit tests for handlers178│ ├── integration/179│ │ └── api.test.js # Integration tests for API calls180│ └── protocol/181│ └── mcp.test.js # MCP protocol compliance tests182└── tests/fixtures/ # Mock data for tests183 ├── movieDetails.json184 ├── searchMultiResponse.json185 └── trendingAllResponse.json186```187188## Contributing189190We welcome contributions! Please follow these guidelines:1911921. Fork the repository.1932. Create a feature branch.1943. Make your changes and add tests.1954. Ensure all tests pass.1965. Submit a pull request.197198## License199200This project is licensed under the MIT License. See the LICENSE file for details.201202## Acknowledgments203204- Thanks to The Movie Database (TMDB) for providing the API.205- Built using the Model Context Protocol SDK.206207## Contact208209For questions or support, please open an issue on GitHub.210
Full transparency — inspect the skill content before installing.