AI assistants
You can let an AI assistant work on your playlists, for example Claude or another assistant that supports MCP (the Model Context Protocol). You ask in plain words, and the assistant finds duplicates, tidies a group, renames a batch of channels or starts a refresh. It uses the API with your key, so it can do exactly what the key allows and nothing more. Follow these steps to connect an assistant.
Steps
- Make a key: Under Account, then API keys, click New key. Choose Read only if the assistant should only look, or Read and write if it may change things. Tick the playlists it may reach. Copy the key. More in The API.
- Install Node.js: The connector runs on the computer where your assistant runs and needs Node.js 18 or newer. Download it from nodejs.org if you do not have it.
- Download the connector: Download dontv-mcp.zip and unzip it. Put dontv-mcp.mjs in a folder where it can stay, for example
C:\M3UTool. It is one file with everything inside, so there is nothing to install. - Add it to your assistant: In Claude Desktop, open Settings, then Developer, then Edit Config, and add the M3UTool connector with your key:
{
"mcpServers": {
"dontv": {
"command": "node",
"args": ["C:\\M3UTool\\dontv-mcp.mjs"],
"env": {
"DONTV_API_KEY": "dontv_...",
"DONTV_BASE_URL": "https://editor.dontv.shop"
}
}
}
}
Note: On a Mac or Linux the path looks like /Users/you/M3UTool/dontv-mcp.mjs. Other assistants that support MCP take the same three values: the command node, the path to the file and the two settings with your key.
- Start your assistant again: The M3UTool tools now show up in the assistant.
- Ask something: Example: "Which channels exist twice in StreamLine TV? Tell me what you would merge."
What the assistant can do
- Look: list playlists and groups, search channels, open one channel, see the bin, follow a refresh and see what can be undone.
- Change: make, rename and delete playlists, groups and channels, move, hide and restore many at once, refresh a playlist and undo the last change.
- Merge copies: group the same channel from several providers into one channel with fallbacks, and take them apart again.
The tools that only look are marked as read-only, and the ones that remove something are marked as destructive, so your assistant can ask you before it runs them.
Good to know
- Deleting is binning: A deleted channel or group goes to the bin and can come back. The one exception is deleting a whole playlist, which is permanent.
- Undo is one step: It is shared with the editor. The assistant's last change can be taken back in the editor, and the other way round.
- A read-only key cannot write: This is not a promise from the assistant. M3UTool refuses the change, and the assistant tells you so.
- Types matter: a group and a channel are always live, movie or series, and a move only works within one type. Say which one you mean.
Tip: Start with a read-only key tied to one playlist, and ask for a plan before any change. "Find every channel that exists twice and tell me what you would merge" is a much better first question than "clean this up".