TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Use Claude Desktop to lookup and play a Youtube video on your Roku

    Windows
    1
    1
    44
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • RussR
      Russ
      last edited by Russ

      I'm having fun with the TRIGGERcmd MCP server and this Youtube MCP server. This is an example to demostrate how easy it is to turn any script into an MCP tool for AI to use on your behalf.

      Here's a Youtube video showing how it works: https://youtu.be/ctV8TUvcQuI

      This shows me telling the Claude AI LLM to lookup a Youtube video and play it on my Roku.

      fe03fce6-dcc7-41e3-904b-1f67adb2dada-image.png

      This is my claude_desktop_config.json file:

      {
        "mcpServers": {
          "triggercmd": {
            "command": "C:\\tools\\triggercmd-mcp-windows-amd64.exe"
          },
          "youtube": {
                  "command": "C:\\Users\\russe\\AppData\\Local\\Microsoft\\WindowsApps\\python.exe",
                  "args": [
                      "-m", "uv", "run", "--directory", 
                      "C:\\tools\\mcp\\youtube-mcp", 
                      "youtube_server.py"
                  ],
                  "env": {
                      "YOUTUBE_API_KEY": "(get your own)"
                  }
          }
        }
      }
      

      This is my TRIGGERcmd command from commands.json:

       {
        "trigger": "Youtube Upstairs Roku",
        "command": "c:\\tools\\yt-upstairs-roku.bat",
        "offCommand": "",
        "ground": "foreground",
        "voice": "",
        "voiceReply": "",
        "allowParams": "true",
        "mcpToolDescription": "Shows a specific video on my upstairs Roku.  The parameter specifies the video by its Youtube video ID. "
       }
      

      This is my yt-upstairs-roku.bat file:

      curl -v -XPOST "http://192.168.1.12:8060/launch/837?contentId=%1"
      

      192.168.86.127 is the IP of my upstairs Roku.
      837 is the ID of the Youtube app on Roku.
      %1 is a placeholder for the parameter (the Youtube video ID).

      d50c22a1-8bc9-4269-8c2f-ee093c986473-image.png

      Russell VanderMey

      1 Reply Last reply Reply Quote 0
      • RussR Russ referenced this topic
      • RussR Russ referenced this topic
      • RussR Russ referenced this topic
      • First post
        Last post