{"slug": "control-android-tv-google-tv-with-chatgpt-mcp-adb-complete-guide-by-mohamed", "title": "Control Android TV / Google TV with ChatGPT + MCP + ADB | Complete Guide by Mohamed LALAH", "summary": "Mohamed LALAH published a complete Windows guide for controlling Android TV and Google TV devices with ChatGPT using ADB, the Model Context Protocol (MCP), and the ADB MCP Server. The tutorial covers enabling USB debugging, installing Node.js, Git, and Android SDK Platform Tools, cloning the Adb-MCP-Server repository, and configuring ChatGPT Desktop to send commands such as taking screenshots, navigating interfaces, and launching apps. LALAH warns that the setup grants the AI powerful access and should only be used on authorized devices.", "body_md": "Complete Windows Guide — Tested on a real Android TV device\n\nGuide created, tested and documented by Mohamed LALAH — Secretofnet© 2026 Mohamed LALAH. All rights reserved.\n\nIn this tutorial, we will connect an Android TV / Google TV device to ChatGPT using:\n\n- ADB\n- MCP (Model Context Protocol)\n- ADB MCP Server\n- ChatGPT Desktop\n- Node.js\n- Git\n\nOnce everything is configured, ChatGPT can communicate with your Android TV through ADB and perform actions such as:\n\n- Detect the connected Android TV device\n- Read device information\n- Take screenshots\n- Understand what is displayed on screen\n- Navigate through the Android TV interface\n- Press remote-control keys\n- Launch applications\n- Open YouTube\n- Navigate inside supported applications\n- Inspect the current Android activity\n- And much more\n\n⚠️ This setup gives the AI powerful access to the Android device through ADB.\n\nOnly use it on devices that you own or are authorized to control.\n\nYou will need:\n\n- Windows 10 or Windows 11\n- Android TV / Google TV device\n- USB cable or ADB network connection\n- USB Debugging enabled\n- Node.js\n- Git\n- Android SDK Platform Tools (ADB)\n- ChatGPT Desktop for Windows\n- ADB MCP Server\n\nDownload the latest official Android SDK Platform Tools:\n\n[https://developer.android.com/tools/releases/platform-tools](https://developer.android.com/tools/releases/platform-tools)\n\nExtract the ZIP file.\n\nFor this tutorial, we use:\n\n```\nC:\\adb\n```\n\nThe ADB executable should therefore be:\n\n```\nC:\\adb\\adb.exe\n```\n\nOpen Command Prompt and verify ADB:\n\n```\nC:\\adb\\adb.exe version\n```\n\nOn your Android TV / Google TV:\n\n```\nSettings\n→ Device Preferences / System\n→ About\n→ Build\n```\n\nPress **Build** several times until Developer Options are enabled.\n\nThen open:\n\n```\nSettings\n→ Developer Options\n→ USB Debugging\n```\n\nEnable:\n\n```\nUSB Debugging\n```\n\nDepending on your Android TV version, the names of these menus may be slightly different.\n\nConnect the Android TV device to the computer.\n\nOpen Command Prompt and run:\n\n```\nC:\\adb\\adb.exe devices\n```\n\nThe Android TV may display an authorization message.\n\nChoose:\n\n```\nAllow USB debugging\n```\n\nYou can also enable:\n\n```\nAlways allow from this computer\n```\n\nRun the command again:\n\n```\nC:\\adb\\adb.exe devices\n```\n\nA correctly connected device should appear similar to:\n\n```\nList of devices attached\nXXXXXXXXXXXX    device\n```\n\nIf the status is:\n\n```\nunauthorized\n```\n\ncheck the TV screen and accept the debugging authorization.\n\nDownload Node.js from the official website:\n\n[https://nodejs.org/en/download](https://nodejs.org/en/download)\n\nInstall the **LTS version**.\n\nAfter installation, open a new Command Prompt window.\n\nCheck Node.js:\n\n```\nnode --version\n```\n\nThen check npm:\n\n```\nnpm --version\n```\n\nThe ADB MCP Server requires Node.js 18.17 or newer.\n\nDownload Git for Windows:\n\n[https://git-scm.com/download/win](https://git-scm.com/download/win)\n\nInstall Git.\n\nDuring installation, the default options are normally suitable.\n\nAfter installation, open a new Command Prompt and run:\n\n```\ngit --version\n```\n\nYou should see the installed Git version.\n\nProject used in this tutorial:\n\n[https://github.com/francbonet/Adb-MCP-Server](https://github.com/francbonet/Adb-MCP-Server)\n\nOpen Command Prompt.\n\nGo to your user folder:\n\n```\ncd %USERPROFILE%\n```\n\nClone the repository:\n\n```\ngit clone https://github.com/francbonet/Adb-MCP-Server.git adb-mcp-server\n```\n\nEnter the project directory:\n\n```\ncd adb-mcp-server\n```\n\nRun:\n\n```\nnpm install\n```\n\nWait for npm to finish.\n\nYou may see dependency warnings or audit messages.\n\nDo not automatically use:\n\n```\nnpm audit fix --force\n```\n\nunless you understand the dependency changes it will make.\n\nRun:\n\n```\nnpm run build\n```\n\nIf the build succeeds, a folder called:\n\n```\ndist\n```\n\nwill be created.\n\nVerify it:\n\n```\ndir dist\n```\n\nYou should find:\n\n```\nindex.js\n```\n\nThe important file is:\n\n```\n%USERPROFILE%\\adb-mcp-server\\dist\\index.js\n```\n\nYou can test whether Node.js can start the MCP server:\n\n```\nnode dist\\index.js\n```\n\nIt may look like nothing is happening.\n\nThis is normal.\n\nThe MCP server uses **STDIO** and waits for an MCP client to communicate with it.\n\nPress:\n\n```\nCTRL + C\n```\n\nto stop the manual test.\n\nChatGPT Desktop will start the server automatically after we configure MCP.\n\nDownload ChatGPT Desktop from the official OpenAI website:\n\nInstall and sign in to ChatGPT.\n\nFor this local MCP setup, use the **desktop application on the same computer that has access to ADB**.\n\nOpen ChatGPT Desktop settings.\n\nFind:\n\n```\nMCP Servers\n```\n\nChoose:\n\n```\nAdd server\n```\n\nSelect:\n\n```\nSTDIO\n```\n\nUse the following configuration.\n\n```\nADB Android TV\nC:\\Program Files\\nodejs\\node.exe\n```\n\nAdd:\n\n```\nC:\\Users\\YOUR_USERNAME\\adb-mcp-server\\dist\\index.js\n```\n\nReplace:\n\n```\nYOUR_USERNAME\n```\n\nwith your Windows username.\n\nExample:\n\n```\nC:\\Users\\John\\adb-mcp-server\\dist\\index.js\n```\n\nKey:\n\n```\nADB_EXECUTABLE\n```\n\nValue:\n\n```\nC:\\adb\\adb.exe\n```\n\nOn some Windows configurations, ADB launched from ChatGPT/MCP may try to create or access:\n\n```\nC:\\.android\n```\n\nThis can cause a permission error even though ADB works correctly from a normal Command Prompt.\n\nIf you encounter this problem, add another MCP environment variable.\n\nKey:\n\n```\nANDROID_USER_HOME\n```\n\nValue:\n\n```\nC:\\Users\\YOUR_USERNAME\n```\n\nExample:\n\n```\nC:\\Users\\John\n```\n\nYour MCP environment variables should then contain:\n\n```\nADB_EXECUTABLE = C:\\adb\\adb.exe\nANDROID_USER_HOME = C:\\Users\\YOUR_USERNAME\n```\n\nSave the MCP configuration.\n\nIf necessary, disable and re-enable the MCP server or restart ChatGPT Desktop.\n\nBefore allowing ChatGPT to control anything, start with a read-only test.\n\nYou can ask ChatGPT:\n\n```\nUse only the ADB Android TV MCP server.\n\nList the connected Android devices and tell me the device model and Android version.\n\nDo not change anything on the device.\n```\n\nIf everything is working correctly, ChatGPT should detect your Android TV.\n\nIf multiple Android devices are connected, ask ChatGPT to select the Android TV device.\n\nExample:\n\n```\nUse the ADB Android TV MCP server.\n\nSelect my Android TV as the active device and show me its device information.\n\nDo not change any settings.\n```\n\nThe MCP server can retrieve information such as:\n\n- Manufacturer\n- Model\n- Android version\n- SDK level\n- Display resolution\n- Display density\n- Build information\n- Device serial\n\nNow try:\n\n```\nUse the ADB Android TV MCP server.\n\nTake a screenshot of the current Android TV screen and tell me what you can see.\n\nDo not press any button or change anything.\n```\n\nChatGPT can capture the Android TV screen through ADB and analyze the screenshot.\n\nThis creates an important feedback loop:\n\n```\nChatGPT\n   ↓\nMCP\n   ↓\nADB\n   ↓\nAndroid TV\n   ↓\nScreenshot\n   ↓\nChatGPT\n```\n\nThe AI can therefore perform an action, capture the result and verify what happened.\n\nOnce screenshots work, try a simple command:\n\n```\nGo to the Android TV Home screen.\n```\n\nOr:\n\n```\nMove one position to the right.\n```\n\nOr:\n\n```\nPress OK.\n```\n\nOr:\n\n```\nPress Back.\n```\n\nThe MCP server can translate these requests into Android key events.\n\nYou can ask ChatGPT:\n\n```\nOpen YouTube on my Android TV.\n```\n\nChatGPT can find or use the application's Android package and launch it through ADB.\n\nFor Android TV YouTube, the package is commonly:\n\n```\ncom.google.android.youtube.tv\n```\n\nYou can also ask:\n\n```\nOpen YouTube and confirm that it launched successfully.\n```\n\nChatGPT can check the currently active Android activity to verify the result.\n\nExample prompt:\n\n```\nUse only the ADB Android TV MCP server.\n\nOpen YouTube, take a screenshot, analyze the interface and navigate to my channel.\n\nAfter every important action, verify the result before continuing.\n```\n\nThis is much more interesting than simply sending remote-control commands.\n\nThe AI can:\n\n```\nSee → Decide → Act → Verify\n```\n\nYou can say:\n\n```\nFind the application named SecretoTools TV and open it.\n\nThen confirm that the application is running.\n```\n\nThe AI can launch the application and verify its current Android activity.\n\nDepending on the version of ADB MCP Server, available tools can include:\n\n```\nlist_devices\nselect_device\nget_device_info\nscreenshot\ndump_ui\nget_current_activity\npress_key\npress_key_sequence\ntap\nswipe\ntype_text\nlaunch_app\nstop_app\nget_logcat\ninstall_apk\nuninstall_app\n```\n\nSome operations are much more powerful than others.\n\nAlways verify the target device before allowing destructive operations.\n\nCopy this prompt into ChatGPT Desktop:\n\n```\nUse only the ADB Android TV MCP server.\n\nFirst detect the connected Android TV and select it as the active device.\n\nBefore performing any action, confirm that you are controlling the correct device.\n\nTake a screenshot and analyze the current screen.\n\nFor navigation, application launching and screenshots, use MCP only.\n\nDo not install or uninstall applications.\nDo not change system settings.\nDo not delete files.\nDo not run destructive operations.\n\nAfter each important action, verify the result with a screenshot or the current Android activity.\n```\n\nRun:\n\n```\nC:\\adb\\adb.exe devices\n```\n\nIf the device is unauthorized, accept the USB debugging prompt on the TV.\n\nRun:\n\n```\nC:\\adb\\adb.exe kill-server\nC:\\adb\\adb.exe start-server\nC:\\adb\\adb.exe devices\n```\n\nCheck Node.js:\n\n```\nnode --version\n```\n\nCheck the MCP build:\n\n```\ncd %USERPROFILE%\\adb-mcp-server\nnpm run build\n```\n\nVerify:\n\n```\ndir dist\n```\n\nMake sure this file exists:\n\n```\ndist\\index.js\n```\n\nAdd:\n\n```\nANDROID_USER_HOME\n```\n\nto the MCP environment variables.\n\nExample:\n\n```\nANDROID_USER_HOME = C:\\Users\\YOUR_USERNAME\n```\n\nThen restart or reconnect the MCP server.\n\nADB provides powerful access to Android devices.\n\nDo not:\n\n- Expose ADB publicly to the Internet.\n- Connect unknown devices.\n- Accept unknown debugging computers.\n- Give an AI unrestricted destructive permissions without understanding the consequences.\n- Allow installation, uninstallation or system changes unless you intend to perform them.\n\nFor normal testing, keep the MCP server and ADB connection local to your computer.\n\nThis tutorial uses third-party open-source software.\n\nThe ADB MCP Server project used in this guide is:\n\n[https://github.com/francbonet/Adb-MCP-Server](https://github.com/francbonet/Adb-MCP-Server)\n\nAndroid SDK Platform Tools are provided by Google:\n\n[https://developer.android.com/tools/releases/platform-tools](https://developer.android.com/tools/releases/platform-tools)\n\nNode.js:\n\nGit:\n\nChatGPT:\n\nPlease check the respective project pages and licenses for the latest information.\n\nTutorial written, tested and documented by:\n\n**© 2026 Mohamed LALAH. All rights reserved.**\n\nThis tutorial represents the author's own documentation, testing procedure, explanations and workflow.\n\nThird-party applications, trademarks and open-source projects mentioned in this guide remain the property of their respective owners and are subject to their respective licenses.\n\nYou are welcome to share the **original link to this guide**.\n\nPlease do not copy, reproduce or republish the complete tutorial on another website, video description, repository or document without proper attribution to:\n\n**Mohamed LALAH — Secretofnet**\n\nTechnology • Android TV • Google TV • Tutorials • Tools\n\n**Guide created and tested in 2026.**", "url": "https://wpnews.pro/news/control-android-tv-google-tv-with-chatgpt-mcp-adb-complete-guide-by-mohamed", "canonical_source": "https://gist.github.com/mohamedlalah/4aee6cefa7525180df1d2b1108eff2f4", "published_at": "2026-08-30 02:05:01+00:00", "updated_at": "2026-08-30 02:22:29.754657+00:00", "lang": "en", "topics": ["developer-tools", "ai-tools", "ai-agents"], "entities": ["Mohamed LALAH", "ChatGPT", "ADB", "MCP", "ADB MCP Server", "Node.js", "Git", "Android TV"], "alternates": {"html": "https://wpnews.pro/news/control-android-tv-google-tv-with-chatgpt-mcp-adb-complete-guide-by-mohamed", "markdown": "https://wpnews.pro/news/control-android-tv-google-tv-with-chatgpt-mcp-adb-complete-guide-by-mohamed.md", "text": "https://wpnews.pro/news/control-android-tv-google-tv-with-chatgpt-mcp-adb-complete-guide-by-mohamed.txt", "jsonld": "https://wpnews.pro/news/control-android-tv-google-tv-with-chatgpt-mcp-adb-complete-guide-by-mohamed.jsonld"}}