Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save aruruka/8d52dcd78b4bf6e42e3526aa0094f993 to your computer and use it in GitHub Desktop.
Save aruruka/8d52dcd78b4bf6e42e3526aa0094f993 to your computer and use it in GitHub Desktop.
Pitfalls of running an npx-based MCP server on Windows.

Pitfalls of running an npx-based MCP server on Windows

I've been seriously trying to use MCP server for the past 2 days. Today, I successfully completed a small demo task using the coding agent plugin - Roo Code on VS Code. Here are some specific steps and pitfalls you're likely to encounter.

  1. I added 2 MCP Servers in Roo Code, namely:
  1. Initially, the "Filesystem" MCP server wouldn't run because I was using VS Code in Windows with PowerShell. If you're also a Windows user, you'll likely encounter errors running Node.js-based MCP servers. You can refer to the following two posts to resolve the issue:

The above two posts should also apply to other Node.js-based MCP servers. 3. What I specifically did with the MCP server:

  • First, I told Roo: Use everything-search to help me find out which videos are in the "Downloads" folder.
  • Roo returned the results it found.
  • Then I told Roo: Help me use the MCP server - filesystem to group the video files and create corresponding folders according to the requirements of "...(detailed description)...", and move the videos of each group into the corresponding folders.
  • Roo spent a few minutes helping me complete the above tasks.
  1. The LLM I used was Claude-3.7-Sonnet, and the provider was Requesty. It cost me $5 in just a few minutes... I dare not use Claude anymore when using MCP in the future.
    1742661994538
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment