get_episode
Pack: rick-and-morty · Endpoint: https://gateway.pipeworx.io/rick-and-morty/mcp
Get a single Rick and Morty episode by numeric ID. Returns title, code (e.g. “S01E03”), air date, and the list of characters that appear.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | number | yes | Episode ID. Example: 1 = Pilot. |
Example call
Arguments
{
"id": 1
}
curl
curl -X POST https://gateway.pipeworx.io/rick-and-morty/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_episode","arguments":{"id":1}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_episode', {
"id": 1
});
Response shape
| Field | Type | Description |
|---|---|---|
found | boolean | Whether episode was found |
id | number | Episode ID |
name | string | Episode title |
code | string | Episode code (e.g., S01E03) |
air_date | string | Air date |
character_count | number | Number of characters in episode |
character_ids | array | Character IDs |
url | string | API URL |
hint | string | Hint message when episode not found |
Full JSON Schema
{
"type": "object",
"properties": {
"found": {
"type": "boolean",
"description": "Whether episode was found"
},
"id": {
"type": "number",
"description": "Episode ID"
},
"name": {
"type": "string",
"description": "Episode title"
},
"code": {
"type": "string",
"description": "Episode code (e.g., S01E03)"
},
"air_date": {
"type": "string",
"description": "Air date"
},
"character_count": {
"type": "number",
"description": "Number of characters in episode"
},
"character_ids": {
"type": "array",
"items": {
"type": "number"
},
"description": "Character IDs"
},
"url": {
"type": "string",
"description": "API URL"
},
"hint": {
"type": "string",
"description": "Hint message when episode not found"
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"rick-and-morty": {
"url": "https://gateway.pipeworx.io/rick-and-morty/mcp"
}
}
}
See Getting Started for client-specific install steps.