Get your API key

Lesson 2 of 5

Add your first server

Connect a read-only folder server in Claude Code, Codex, OpenCode or Cursor, check it, use it, and fix it when it will not connect.

9 min Log in to open
One step at a time, like flipping pages.

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

  1. 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:

    1. Create a folder called kirana-stock in your home folder (on Windows: C:\Users\yourname\kirana-stock).
    2. Put one small CSV in it, for example stock-nov.csv with three columns: item,qty,unit and a few rows like Toor dal,8,kg and Sugar,25,kg.
    3. 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.

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:

  1. Add it in Claude Code
  2. The same server in Codex, OpenCode and Cursor
  3. Use it, and watch the approval prompt
  4. When it won't connect
  5. Recap