<?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: Amina Alam</title>
    <description>The latest articles on DEV Community by Amina Alam (@aminaalamchughtai).</description>
    <link>https://dev.to/aminaalamchughtai</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%2F4202776%2F93882704-3a95-42b3-8520-ccf38bfc1b8a.png</url>
      <title>DEV Community: Amina Alam</title>
      <link>https://dev.to/aminaalamchughtai</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/aminaalamchughtai"/>
    <language>en</language>
    <item>
      <title>I Installed an MCP Server and Tested It: Here's What Happened</title>
      <dc:creator>Amina Alam</dc:creator>
      <pubDate>Sun, 25 Oct 2026 11:11:05 +0000</pubDate>
      <link>https://dev.to/aminaalamchughtai/i-installed-an-mcp-server-and-tested-it-heres-what-happened-cd0</link>
      <guid>https://dev.to/aminaalamchughtai/i-installed-an-mcp-server-and-tested-it-heres-what-happened-cd0</guid>
      <description>&lt;p&gt;&lt;strong&gt;Tested on:&lt;/strong&gt; Windows 11 (HP ZBook Firefly), Node.js v24.22.1 (LTS), npm 11.19.1, MCP Inspector v2.12.0, official filesystem MCP server, 23 October 2026.&lt;/p&gt;

&lt;p&gt;MCP (Model Context Protocol) is an open standard that lets AI apps connect to tools and data in a common format. I installed the official filesystem MCP server, connected to it using the MCP Inspector, and ran two of its tools against a test folder. It worked on my second attempt. The first attempt failed on Windows, and the fix was one small change to the command.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;What You Need&lt;/strong&gt;
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Windows with PowerShell&lt;/li&gt;
&lt;li&gt;Node.js (LTS version)&lt;/li&gt;
&lt;li&gt;A test folder with a few harmless files&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Step 1: Install Node.js and Check It&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;I installed Node.js with Winget:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;winget install OpenJS.NodeJS.LTS&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;After closing and reopening PowerShell, I checked the versions:&lt;br&gt;
&lt;code&gt;node --version&lt;/code&gt;&lt;br&gt;
&lt;code&gt;npm --version&lt;/code&gt;&lt;br&gt;
My output was v24.22.1 for Node and 11.19.1 for npm.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;First Problem: npm Was Blocked&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;node --version worked, but npm --version showed a red error saying running scripts is disabled on this system. Windows PowerShell blocks script files by default, and npm uses one. I fixed it by running:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;Set-ExecutionPolicy -Scope CurrentUser RemoteSigned&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;This changes the setting only for my user account. After that, npm --version printed 11.19.1. Using npm.cmd instead of npm should also work, though I didn’t try it.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Step 2: Create a Safe Test Folder&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;I made a folder called mcp-test on my Desktop with 3 small text files (&lt;code&gt;a.txt&lt;/code&gt;, &lt;code&gt;b.txt&lt;/code&gt;, &lt;code&gt;notes.txt&lt;/code&gt;). I used a test folder on purpose: an MCP server can only reach the folders you give it, so I did not want it pointed at anything private.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Step 3: Start the Inspector with the Filesystem Server&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;The MCP Inspector is a browser tool for testing MCP servers. This command starts it and launches the filesystem server for my test folder:&lt;br&gt;
&lt;code&gt;npx.cmd -y @modelcontextprotocol/inspector npx.cmd -y @modelcontextprotocol/server-filesystem "C:\Users\hp\Desktop\mcp-test"&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbobpjsf0mry5r9u5gh89.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbobpjsf0mry5r9u5gh89.png" alt="Terminal output after starting MCP Inspector with the filesystem server" width="799" height="346"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The first run downloaded packages, which took a minute or two. The terminal then printed a local address starting with 127.0.0.1, and the Inspector opened in Chrome. The page showed version v2.12.0.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Second Problem: The First Connection Failed&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;My first attempt used plain npx for the inner command, and clicking Connect in the Inspector showed "Failed". On Windows, npx can fail when another program launches it. I closed PowerShell, ran the command again with npx.cmd in both places, and it connected.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Step 4: List the Tools&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Once connected, the Inspector showed a green status dot and the server name secure-filesystem-server. Under the Tools tab, it listed 14 tools, including &lt;code&gt;read_file&lt;/code&gt;, &lt;code&gt;read_text_file&lt;/code&gt;, &lt;code&gt;list_directory&lt;/code&gt;, and &lt;code&gt;read_media_file&lt;/code&gt;. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqiqk8grvrwzgjwcch6jq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqiqk8grvrwzgjwcch6jq.png" alt="MCP Inspector showing 14 tools and the tools/list message" width="799" height="343"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The right-hand panel showed the first MCP message: a tools/list request from the client to the server, status OK, completed in 115 ms. This is how a client discovers what a server can do.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Step 5: Run a Tool&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;I ran list_directory on my test folder. The server returned the three files I had created: a.txt, b.txt, and notes.txt. The Inspector showed the result as plain text and as structured output, and the message panel logged the request as a tools/call for list_directory, completed in 45 ms with status OK.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2mvnjn327jsshj419mmz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2mvnjn327jsshj419mmz.png" alt="MCP Inspector showing list_directory results with a.txt, b.txt and notes.txt" width="800" height="348"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I also chose read_text_file and entered the path to one of my test files, C:\Users\hp\Desktop\mcp-test\a.txt. The tool has two optional fields, head and tail, which limit the result to the first or last N lines.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Third Problem: Empty Result&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;My first run returned nothing. Either the head/tail fields or the empty file caused this. After adding text to one of the files, the tool returned the file's text: "This is a text file".&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fcugp16ywnecg885licsg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fcugp16ywnecg885licsg.png" alt="MCP Inspector showing read_text_file result" width="799" height="347"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;What I Learned&lt;/strong&gt;
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;MCP is a request and response conversation. The client asks what tools exist, then calls one, and each step shows up as a message you can inspect.&lt;/li&gt;
&lt;li&gt;Windows adds friction. Script policies and npx versus npx.cmd caused two of my three problems, so it's worth knowing both fixes.&lt;/li&gt;
&lt;li&gt;Access is limited by design. The server only reaches the folder you give it, which is why a test folder is the right way to start.&lt;/li&gt;
&lt;li&gt;Optional fields matter. An empty or zero value in an optional field can look like a broken tool.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Why This Matters for Developers&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;With a server like this, an AI assistant can read project files through a standard interface rather than a custom integration. Testing it in the Inspector first means you can see exactly what a server exposes before connecting it to an AI app.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Next Steps&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Next, I want to connect this server to Claude Desktop and compare what the client shows with what I saw in the Inspector. &lt;/p&gt;

</description>
      <category>ai</category>
      <category>mcp</category>
      <category>node</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
