discover_tv
Pack: tmdb · Endpoint: https://gateway.pipeworx.io/tmdb/mcp
Discover TMDB TV shows using advanced filters passed as query params (genre, first_air_date, vote average, network, sort order, etc.). Use genres_tv to get valid genre IDs first.
Example call
Arguments
{
"sort_by": "popularity.desc"
}
curl
curl -X POST https://gateway.pipeworx.io/tmdb/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"discover_tv","arguments":{"sort_by":"popularity.desc"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('discover_tv', {
"sort_by": "popularity.desc"
});
More examples
{
"first_air_date_year": 2022
}
Response shape
| Field | Type | Description |
|---|---|---|
page | number | Current page number |
results | array | Discovered TV shows |
total_pages | number | Total pages |
total_results | number | Total results |
Full JSON Schema
{
"type": "object",
"properties": {
"page": {
"type": "number",
"description": "Current page number"
},
"results": {
"type": "array",
"description": "Discovered TV shows",
"items": {
"type": "object",
"properties": {
"id": {
"type": "number"
},
"name": {
"type": "string"
}
}
}
},
"total_pages": {
"type": "number",
"description": "Total pages"
},
"total_results": {
"type": "number",
"description": "Total results"
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"tmdb": {
"url": "https://gateway.pipeworx.io/tmdb/mcp"
}
}
}
See Getting Started for client-specific install steps.