<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Danny Goossen on Medium]]></title>
        <description><![CDATA[Stories by Danny Goossen on Medium]]></description>
        <link>https://medium.com/@danny.goossen_455?source=rss-be7d5eb443a4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*kADOQDgnHbwD6ka5eQ34eg.jpeg</url>
            <title>Stories by Danny Goossen on Medium</title>
            <link>https://medium.com/@danny.goossen_455?source=rss-be7d5eb443a4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 15:08:44 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@danny.goossen_455/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Giving Claude a Keyboard: Testing Terminals That Have No Keyboard]]></title>
            <link>https://medium.com/@danny.goossen_455/giving-claude-a-keyboard-testing-terminals-that-have-no-keyboard-ff772d7bbf26?source=rss-be7d5eb443a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/ff772d7bbf26</guid>
            <category><![CDATA[remote]]></category>
            <category><![CDATA[bluetooth]]></category>
            <category><![CDATA[esp32-s3]]></category>
            <category><![CDATA[hid]]></category>
            <category><![CDATA[ai-tools]]></category>
            <dc:creator><![CDATA[Danny Goossen]]></dc:creator>
            <pubDate>Sat, 05 Dec 2026 08:08:38 GMT</pubDate>
            <atom:updated>2026-12-05T08:08:38.284Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4xFjQL1UpWx43_9zWUkpcQ.png" /></figure><p><em>A small ESP32 USB stick types on any machine as a real keyboard. Drive it by hand from a web page or from our serial app, or let Claude Code drive it to install and test software on terminals it can’t see.</em></p><p>In my <a href="https://medium.com/@danny.goossen_455/the-electronics-engineers-toolbox-ssh-serial-and-network-scanning-for-you-and-your-ai-123d1e2830c2">last article</a> I wrote about three small tools I use every day: netscan, Serial Terminal and ssh-remote. This one is about a fourth piece that started as a side project and turned out to be the most useful thing on my desk this week: a USB stick that pretends to be a keyboard.</p><h3>The problem: terminals with no keyboard</h3><p>Our NellIoT terminals are touch-screen boxes running a kiosk browser: point-of-sale terminals, production terminals, warehouse scanners. They have a touchscreen, a USB barcode scanner and often a label or receipt printer. They don’t have a keyboard.</p><p>A fresh terminal boots into a provisioning screen that says <em>Scan Provisioning QR Code</em>. You scan a QR, the terminal gets its name, its tunnel, its certificate and its app, and reboots into its job. That works well in the field.</p><p>At my desk it’s awkward. Testing a new provisioning build means printing QR codes and standing at the terminal with a scanner. If something goes wrong, the box is often offline, so there’s no SSH either. And an AI assistant can write the software, but it can’t press a button on the screen.</p><p>The way out was an old trick: <strong>a barcode scanner is just a USB keyboard</strong>. Anything that types can stand in for one.</p><h3>The dongle</h3><p>The hardware is a <a href="https://th.aliexpress.com/item/1005004860003638.html?spm=a2g0o.order_list.order_list_main.5.21ef1802rmOirx&amp;gatewayAdapt=glo2tha">LilyGO T-Dongle-S3</a>: an ESP32-S3 on a USB-A stick, with a tiny 0.96&quot; screen. The firmware, <a href="https://github.com/dannyg-sys/t-dongle-hid-bridge">t-dongle-hid-bridge</a>, does one thing:</p><pre>Mac ──Bluetooth LE──► T-Dongle-S3 ──USB keyboard──► terminal, TV or headless box</pre><ul><li><strong>USB side:</strong> a plain USB HID keyboard. No driver and no app on the target. It works at a login prompt, in a kiosk browser or in a TV’s URL bar.</li><li><strong>Bluetooth side:</strong> a small protocol over BLE. The first byte says what to do: type text, type a line and press Enter, press a special key (Tab, Esc, arrows), press a combination (ctrl+alt+t), or change a setting.</li><li><strong>Acknowledged:</strong> the dongle answers ok after it has <em>typed</em> each message, not when Bluetooth received it. The sender knows the keystrokes actually went out.</li><li><strong>Paced:</strong> about 30 characters a second by default, slow enough for TVs and boot prompts, adjustable per target.</li><li><strong>Identifiable:</strong> each stick names itself T-Dongle HID &lt;id&gt; and shows the id on its screen. I have two, and I pick by id.</li><li><strong>Paired:</strong> it only types for the one computer that paired with it, using a PIN shown on its screen. More on that below.</li><li><strong>Easy to update:</strong> one command reboots it into flash mode, so there’s no BOOT button to hold for a firmware update.</li></ul><h3>Two ways to drive it</h3><h3>Standalone: a web page</h3><p>The firmware repo has a single HTML page that talks to the dongle over Web Bluetooth from Chrome or Edge. Serve it locally (python3 -m http.server), click <strong>Connect dongle</strong>, type in the box and hit <strong>Type</strong> or <strong>Type + Enter</strong>. There are buttons for Enter, Tab, Esc and the arrows, a field for combinations, and settings for keyboard layout and typing speed. Nothing to install, so it works from a laptop without the app. It pairs the same way the app does.</p><h3>From Serial Terminal</h3><p>In <a href="https://github.com/dannyg-sys/serial">Serial Terminal</a>, the dongle is a connection type: <strong>Open Connection ▸ Bluetooth ▸ T-Dongle HID bridge</strong>. Whatever you type in the terminal window is typed on the target, including arrows, Tab, Esc, Backspace and Ctrl-combinations: the app translates the terminal’s escape sequences into the dongle’s key and combo messages. Paste works the same way.</p><p>A few details that matter in practice:</p><ul><li><strong>It relinks by itself.</strong> Move the stick to another device and the app waits and links again.</li><li><strong>It picks the right stick.</strong> With two dongles in range, you choose by id; the API refuses to guess.</li><li><strong>It won’t type into itself.</strong> If the dongle’s USB side is plugged into the same Mac, keyboard input from the window is refused, because it would loop straight back into the window.</li></ul><p>And it follows the same rule as the rest of the toolbox: <strong>the app owns the connection</strong>. It exposes a loopback API, a Claude Code skill and an MCP server for Claude Desktop, so you and the AI use the one Bluetooth link. If the app isn’t running, the skill or the MCP server starts it.</p><p>From Claude Code, the skill’s helper looks like this:</p><pre>serial hiddevices                    # dongles in range<br>serial hid 9FD0                      # link to one by id<br>serial send &quot;https://example.com&quot;    # type it, then Enter<br>serial sendraw &quot;admin&quot;; serial key tab<br>serial combo ctrl+alt+t<br>serial keydelay 40                   # slower typing for a sluggish target</pre><p>In Claude Desktop the same things are MCP tools: list_dongles, connect_hid, write, press_key, send_combo and set_key_delay.</p><h3>The catch: it can type, but it can’t see</h3><p>Nothing comes back from the target’s screen. The dongle is write-only. So how can an AI test anything with it?</p><p>It closes the loop somewhere else. When the terminal is on a network, the AI checks over SSH what the keystrokes did: which service started, what the log says, which console is active. When the terminal is offline, it watches the server the terminal is supposed to talk to. <strong>Keystrokes go in over Bluetooth, and the evidence comes back over the network.</strong> That idea is what made the two sessions below work.</p><h3>Session 1, “Nelliot DEPLOY”: provisioning a terminal blind</h3><p>Nine terminals were waiting at a customer’s site on the provisioning screen, with no network. That screen had no network settings, provisioning needs the internet, and there was no cable to plug in.</p><p>So I asked Claude Code for Wi-Fi on the provisioning screen. It built a network list with an on-screen keyboard, accepted the standard Wi-Fi QR from a phone, and greyed out <strong>Confirm &amp; Install</strong> while the terminal is offline. Testing it on the terminal on my desk, with the dongle plugged into it, went like this.</p><p><strong>Provisioning without a scanner.</strong> Claude decoded the provisioning QR image on my Mac with zbarimg, typed its text into the scan field through the dongle, then typed Tab, Tab, Enter to press <strong>Confirm &amp; Install</strong>:</p><pre>zbarimg -q --raw provision.png \<br>  | python3 -c &#39;import sys,json;print(json.dumps({&quot;text&quot;:sys.stdin.read().strip()+&quot;\n&quot;}))&#39; \<br>  | curl -s -H &#39;Content-Type: application/json&#39; --data-binary @- http://127.0.0.1:8765/write<br>printf &#39;{&quot;text&quot;:&quot;\\t\\t\\n&quot;}&#39; \<br>  | curl -s -H &#39;Content-Type: application/json&#39; --data-binary @- http://127.0.0.1:8765/write</pre><p>Over SSH it saw the install start. After the reboot it checked that Wi-Fi had come back without a cable, that the app answered, and that the tunnels were up. Then it reset the terminal to the provisioning screen for the next test.</p><p><strong>The customer’s case, reproduced.</strong> I asked for the quickest way to update nine terminals without a network cable. The answer was one update QR that only installs the new provisioning screen, with an Android phone on USB tethering as the internet connection. The terminal treats the phone as a wired network.</p><p>To test it the way it would happen at the customer, Claude switched off the terminal’s Wi-Fi, put the old screen back and rebooted. Then I pulled the LAN cable. From that moment Claude could not reach the terminal at all. So it started a watcher that:</p><ol><li>polled SSH until the terminal dropped off the LAN (my cable pull),</li><li>typed the update QR through the dongle and pressed <strong>Confirm &amp; Install</strong>,</li><li>watched the package server’s access log for the download.</li></ol><p>The watcher’s output:</p><pre>17:27:37 terminal no longer reachable by cable<br>17:27:52 QR loaded and confirmed<br>17:27:59 DOWNLOADED<br>... [03/Dec/2026:17:27:53 +0700] &quot;GET /deploy/provision-wifi.tar.gz HTTP/2.0&quot; 200 8825</pre><p>The terminal fetched the update through the phone one second after the keystrokes. I looked at the screen: the new <strong>Wi-Fi</strong> button was there. I joined the office Wi-Fi with it, and Claude got back in over SSH to confirm the install.</p><p>That was an offline install, tested end to end by an AI that could neither see the screen nor reach the box. It took minutes, not an afternoon of printed QR codes.</p><p>One lesson from an earlier session: Claude once sent Ctrl+Alt+F2 to switch to a text console and log in. The kiosk doesn’t allow console switching, so everything it typed went into the scan field, and the terminal answered with <em>Invalid QR</em>. Harmless, but a keyboard types wherever the focus is. In the later session, Claude checked over SSH which console was active right after sending a combination.</p><h3>Session 2, “SPT”: the dongle as a barcode scanner</h3><p>The same afternoon, we needed a warehouse terminal for a demo the next day: scan the transfer sheet, scan each product and enter its quantity, scan the sheet again to validate the transfer in Odoo, and print a label on a TSPL label printer.</p><p>The Nelliot DEPLOY session got the terminal online, found the label printer and the dongle on its USB bus, and wrote a brief. A second Claude Code session, “SPT”, built the app from that brief and installed it on the terminal.</p><p>Because a barcode scanner is a keyboard, the dongle is a scanner that can “scan” any code without printing it. The SPT session typed an operation-type barcode and a transfer number into the kiosk, then read the app’s log over SSH:</p><pre>/api/scan {&#39;code&#39;: &#39;SPTIN&#39;}<br>/api/scan {&#39;code&#39;: &#39;SPT/IN/00027&#39;}</pre><p>The keystrokes reached the app, and the app reached Odoo. Then I tried it for real with the scanner and the printed sheets: I validated a receipt and did a pick.</p><p>Both sessions used the same dongle through the same app. The app owns the Bluetooth link, so it didn’t matter which session was asking.</p><h3>Since then: pairing with a PIN</h3><p>The one thing that bothered me about all this was that the Bluetooth link was open: anyone in range could connect to the stick and type on whatever it was plugged into. That is fine on my desk and not fine in a customer’s warehouse. So the dongle now pairs, and its little screen does the work:</p><ul><li>A new dongle shows <strong>UNPAIRED</strong>. The first time you connect, macOS asks for a PIN, and the dongle shows a new random six-digit PIN on its display for every attempt.</li><li>Once paired, it remembers the computer, also without power. Move it to a terminal and it reconnects without a PIN. The display shows <strong>paired</strong>, with a padlock while the link is encrypted.</li><li><strong>One computer per dongle.</strong> Any other computer gets no PIN and can’t type. To hand a dongle over, hold BOOT for five seconds (the display counts down) until it says <em>unpaired</em>.</li><li>Firmware updates go over the paired link too, so only the paired Mac can put the stick into flash mode.</li></ul><p>For the AI, pairing is deliberately a human step. Opening a dongle from the API, the skill or MCP never starts a pairing. Claude can use a dongle I have paired, but a new pairing needs someone who can read the PIN off the stick.</p><h3>Things to know</h3><ul><li><strong>ASCII only, US layout by default.</strong> The layout lives on the target; the firmware has a remap table (with a German example) for other layouts.</li><li><strong>The target must accept a USB keyboard.</strong> Most terminals and PCs do. Some TV USB ports only give power or play media.</li><li><strong>Unpair on both sides.</strong> After a BOOT reset, also remove the dongle in macOS Bluetooth settings. Otherwise the Mac keeps its old key and can’t pair again.</li><li><strong>The T-Dongle-S3-Plus has an IR LED</strong>, and the firmware can blast IR remote codes with it. That part is built out by default and untested.</li></ul><h3>Getting started</h3><p>Hardware: a LilyGO T-Dongle-S3 or T-Dongle-S3-Plus.</p><p>Firmware and the standalone web page:</p><pre>git clone https://github.com/dannyg-sys/t-dongle-hid-bridge &amp;&amp; cd t-dongle-hid-bridge<br>pio run -t upload --upload-port /dev/cu.usbmodem...   # a factory-fresh stick just flashes<br>cd web &amp;&amp; python3 -m http.server 8000                 # then open http://localhost:8000</pre><p>Serial Terminal, as the main controller:</p><pre>git clone https://github.com/dannyg-sys/serial &amp;&amp; cd serial<br>scripts/build-app.sh &amp;&amp; open SerialTerminal.app</pre><p>Then <strong>Open Connection ▸ Bluetooth ▸ T-Dongle HID bridge</strong>, and type the PIN from the dongle’s display when macOS asks. For Claude Code, symlink the skill from .claude/skills/serial-terminal into ~/.claude/skills/. For Claude Desktop, add SerialTerminal.app/Contents/MacOS/serial-mcp to claude_desktop_config.json; the README has the exact entry.</p><p>Giving an AI a keyboard sounds like a gimmick until you watch it provision a terminal it can’t see, on a network it can’t reach, and prove it worked from a server log. If you work with kiosks, POS boxes or anything else that only has a touchscreen and a USB port, I’d like to hear how you’d use it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ff772d7bbf26" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Electronics Engineer’s Toolbox: SSH, Serial and Network Scanning — for You and Your AI]]></title>
            <link>https://medium.com/@danny.goossen_455/the-electronics-engineers-toolbox-ssh-serial-and-network-scanning-for-you-and-your-ai-123d1e2830c2?source=rss-be7d5eb443a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/123d1e2830c2</guid>
            <category><![CDATA[serial]]></category>
            <category><![CDATA[ssh]]></category>
            <category><![CDATA[electronics]]></category>
            <category><![CDATA[mcps]]></category>
            <category><![CDATA[toolbox]]></category>
            <dc:creator><![CDATA[Danny Goossen]]></dc:creator>
            <pubDate>Tue, 01 Dec 2026 03:57:42 GMT</pubDate>
            <atom:updated>2026-12-05T07:56:35.323Z</atom:updated>
            <content:encoded><![CDATA[<p>*Three small native macOS tools I use every day to find, reach and talk to hardware. Each one works by hand, and each one can be driven by an AI assistant through MCP.*</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xK9JzCu2ZGSP_MbfVilX0Q.png" /></figure><p>I’m an electronics engineer by training, and these days most of my work sits where hardware meets software: IoT boxes, point-of-sale terminals, printers, scales and the Linux machines that run them. A normal day is a lot of the same three questions:</p><h3>The Electronics Engineer’s Toolbox: SSH, Serial and Network Scanning — for You and Your AI</h3><p><em>Three small native macOS tools I use every day to find, reach and talk to hardware. Each one works by hand, and each one can be driven by an AI assistant through MCP.</em></p><p>I’m an electronics engineer by training, and these days most of my work sits where hardware meets software: IoT boxes, point-of-sale terminals, printers, scales and the Linux machines that run them. A normal day is a lot of the same three questions:</p><ul><li><strong>What is on this network?</strong> A box was just plugged in somewhere. Which IP did it get? Is SSH open?</li><li><strong>What is this device saying?</strong> A scale, a modem or a microcontroller is talking on a serial port, maybe on a terminal across town.</li><li><strong>What is happening on that box?</strong> Is the service running, what do the logs say, can I fix one line in a config file?</li></ul><p>For years I answered these with a mix of tools: a GUI IP scanner (slow, licensed), screen or minicom for serial, and a lot of hand-typed SSH. That works fine — until you want an AI assistant to help. Then you discover that none of those tools can be shared: the assistant can&#39;t see your serial console, and the scanner has no API.</p><p>So I built a small toolbox. Three tools, one idea.</p><h3>One idea: the app owns the connection</h3><p>Each tool is a native macOS app or service that <strong>owns the real connection</strong> — the serial port, the SSH session, the raw network socket. On top of that it exposes a small <strong>loopback API</strong> (127.0.0.1 only), and a thin <strong>MCP server</strong> so Claude (Desktop or Code) can use the same connection you are looking at.</p><p>That gives you three nice properties:</p><ul><li>You and the AI see the <strong>same</strong> session. When Claude sends AT to a modem, you see it happen in the terminal window.</li><li>Nothing leaves your Mac. No cloud relay, no agent installed on the device.</li><li>Everything reuses your <strong>~/.ssh/config</strong> — aliases, keys, ProxyJump, Includes. If ssh mybox works in Terminal, it works in the toolbox.</li></ul><h3>1. netscan — what is on this network?</h3><p><a href="https://github.com/dannyg-sys/netscan">netscan</a> replaced the IP scanner I used to pay for. It is a SwiftUI app plus a netscan command-line tool, and both share one scanning engine.</p><p><strong>Pick the network, not a CIDR.</strong> The top of the window has a button per interface: Wi-Fi, Ethernet, a USB LAN dongle, Thunderbolt Bridge, Bluetooth PAN, iPhone USB, Internet Sharing, even the virtual network of your Docker/OrbStack VMs. Plug in a cable and the list updates by itself. When I’m on site, I plug a USB LAN adapter into the customer’s device network and scan <em>that</em> — not my Wi-Fi.</p><p><strong>Fast, the masscan way.</strong> In fast mode netscan does two things:</p><ul><li>An <strong>ARP sweep</strong> to find every device on the segment. Even a firewalled box has to answer ARP, so nothing hides.</li><li>A <strong>stateless SYN scan</strong> for ports. It fires SYN packets without opening sockets or waiting for each one; the TCP sequence number is a keyed hash of IP and port, so any SYN-ACK that comes back proves itself. The kernel resets the half-open connection for you.</li></ul><p>On my office Wi-Fi that finds all 28 devices in about 2 seconds, and the whole job — 109 common ports, service banners and names — takes 7 seconds.</p><p>Fast mode needs raw access to /dev/bpf*, which macOS only gives to root. A one-time installer (one password prompt) gives your user that access, the same way Wireshark does. Without it netscan still works, using ordinary connect() calls — slower on hosts that silently drop packets, and with one macOS lesson built in: Macs and BSD boxes rate-limit their &quot;port closed&quot; replies to about 250 per second, so a fast connect scan <em>loses ports</em>. netscan notices hosts that answer with resets and re-checks their silent ports.</p><p><strong>Knowing what you found.</strong> Every host gets a name from Bonjour, NetBIOS or reverse DNS, a vendor from the IEEE MAC registry, SSH/FTP/MySQL banners and web page titles. One thing I care about as someone who works on factory floors: printer ports (9100) and industrial protocols (Modbus, S7, EtherNet/IP) are scanned but <strong>never sent probe data</strong>. A raw printer port will happily print your HTTP request, and you don’t want to find out what a PLC does with one.</p><p><strong>Click to connect.</strong> Each open port has a button: SSH (in Terminal, or in the serial app below), browser, Screen Sharing, Finder (SMB/AFP), Remote Desktop. If an IP matches a HostName in your SSH config, it opens as that alias, with your keys.</p><p><strong>For the AI</strong>, netscan mcp offers scan_network, scan_ports, get_hosts, open_connection and a few more. A real exchange:</p><blockquote>check what computers have port 22 open on the local area network (wifi)</blockquote><blockquote><em>I scanned your Wi-Fi network (192.168.1.0/24) and found 28 devices. 5 of them have port 22 open: 192.168.1.116 (Shenzhen Trolink), 192.168.1.187 (China Dragon Technology), 192.168.1.193 (randomized MAC — probably a phone or laptop with MAC privacy on), 192.168.1.199 (Intel — matches </em><em>build-box in your SSH config) and this Mac (OpenSSH 10.2).</em></blockquote><blockquote><em>The Trolink and China Dragon vendors suggest mini PCs or embedded boxes. I can run a full port scan on those to find out what they are.</em></blockquote><h3>2. Serial Terminal — what is the device saying?</h3><p><a href="https://github.com/dannyg-sys/serial">Serial Terminal</a> is a native SwiftUI terminal (a real VT100/xterm, thanks to SwiftTerm) for serial devices:</p><ul><li><strong>Local serial</strong> over USB or Bluetooth, with free-text baud rates (115200, 1.5M).</li><li><strong>Remote serial over SSH.</strong> Open a login shell on a remote box, or attach a serial device that is plugged into <em>that</em> box — the scale on a POS terminal, a modem on a gateway. It bridges /dev/ttyUSB0 back to your Mac with socat, over plain SSH.</li><li><strong>A keyboard for keyboard-less devices.</strong> A small ESP32-S3 USB dongle (LilyGO T-Dongle-S3) plugs into a TV, kiosk or headless box and shows up there as a USB keyboard. The app links to it over Bluetooth, and whatever you type is typed on the target. Login prompts and BIOS screens stop being a problem.</li></ul><p>Each window is its own connection with its own API port, so you can watch a scale in one window and a modem in another.</p><p>The AI side comes as a Claude Code skill and an MCP server. You ask <em>“connect to the POS terminal and watch the scale”</em> or <em>“send AT and read the reply”</em>, and Claude uses the connection that is open in front of you. If the app isn’t running, the MCP server and the skill start it in the background first.</p><h3>3. ssh-remote — what is happening on that box?</h3><p><a href="https://github.com/dgoo2308/ssh-mcp-server">ssh-remote</a> is an MCP server for working on remote Linux machines through your own SSH config. It exists because “just run this command over SSH” stops being simple the moment there are quotes, $ signs or a multi-line script involved.</p><ul><li><strong>Base64 transport</strong> for commands and scripts, so there is no escaping to get wrong. Bash, sh, Python or Node scripts run as-is.</li><li><strong>File work without </strong><strong>sed gymnastics</strong>: read, rewrite, line edits, find-and-replace and appends, all keeping the file&#39;s mode and owner. Upload, download and fast tar-streamed directory copies.</li><li><strong>Service helpers</strong> for systemctl, journalctl and service logs.</li><li><strong>Guard rails</strong>: configurable allow/deny lists for commands, which the assistant can query before it tries something.</li></ul><p>In practice I ask things like <em>“check if the IoT service is running on the shop terminal and show me the last 50 log lines”</em> or <em>“set DEBUG=false in the env file on all three sensors”</em>, and Claude works out which hosts and commands that means.</p><h3>How they work together</h3><p>A real afternoon, start to finish:</p><ol><li>A customer’s new terminal is “somewhere on the network”. I plug a USB LAN adapter into their switch and click the USB LAN button in netscan. Two seconds later: a Trolink mini PC with port 22 open.</li><li>I double-click it and I’m in over SSH. Or I ask Claude, and it checks the service and logs through ssh-remote.</li><li>The receipt scale misbehaves. Serial Terminal attaches /dev/ttyUSB0 on that terminal over SSH, and Claude watches the raw stream with me until we spot the wrong baud rate.</li></ol><p>No agent on the device, no cloud, no copy-pasting IP addresses between three apps.</p><h3>Getting started</h3><p>netscan:</p><pre>git clone https://github.com/dannyg-sys/netscan &amp;&amp; cd netscan<br>scripts/install-app.sh                  # → /Applications, CLI in ~/.local/bin<br>claude mcp add --scope user netscan -- ~/.local/bin/netscan mcp</pre><p>Serial Terminal:</p><pre>git clone https://github.com/dannyg-sys/serial &amp;&amp; cd serial<br>scripts/build-app.sh &amp;&amp; open SerialTerminal.app</pre><p>ssh-remote:</p><pre>curl -sSL https://raw.githubusercontent.com/dgoo2308/ssh-mcp-server/main/install.sh | bash</pre><p>For Claude Desktop, add each MCP server to claude_desktop_config.json — the READMEs have the exact entries.</p><p>All three need macOS and Xcode’s Swift toolchain (netscan and the serial app) or Node (ssh-remote). netscan and Serial Terminal are MIT-licensed. Feedback and pull requests are welcome — especially from anyone else who spends their days between a soldering iron and an SSH prompt.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=123d1e2830c2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Your SSH Config Is Already a Server Fleet — You Just Need the Right Co-Pilot]]></title>
            <link>https://medium.com/@danny.goossen_455/your-ssh-config-is-already-a-server-fleet-you-just-need-the-right-co-pilot-c2b5ec4f4e66?source=rss-be7d5eb443a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/c2b5ec4f4e66</guid>
            <category><![CDATA[mcp-server]]></category>
            <category><![CDATA[ssh]]></category>
            <category><![CDATA[debugging]]></category>
            <category><![CDATA[servers]]></category>
            <dc:creator><![CDATA[Danny Goossen]]></dc:creator>
            <pubDate>Sun, 08 Mar 2026 15:03:37 GMT</pubDate>
            <atom:updated>2026-03-08T15:03:37.698Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Dark terminal screen with SSH command output glowing in green, multiple server connections visualized as network nodes, cinematic lighting, tech aesthetic, wide format 1600x840" src="https://cdn-images-1.medium.com/max/1024/1*BHT_tw_IbVQzsbLFQMvYeA.png" /></figure><p>If you manage more than a handful of servers, you probably have a ~/.ssh/config file that looks a bit like organised chaos. Dozens of hosts, proxy jumps, per-host keys, maybe an Include pointing to a whole directory of configs. You know your fleet intimately. The problem is translating that intimate knowledge into fast, safe action when something is on fire at 11pm.</p><p>That’s the itch <a href="https://github.com/dgoo2308/ssh-mcp-server">ssh-mcp-server</a> scratches.</p><h3>What is it?</h3><p>It’s an MCP (Model Context Protocol) server that wires your existing SSH configuration directly into Claude Desktop. No new inventory files. No extra YAML. It reads your ~/.ssh/config — including Include directives — and gives Claude a full toolkit of SSH tools: command execution, file read/write/diff, systemd service control, journalctl log streaming, and more.</p><p>You talk to Claude in plain language. It figures out which host, which tool, and executes — with sensible safety rails built in.</p><h3>A few real scenarios</h3><h3>Debugging a CUPS print server</h3><p>A customer’s label printer stopped working mid-shift. Instead of SSH-ing in, grepping around, opening another terminal for logs:</p><blockquote>“Check the CUPS service status on iot-printnode-1, and show me the last 30 error log lines”</blockquote><p>Claude calls ssh_list_services with a filter for cups*, then hits ssh_service_logs with the errors pattern. You get the error summary in seconds, right in the chat. If it&#39;s a config issue, you can ask it to diff the current config against a known-good template, and apply the fix — all without leaving the conversation.</p><h3>Tracking down an application error</h3><p>Odoo throwing 500s on production. You want logs, but you don’t want to page through 10,000 lines manually:</p><blockquote>“Show me error-level journal logs for odoo on nell-prod-client-x from the last hour”</blockquote><p>ssh_journalctl with priority: err and since: 1 hour ago gives you exactly the signal, no noise. Follow it up with:</p><blockquote>“Check the Odoo config file and compare it to last week’s backup”</blockquote><p>ssh_diff_files between /etc/odoo/odoo.conf and its .bak — rendered right there as a diff.</p><h3>Hardening a server</h3><p>New VPS, needs to be locked down quickly:</p><blockquote>“List all enabled services on new-droplet-1 and flag anything that looks unnecessary”</blockquote><p>ssh_list_services returns the full systemd service list. Claude can reason about what should and shouldn&#39;t be running, then you can issue targeted ssh_systemctl disable calls for anything sketchy.</p><p>Want to push a new sshd_config hardening template?</p><blockquote>“Upload my local hardened sshd_config to new-droplet-1, test it, then reload sshd if it’s clean”</blockquote><p>Upload via ssh_upload_file, validate with ssh_execute_script, reload with ssh_systemctl reload.</p><h3>Log analysis across a fleet</h3><blockquote>“Check disk usage on all my production servers and tell me which ones are above 80%”</blockquote><p>Because Claude knows your host list from ~/.ssh/config, it can iterate across matching hosts and summarise. What used to be a shell one-liner you had to remember is now a natural language ask.</p><h3>The safety model</h3><p>This is the part that matters most when you’re giving an AI tool SSH access to production.</p><p>Every command passes through configurable allow/disallow pattern lists. Destructive operations — rm *, dd if=*, shutdown.*, fork bombs — are blocked by default. But the real power is the <strong>per-host rules file</strong> (~/.ssh/ssh_mcp_rules.json), which lets you define different trust levels per host group:</p><pre>{<br>  &quot;hosts&quot;: {<br>    &quot;production_*&quot;: {<br>      &quot;mode&quot;: &quot;strict&quot;,<br>      &quot;commandAllow&quot;: [&quot;systemctl status *&quot;, &quot;journalctl *&quot;, &quot;tail *&quot;, &quot;cat *&quot;],<br>      &quot;readonlyPaths&quot;: [&quot;/etc&quot;, &quot;/opt/odoo&quot;]<br>    },<br>    &quot;dev_*&quot;: {<br>      &quot;mode&quot;: &quot;permissive&quot;,<br>      &quot;commandDisallow&quot;: [&quot;rm -rf /&quot;]<br>    }<br>  }<br>}</pre><p>Production hosts get an allowlist only. Dev hosts get permissive mode with the obvious exceptions blocked. IoT devices can be locked to a tiny set of safe read-only commands. You define the rules once; the MCP server enforces them on every call.</p><p>There’s also ssh_get_restrictions — Claude can query what&#39;s allowed on a given host <em>before</em> attempting an operation, so it fails gracefully with a useful explanation rather than a cryptic error.</p><h3>Getting started</h3><pre>curl -sSL https://raw.githubusercontent.com/dgoo2308/ssh-mcp-server/main/install.sh | bash</pre><p>Or clone and build manually. Then add it to your claude_desktop_config.json and point it at the built index.js. Your existing SSH config is all the inventory it needs.</p><p>Full docs, all tool references, and security configuration details are in the <a href="https://github.com/dgoo2308/ssh-mcp-server">README</a>.</p><h3>Why this approach works</h3><p>The insight is simple: you already spent years building a good SSH config. It has the right hosts, the right keys, the right proxy jumps. Any decent remote management tool should <em>start</em> from that, not ask you to rebuild it somewhere else.</p><p>Pair that with an AI that can reason about what you’re asking — rather than requiring you to remember the exact journalctl flags for error-only output since yesterday — and infrastructure management gets noticeably less taxing.</p><p><em>Built at </em><a href="https://nellika.io/"><em>Nellika Consultancy Services</em></a><em> — open source, MIT licensed.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c2b5ec4f4e66" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Every Developer Is WRONG About SSH (And How One Tool Proves It)]]></title>
            <link>https://medium.com/@danny.goossen_455/why-every-developer-is-wrong-about-ssh-and-how-one-tool-proves-it-a46f03e6a07d?source=rss-be7d5eb443a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/a46f03e6a07d</guid>
            <category><![CDATA[debugging-tools]]></category>
            <category><![CDATA[mcp-server]]></category>
            <category><![CDATA[ssh]]></category>
            <category><![CDATA[iot]]></category>
            <dc:creator><![CDATA[Danny Goossen]]></dc:creator>
            <pubDate>Tue, 29 Jul 2025 14:21:30 GMT</pubDate>
            <atom:updated>2025-07-29T14:21:30.903Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3WDj0qhTr0RpIaGBtS3gww.png" /><figcaption>Transform SSH into an AI-powered remote development powerhouse</figcaption></figure><p><em>The controversial SSH MCP Server that’s making traditional DevOps teams rethink everything they know about remote development</em></p><h3>The Shocking Truth: You’ve Been Using SSH Wrong This Entire Time</h3><p>Picture this: You’re managing multiple servers, IoT devices, and development environments. You need to edit configuration files, transfer directories, check service status, and debug issues across different systems. Like 99% of developers, you’re probably juggling multiple terminal windows, memorizing complex SCP commands, and switching between various SSH sessions like it’s 1995.</p><p>Here’s the controversial part: <strong>You’re doing it completely wrong.</strong> And so is everyone else.</p><p>The industry has convinced us that this pain is “just part of the job.” That managing remote infrastructure should be complex, error-prone, and time-consuming. That we need expensive orchestration tools, complex CI/CD pipelines, and dedicated DevOps teams just to edit a config file on a remote server.</p><p><strong>They’re all wrong.</strong></p><h3>The Tool That’s Changing How We Think About Remote Infrastructure</h3><p>The <a href="https://github.com/dgoo2308/ssh-mcp-server">SSH MCP Server</a> is sparking interesting conversations in engineering teams. Why? Because it takes everything we’ve been told about “proper” infrastructure management and offers a surprisingly different approach.</p><p>This isn’t just another SSH wrapper or fancy terminal multiplexer. This is a paradigm shift that’s making traditional DevOps practices look unnecessarily complex.</p><p><strong>The bold claim:</strong> Most of what we consider “best practices” in remote development are actually just workarounds for tools that were never designed for modern workflows.</p><h3>Why DevOps Teams Are Taking Notice</h3><p><strong>🔧 It Kills the “Infrastructure as Code” Complexity</strong></p><p>No new tools to learn. No YAML hell. No complex orchestration platforms. The server reads your existing ~/.ssh/config file and automatically discovers all your configured hosts. Every alias, key file, and connection setting you&#39;ve already configured just works.</p><p><em>Why this is notable:</em> It suggests that maybe we don’t need those expensive enterprise tools after all.</p><p><strong>📁 File Operations That Make Ansible Look Overcomplicated</strong></p><ul><li>Upload single files or entire directories recursively (in milliseconds, not minutes)</li><li>Download files and folders with automatic directory creation</li><li>Bulk transfer operations using efficient tar streaming that puts most CI/CD pipelines to shame</li><li>Preserve permissions, timestamps, and file attributes (without writing 50 lines of playbook)</li></ul><p><em>Why this gets attention:</em> These operations are often easier and faster than their “enterprise-grade” solutions.</p><p><strong>✏️ Remote Editing That Defeats Configuration Management Dogma</strong></p><ul><li>Edit files directly on remote systems using pattern matching (heresy to some!)</li><li>Automatic backup creation before any modification</li><li>Handle complex patterns with proper escaping</li><li>Support for multi-line replacements and insertions</li></ul><p><em>The surprising truth:</em> Sometimes you need to edit that one config file RIGHT NOW, and version control workflows are overkill.</p><p><strong>⚡ Command Execution That Bypasses “Proper” Procedures</strong></p><ul><li>Execute single commands across multiple hosts (no orchestration platform required)</li><li>Run complex multi-line scripts (without Jenkins pipelines)</li><li>Real-time output capture and error handling</li><li>Support for interactive commands and long-running processes</li></ul><p><em>Why this challenges assumptions:</em> It proves that maybe we don’t need complex approval workflows for every server interaction.</p><p><strong>🔒 Security That Actually Makes Sense</strong></p><ul><li>Host allowlist/blocklist functionality</li><li>Command filtering and restrictions</li><li>Leverages your existing SSH keys and authentication</li><li>No additional credentials or tokens required</li></ul><h3>Case Study: 20 Minutes → 2 Minutes</h3><p>This story is does challenges everything we’ve been taught about “proper” troubleshooting procedures.</p><p><strong>The Setup:</strong> We had a CUPS printer service on a remote IoT box that was failing to start and couldn’t detect installed printers. In any traditional organization, this would trigger:</p><ul><li>A support ticket</li><li>Assignment to the infrastructure team</li><li>Multiple approval stages</li><li>Scheduled maintenance windows</li><li>Extensive documentation and change management</li></ul><p><strong>The Reality Check:</strong> Using the SSH MCP Server, the entire issue was diagnosed and resolved in under 2 minutes.</p><p><strong>The Controversial Method:</strong> Instead of following “best practices” (tickets, approvals, scheduled maintenance), we used natural language commands:</p><p><strong>Service Discovery</strong>: “Check if CUPS is running on the XXFBS IoT box”</p><ul><li>Automatically detected BusyBox environment</li><li>Adapted commands from systemctl to ps when needed</li><li>Found CUPS daemon running on PID 3898</li></ul><p><strong>Network Verification</strong>: “Check if CUPS is listening on port 631”</p><ul><li>Verified service was properly bound to both IPv4 and IPv6</li><li>Confirmed web interface accessibility</li></ul><p><strong>Printer Status</strong>: “List all configured printers and their status”</p><ul><li>Discovered 6 configured printers including Brother laser, barcode printers, and a virtual PDF printer</li><li>All were idle and properly enabled</li><li>Identified the root cause wasn’t printer configuration but a different service dependency</li></ul><p><strong>The Result That’s Causing Arguments:</strong> What traditional DevOps would schedule as a 2-hour maintenance window with multiple team members was completed in 120 seconds by one person using conversational AI.</p><p><strong>The uncomfortable question this raises:</strong> If critical infrastructure debugging can be this fast and simple, what does that say about our current “enterprise-grade” processes?</p><h3>Why This Is Sparking Important Conversations</h3><p><strong>The Pro-Enterprise Perspective:</strong> “This bypasses essential governance, security reviews, and change management processes that prevent outages.”</p><p><strong>The Pro-Simplicity Perspective:</strong><br> “Those processes are often bureaucratic overhead that slows down simple fixes and creates more problems than they solve.”</p><p><strong>The Reality:</strong> Both sides have valid points, but here’s what’s becoming clear: Most “enterprise processes” were created to compensate for tools that were never designed for modern infrastructure needs.</p><h3>The Technical Truth That Makes People Uncomfortable</h3><p><strong>Your SSH Config Already Knows Everything:</strong></p><pre># Your existing SSH config works as-is - no migration needed<br>Host production-server<br>  HostName prod.company.com<br>  User deploy<br>  IdentityFile ~/.ssh/prod_key</pre><pre>Host iot-device-*<br>  HostName %h.local<br>  User root<br>  Port 2222</pre><p>The SSH MCP server proves that your existing setup is already more sophisticated than most “enterprise solutions.”</p><h3>File Operations</h3><ul><li><strong>Single files</strong>: ssh_upload_file, ssh_download_file</li><li><strong>Bulk operations</strong>: ssh_bulk_transfer with tar streaming</li><li><strong>Editing</strong>: ssh_edit_file with pattern matching and backups</li><li><strong>Management</strong>: ssh_rewrite_file, ssh_append_to_file</li></ul><h3>Command Execution</h3><ul><li><strong>Simple commands</strong>: ssh_execute_command</li><li><strong>Complex scripts</strong>: ssh_execute_script</li><li><strong>Multi-line operations</strong>: Full bash/shell script support</li></ul><h3>Security Controls</h3><ul><li>Allowlist/blocklist hosts from your SSH config</li><li>Filter dangerous commands</li><li>Audit trail of all operations</li><li>No additional authentication required</li></ul><h3>Getting Started</h3><h3>Installation</h3><pre>git clone https://github.com/dgoo2308/ssh-mcp-server<br>cd ssh-mcp-server<br>npm install</pre><h3>Configuration</h3><p>The server automatically reads your ~/.ssh/config and discovers available hosts. No additional configuration needed for basic operations.</p><h3>Usage with Claude Desktop</h3><p>Add to your Claude Desktop MCP configuration:</p><pre>{<br>  &quot;mcpServers&quot;: {<br>    &quot;ssh-server&quot;: {<br>      &quot;command&quot;: &quot;node&quot;,<br>      &quot;args&quot;: [&quot;/path/to/ssh-mcp-server/index.js&quot;]<br>    }<br>  }<br>}</pre><h3>Use Cases That Transform Your Workflow</h3><h3>🚀 Rapid Deployment</h3><p>“Deploy the latest version of my app to all staging servers”</p><ul><li>Automatically uploads code to multiple hosts</li><li>Runs build scripts</li><li>Restarts services</li><li>Verifies deployment success</li></ul><h3>🔧 Configuration Management</h3><p>“Update the database connection string across all production servers”</p><ul><li>Locates configuration files</li><li>Makes precise edits with backups</li><li>Validates syntax</li><li>Restarts affected services</li></ul><h3>📊 System Monitoring</h3><p>“Check disk space and memory usage across all IoT devices”</p><ul><li>Executes commands on multiple hosts</li><li>Aggregates results</li><li>Identifies potential issues</li><li>Suggests corrective actions</li></ul><h3>🐛 Debugging</h3><p>“Download all log files from the last hour and check for errors”</p><ul><li>Transfers log files from multiple sources</li><li>Searches for error patterns</li><li>Correlates events across systems</li><li>Provides analysis and recommendations</li></ul><h3>The Uncomfortable Questions This Tool Raises</h3><ol><li><strong>If infrastructure management can be this simple, why do we need complex orchestration platforms for basic tasks</strong></li><li><strong>Are we over-engineering solutions to justify expensive enterprise tools and consulting fees?</strong></li><li><strong>How much developer productivity are we sacrificing for “process” that adds minimal value?</strong></li><li><strong>Why are we treating every server interaction like it needs government-level approval workflows?</strong></li></ol><p>These aren’t just technical questions — they’re challenging fundamental assumptions about how the industry operates.</p><h3>What This Means for Your Career (The Part Nobody Talks About)</h3><p><strong>If you’re a developer:</strong> This tool gives you superpowers that make you less dependent on DevOps teams for simple tasks. Some will see this as empowering; others might see it as threatening established hierarchies.</p><p><strong>If you’re in DevOps:</strong> This either validates your expertise (you can focus on truly complex problems instead of file transfers) or threatens your job security (depending on how much of your role is process overhead vs. real technical value).</p><p><strong>If you’re a manager:</strong> You now have to question whether all those expensive enterprise tools and lengthy processes are actually necessary, or if simpler solutions deliver better results.</p><p><strong>The industry shift:</strong> We’re moving from “infrastructure as bureaucracy” back to “infrastructure as craft.”</p><h3>The Performance Numbers That Silence Critics</h3><p>Traditional approaches to file transfers and remote operations often involve multiple manual steps:</p><pre># Old way<br>scp -r ./my-project user@server:/opt/<br>ssh user@server &quot;cd /opt/my-project &amp;&amp; npm install&quot;<br>ssh user@server &quot;systemctl restart my-app&quot;<br>ssh user@server &quot;tail -f /var/log/my-app.log&quot;</pre><p>With the SSH MCP Server:</p><pre>&quot;Deploy my project to the production server and show me the startup logs&quot;</pre><p><strong>Real Performance Numbers That Embarrass Enterprise Tools:</strong></p><ul><li>Bulk file transfers: &lt;1 second for typical projects (vs. 5+ minutes for some CI/CD pipelines)</li><li>Configuration edits: ~200ms with automatic backups (vs. 30+ minute approval workflows)</li><li>Multi-host operations: Parallel execution across unlimited hosts (vs. queued job systems)</li><li>Zero setup time: Uses your existing SSH configuration (vs. weeks of platform onboarding)</li></ul><p><strong>The uncomfortable truth:</strong> These numbers expose how much time we waste with “process.”</p><h3>Open Source and Growing</h3><p>The SSH MCP Server is completely open source and available on <a href="https://github.com/dgoo2308/ssh-mcp-server">GitHub</a>. The project welcomes contributions and feature requests from the community.</p><p>Whether you’re managing a single VPS or orchestrating hundreds of IoT devices, this tool adapts to your scale and workflow. It’s not just about automation — it’s about intelligent automation that understands context and provides safety guardrails.</p><h3>The Bottom Line (That Will Make You Rethink Everything)</h3><p>The SSH MCP Server isn’t just a tool — it’s proof that much of what we consider “necessary complexity” in modern infrastructure is actually just accumulated technical debt disguised as best practices.</p><p><strong>The controversial conclusion:</strong> Maybe the problem isn’t that infrastructure is inherently complex. Maybe the problem is that we’ve been using the wrong tools and justifying it with processes.</p><p>Remote development doesn’t have to be painful. Your existing SSH infrastructure is already more powerful than most “enterprise solutions.” And sometimes, the simplest approach is the most revolutionary one.</p><p><strong>Try it and decide for yourself:</strong> Are you ready to question everything you’ve been told about “proper” infrastructure management?</p><p><em>The SSH MCP Server is available at </em><a href="https://github.com/dgoo2308/ssh-mcp-server"><em>github.com/dgoo2308/ssh-mcp-server</em></a><em>. Star it if you’re ready to challenge the status quo.</em></p><p><strong>Warning:</strong> Using this tool may cause you to question expensive enterprise software purchases and lengthy approval processes.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a46f03e6a07d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Control Your Kodi Media Center with Claude Desktop: A Friday Night Game-Changer]]></title>
            <link>https://medium.com/@danny.goossen_455/control-your-kodi-media-center-with-claude-desktop-a-friday-night-game-changer-7a01c6272ed5?source=rss-be7d5eb443a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/7a01c6272ed5</guid>
            <category><![CDATA[kodi]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[mcp-server]]></category>
            <dc:creator><![CDATA[Danny Goossen]]></dc:creator>
            <pubDate>Mon, 28 Jul 2025 12:41:52 GMT</pubDate>
            <atom:updated>2025-07-28T12:41:52.744Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*N1mOd_hMJo8_UOLd2fdtQQ.png" /><figcaption>Friday night made simple: ‘Show me action movies from recent years’ and you’re seconds away from the perfect movie night</figcaption></figure><p><em>“Hey Claude, find me a good action movie for tonight” or “Play the next episode of Breaking Bad I haven’t watched yet”</em></p><p>If you’re a Kodi user who’s tired of manually browsing through your media library or wondering which episode you left off on, I’ve built something that might interest you: a <strong>Model Context Protocol (MCP) server</strong> that lets Claude Desktop control your Kodi media center with natural language.</p><h3>What This Solves</h3><p>Picture this: It’s Friday evening, you’re settled on the couch, and you want to watch something good. Instead of:</p><ol><li>Opening Kodi</li><li>Browsing through hundreds of movies</li><li>Trying to remember what you’ve already watched</li><li>Manually searching for the next episode of your current show</li></ol><p>You simply ask Claude Desktop: <em>“Play me a good sci-fi movie from 2022”</em> or <em>“Continue watching Murderbot where I left off”</em> and it happens automatically.</p><h3>Real-World Examples</h3><p>Here’s what you can actually do with this setup:</p><p><strong>Friday Night Movie Discovery:</strong></p><ul><li><em>“Show me action movies from the last 3 years”</em></li><li><em>“Do I have Inception in my library?”</em></li><li><em>“Play The Matrix”</em></li></ul><p><strong>Smart TV Show Management:</strong></p><ul><li><em>“Play the next episode of Breaking Bad I haven’t seen”</em></li><li><em>“Scan the Murderbot folder for new episodes and play where I left off”</em></li><li><em>“What’s the last episode I watched of Game of Thrones?”</em></li></ul><p><strong>Library Management:</strong></p><ul><li><em>“How many movies do I have?”</em></li><li><em>“What did I add to my library recently?”</em></li><li><em>“Scan my library for new content”</em></li></ul><p>The server automatically tracks your watch status and can even scan specific TV show directories instead of your entire library (much faster!).</p><h3>Quick Setup</h3><p>The setup is straightforward if you’re comfortable with basic command line operations:</p><ol><li><strong>Clone and Install:</strong></li></ol><pre>git clone https://github.com/dgoo2308/kodi-mcp-server.git<br>cd kodi-mcp-server<br>python -m venv venv<br>source venv/bin/activate<br>pip install -r requirements.txt</pre><ol><li><strong>Configure Your Kodi Connection:</strong></li></ol><pre>export KODI_HOST=&quot;192.168.1.71&quot;  # Your Kodi IP<br>export KODI_USERNAME=&quot;kodi&quot;       # Your Kodi username<br>export KODI_PASSWORD=&quot;kodi&quot;       # Your Kodi password</pre><ol><li><strong>Add to Claude Desktop Config:</strong> Add this to your Claude Desktop MCP servers configuration:</li></ol><pre>{<br>  &quot;mcpServers&quot;: {<br>    &quot;kodi&quot;: {<br>      &quot;command&quot;: &quot;/path/to/kodi-mcp-server/venv/bin/python&quot;,<br>      &quot;args&quot;: [&quot;/path/to/kodi-mcp-server/src/server.py&quot;],<br>      &quot;env&quot;: {<br>        &quot;KODI_HOST&quot;: &quot;192.168.1.71&quot;,<br>        &quot;KODI_USERNAME&quot;: &quot;kodi&quot;,<br>        &quot;KODI_PASSWORD&quot;: &quot;kodi&quot;<br>      }<br>    }<br>  }<br>}</pre><p>That’s it! Restart Claude Desktop and you’re ready to go.</p><h3>Key Features That Make It Useful</h3><p><strong>Smart Watch Tracking (v1.2.0):</strong> The server automatically knows what you’ve watched and can play the next unwatched episode of any show.</p><p><strong>Targeted Scanning:</strong> Instead of scanning your entire media library (which takes forever), it can scan just specific TV show directories when new episodes arrive.</p><p><strong>Fuzzy Matching:</strong> Don’t worry about exact titles. “Play the matrix” works just as well as “Play The Matrix (1999)”.</p><p><strong>Remote Access:</strong> Built-in SOCKS5 proxy support means you can control your home Kodi from anywhere via SSH tunnel.</p><p><strong>Integration Ready:</strong> Perfect companion for automated media management workflows (checking if content exists before downloading, etc.).</p><h3>The Friday Night Test</h3><p>Here’s the real test: You come home Friday night, exhausted from the week. Instead of spending 20 minutes browsing Netflix catalogs or manually navigating Kodi menus, you simply tell Claude:</p><p><em>“Find me something good to watch — maybe a thriller I haven’t seen yet”</em></p><p>Claude searches your library, suggests a few options, and with a simple <em>“Play the second one”</em>, you’re watching within seconds. No remote hunting, no menu navigation, no decision fatigue.</p><p>For TV shows, it’s even better: <em>“Continue watching Severance”</em> and you’re immediately at the exact episode where you left off.</p><h3>Why MCP?</h3><p>The Model Context Protocol makes this integration seamless. Instead of building yet another app or web interface, it extends Claude Desktop’s capabilities directly. Claude can now “see” your media library and control playback naturally, as if media management were a built-in feature.</p><p>This is particularly powerful when combined with other MCP servers — imagine Claude managing your downloads via Transmission, organizing files, and updating your Kodi library, all from natural conversation.</p><h3>Try It Yourself</h3><p>The server is open source and available on GitHub. It’s designed to be practical and reliable — I use it daily for exactly the scenarios described above.</p><p><strong>Repository:</strong> <a href="https://github.com/dgoo2308/kodi-mcp-server">https://github.com/dgoo2308/kodi-mcp-server</a></p><p>Whether you’re a home theater enthusiast or just someone who wants to spend less time searching for something to watch, this tool can genuinely improve your media consumption experience. The Friday night test speaks for itself.</p><p><em>Built something cool with MCP? I’d love to hear about it. The protocol’s potential for practical automation tools is just getting started.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7a01c6272ed5" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>