get_episode
Pack: trakt · Endpoint: https://gateway.pipeworx.io/trakt/mcp
“Episode [N] of season [M] of [show]” / “what happens in [show] S[X]E[Y]” / “episode info / runtime / title” — single episode record by show + season + episode number. Returns title, summary, runtime, air date, IDs.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
show_id | string | yes | trakt show ID/slug |
season | number | yes | Season number |
episode | number | yes | Episode number |
extended | string | no | full | images |
Example call
Arguments
{
"show_id": "1391",
"season": 1,
"episode": 1
}
curl
curl -X POST https://gateway.pipeworx.io/trakt/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_episode","arguments":{"show_id":"1391","season":1,"episode":1}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_episode', {
"show_id": "1391",
"season": 1,
"episode": 1
});
More examples
{
"show_id": "breaking-bad",
"season": 5,
"episode": 14,
"extended": "full"
}
Response shape
| Field | Type | Description |
|---|---|---|
season | number | Season number |
number | number | Episode number |
ids | object | Trakt, TVDB, IMDB IDs |
title | string | Episode title |
overview | string | Episode plot |
rating | number | Episode rating |
votes | number | Number of votes |
first_aired | string | Air date |
updated_at | string | Last update timestamp |
Full JSON Schema
{
"type": "object",
"description": "Single episode record",
"properties": {
"season": {
"type": "number",
"description": "Season number"
},
"number": {
"type": "number",
"description": "Episode number"
},
"ids": {
"type": "object",
"description": "Trakt, TVDB, IMDB IDs"
},
"title": {
"type": "string",
"description": "Episode title"
},
"overview": {
"type": "string",
"description": "Episode plot"
},
"rating": {
"type": "number",
"description": "Episode rating"
},
"votes": {
"type": "number",
"description": "Number of votes"
},
"first_aired": {
"type": "string",
"description": "Air date"
},
"updated_at": {
"type": "string",
"description": "Last update timestamp"
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"trakt": {
"url": "https://gateway.pipeworx.io/trakt/mcp"
}
}
}
See Getting Started for client-specific install steps.