Let Claude Desktop read one folder (MCP config)
An example MCP configuration that gives Claude Desktop access to a single folder on your computer, and nothing else.
- File format checked automatically
- Not installed and tested by us yet
What it is
MCP (Model Context Protocol) lets Claude use tools on your computer. This config runs the official filesystem server (@modelcontextprotocol/server-filesystem on npm) limited to one folder you choose. Claude can then read, create and edit files in that folder only. Use a folder made for this, not your whole Documents folder.
How to install
- Install Node.js (the LTS version) from nodejs.org. This provides
npx. - Create a folder for Claude to use, for example
Documents/AI-Shared. - In Claude Desktop, open Settings → Developer → Edit Config. This opens
claude_desktop_config.json. - Paste the config for your system (Mac or Windows) and replace
YOUR-NAMEand the folder path with your own. - Save the file, then quit Claude Desktop completely and open it again.
- Test it: ask Claude "What files are in my AI-Shared folder?"