<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: EZsTGB</title>
    <description>The latest articles on DEV Community by EZsTGB (@ezstgb).</description>
    <link>https://dev.to/ezstgb</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4235747%2Fe0a62495-f87d-4693-a459-d83f8cb8def1.png</url>
      <title>DEV Community: EZsTGB</title>
      <link>https://dev.to/ezstgb</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ezstgb"/>
    <language>en</language>
    <item>
      <title>Reading a remote log with Claude Desktop and remotify-mcp</title>
      <dc:creator>EZsTGB</dc:creator>
      <pubDate>Fri, 20 Nov 2026 15:18:29 +0000</pubDate>
      <link>https://dev.to/ezstgb/reading-a-remote-log-with-claude-desktop-and-remotify-mcp-2h6f</link>
      <guid>https://dev.to/ezstgb/reading-a-remote-log-with-claude-desktop-and-remotify-mcp-2h6f</guid>
      <description>&lt;p&gt;I used Claude Desktop to read a small log on another Windows computer. Then we rejected a request to change it and checked what happened when a file was missing.&lt;/p&gt;

&lt;p&gt;My first article covered the setup and an approved &lt;code&gt;pwd&lt;/code&gt; command followed by a rejected &lt;code&gt;date&lt;/code&gt; request (&lt;a href="https://ezstgb.hashnode.dev/remotify-mcp-in-practice-running-remote-commands-between-two-windows-computers" rel="noopener noreferrer"&gt;read the first article&lt;/a&gt;). For this follow-up, we prepared the receiving side again and used supervised mode throughout.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Disclosure: I work on improving remotify-mcp's visibility and have a professional connection to the project. This article reports a functional test performed on November 8, 2026. I used AI assistance during the setup and test.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Reading a file with a known result
&lt;/h2&gt;

&lt;p&gt;We created a separate folder on the receiving computer and checked this eight-line synthetic &lt;code&gt;test.log&lt;/code&gt; directly in its Bash terminal:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;01 INFO Start
02 INFO Settings loaded
03 INFO Ready
04 INFO Job received
05 WARN Retry needed
06 INFO Retry successful
07 INFO Job finished
08 INFO Stop
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;These lines were invented test data. The warning and retry entries did not describe actual events on either computer.&lt;/p&gt;

&lt;p&gt;After retrieving the session details through &lt;code&gt;remote_session_info&lt;/code&gt;, we started the supervised listener on the receiving PC. In the commands below, &lt;code&gt;YOUR_USERNAME&lt;/code&gt; replaces the receiver's Windows username; the actual requests used the full path to our test folder.&lt;/p&gt;

&lt;p&gt;On my own computer, I asked Claude Desktop to send exactly this command through &lt;code&gt;remote_exec&lt;/code&gt; and show the actual output:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;tail -n 5 &lt;span class="s1"&gt;'/c/Users/YOUR_USERNAME/remotify-naploproba-20261108/test.log'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;There were two approval steps. I clicked &lt;strong&gt;Allow once&lt;/strong&gt; in Claude to permit use of the MCP tool. At the receiving computer's &lt;strong&gt;Run? [y/N]&lt;/strong&gt; prompt, we entered &lt;code&gt;y&lt;/code&gt; and pressed Enter to permit execution.&lt;/p&gt;

&lt;p&gt;Claude returned:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;04 INFO Job received
05 WARN Retry needed
06 INFO Retry successful
07 INFO Job finished
08 INFO Stop
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The response matched lines 4–8 of the file we had already checked. The listener also reported 101 bytes returned. Comparing the text with the known input gave us a direct check of this remote read.&lt;/p&gt;

&lt;h2&gt;
  
  
  Rejecting a write and checking the file
&lt;/h2&gt;

&lt;p&gt;Next, we tested a command that would append a recognizable ninth line. The plan was to reject it on the receiver, then read the file again to check its contents.&lt;/p&gt;

&lt;p&gt;The proposed command was:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;printf&lt;/span&gt; &lt;span class="s1"&gt;'%s\n'&lt;/span&gt; &lt;span class="s1"&gt;'09 INFO Denied write test'&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'/c/Users/YOUR_USERNAME/remotify-naploproba-20261108/test.log'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;We allowed tool use in Claude, then answered &lt;code&gt;n&lt;/code&gt; at the receiver's execution prompt. Claude eventually displayed:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[declined by operator]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I clicked &lt;strong&gt;Allow once&lt;/strong&gt; in Claude Desktop about five times before any activity was visible on the receiving computer. The chat transcript does not show whether those prompts came from one tool call or several, so I could not determine why they appeared.&lt;/p&gt;

&lt;p&gt;We then approved a separate read through &lt;code&gt;remote_exec&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;cat &lt;span class="s1"&gt;'/c/Users/YOUR_USERNAME/remotify-naploproba-20261108/test.log'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That returned the original eight lines. The proposed &lt;code&gt;09 INFO Denied write test&lt;/code&gt; entry was absent, and the existing content matched the initial file. In this test, the rejection response and the subsequent file check agreed.&lt;/p&gt;

&lt;h2&gt;
  
  
  Returning a missing-file error
&lt;/h2&gt;

&lt;p&gt;The final check targeted &lt;code&gt;missing-test.log&lt;/code&gt;, which we had deliberately not created in the test folder:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;tail -n 5 &lt;span class="s1"&gt;'/c/Users/YOUR_USERNAME/remotify-naploproba-20261108/missing-test.log'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;We approved the read. Claude displayed the following error, with the username anonymized here:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;tail: cannot open '/c/Users/YOUR_USERNAME/remotify-naploproba-20261108/missing-test.log' for reading: No such file or directory

[remotify: exit status 1]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For this check, the conversation showed one tool call followed by the error. Claude did not retry or attempt to create the file. The failed read and the operator rejection therefore produced distinct responses in the conversation.&lt;/p&gt;

&lt;p&gt;These checks covered one Windows-to-Windows setup, supervised mode and synthetic data. They show the outcomes of those specific requests; they do not establish general reliability or production security. The &lt;a href="https://github.com/onlsol/relay.remotify.run#security-model" rel="noopener noreferrer"&gt;project documentation&lt;/a&gt; explains that commands run with the permissions of the account that starts the listener and that the relay stores session commands and results. Our separate test folder did not restrict those permissions.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Receiving environment: Windows, Bash 5.3.15(2), curl 8.23.0. Curl displayed a debug-build warning during the version check. Session keys are omitted, and file paths in this article use a username placeholder.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;If you use MCP tools for remote work, how does your setup distinguish an operator rejection from a command failure? I would also be interested in experiences with repeated approval requests and how you investigated them.&lt;/p&gt;

</description>
      <category>claude</category>
      <category>opensource</category>
      <category>mcp</category>
      <category>windows</category>
    </item>
  </channel>
</rss>
