Skip to main content
Glama

create_playlist

Create a new audio, video, or photo playlist on your Plex server by providing a title and an initial media item to populate the collection.

Instructions

Create a new regular playlist on the Plex server. Requires an initial item (item_key parameter) to be created successfully. Smart playlists are not supported due to their complex filter requirements.

Input Schema

NameRequiredDescriptionDefault
titleYesThe title/name for the new playlist
typeYesThe type of playlist to create
item_keyYesThe key of an initial item to add to the playlist. Required for playlist creation. Get item keys from search_plex or browse_library results.

Input Schema (JSON Schema)

{ "properties": { "item_key": { "description": "The key of an initial item to add to the playlist. Required for playlist creation. Get item keys from search_plex or browse_library results.", "type": "string" }, "title": { "description": "The title/name for the new playlist", "type": "string" }, "type": { "description": "The type of playlist to create", "enum": [ "audio", "video", "photo" ], "type": "string" } }, "required": [ "title", "type", "item_key" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vyb1ng/plex-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server