By the end of this lesson you will connect a read-only folder server to your agent, check that it is connected, use it on a real file, and fix it when it won't connect.
You need: your coding agent, Node.js 24 or newer, and a folder with one or two files in it · Time: 9 minutes
We will connect the official filesystem server, one of the reference servers kept by the MCP project itself. It lets the agent list and read files in only the folders you name.
Priya will connect the folder where she keeps her kirana stock sheets. Make your own practice folder:
- Create a folder called
kirana-stockin your home folder (on Windows:C:\Users\yourname\kirana-stock). - Put one small CSV in it, for example
stock-nov.csvwith three columns:item,qty,unitand a few rows likeToor dal,8,kgandSugar,25,kg. - Check your Node.js version. This server needs Node.js 24 or newer:
Do it now Ready to connect
Why?The server can only see the folders you hand it. A small practice folder with nothing private in it is the safest place to learn, and if something goes wrong, nothing important is touched.
- Create a folder called
Log in free to read the rest of this lesson
Every lesson is free. A free account unlocks all of them and saves your progress.
Still to come in this lesson:
- Add it in Claude Code
- The same server in Codex, OpenCode and Cursor
- Use it, and watch the approval prompt
- When it won't connect
- Recap