New Tool Radar

AI Agents & Automation

How to Connect the MCP Filesystem Server to Claude Desktop

Add the MCP filesystem server to Claude Desktop's configuration so Claude can read and search files in folders you choose.

Schematic diagram with three steps: Check Node.js version, Edit the config file, then Restart and confirm.

The Model Context Protocol is the open standard that connects AI apps to the systems around them, and the filesystem server is the usual first one: it lets Claude read, create and search files in folders you choose. Claude Desktop reads its MCP configuration from a single JSON file.

Before you start

You need Claude Desktop installed and Node.js on the system, because local servers launch through npx. Check the version with node –version first. Pick one or two folders for the server to see, and do not point it at your whole home folder.

Add the server to the Claude Desktop config file

Find the config file: on macOS it is ~/Library/Application Support/Claude/claude_desktop_config.json, and on Windows it is %APPDATA%/Claude/claude_desktop_config.json. Add an mcpServers entry named filesystem that runs npx -y @modelcontextprotocol/server-filesystem with the folders you chose. Add –read-only if the server should never change a file.

Restart Claude Desktop and confirm the server appears

Quit Claude Desktop completely, including the tray icon, and restart it. Open the MCP section of settings and check that filesystem is listed. Ask Claude to list the files in one of the folders: it should only see the folders you gave it. If the server is missing, run the exact npx command in a terminal to see the error.

Worked example: Filesystem server for a fictional writer

Maple Writer is a fictional freelance writer. Her Claude Desktop filesystem server sees two folders. The table shows the setup.

Part Value
Server name filesystem
Command npx -y @modelcontextprotocol/server-filesystem
Folders Two folders: drafts and research
Mode Read-only

Expected result (UNTESTED): after restart, the settings show the filesystem server, and Claude lists only the files in the two chosen folders. We checked the MCP setup guides, which describe the config file paths and the restart step, but we did not edit a Claude Desktop config on this machine.

Limits

A local MCP server runs as a child process of your user account: it inherits your environment variables and can read anything your account can read, so only point it at folders you are willing to share. Every action needs your approval by default, so do not approve a write you did not ask for.

Sources

See all