-
Install Node.js
Download the latest LTS version from Node.js.
Verify installation:node --version npm --version
-
Install Python
macOS comes with Python pre-installed. Check your version to ensure Python is installed and up to datepython3 --version
If outdated, update using Homebrew:
brew install python
-
Install Homebrew (if not installed):
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Download the Claude Desktop app from Claude.ai.
- Open Claude Desktop, then go to the app menu (Claude > Check for Updates) to ensure it's up to date.
-
Open Claude Desktop settings:
On macOS, go to Claude > Preferences > Developer > Edit Config.
-
This opens or creates a configuration file at:
~/Library/Application Support/Claude/claude_desktop_config.json
-
Add the following example MCP server configuration:
{ "mcpServers": { "filesystem": { "command": "npx", "args": [ "-y", "@modelcontextprotocol/server-filesystem", "/Users/your_username/Desktop", "/Users/your_username/Downloads" ] } } }
Replace
/Users/your_username/...
with actual paths to directories you want Claude to access. -
Save the file and restart Claude Desktop.
This command launches the Filesystem MCP Server. Once running, Claude can interact with your specified folders.
- Test the server directly in your terminal:
npx -y @modelcontextprotocol/server-filesystem /Users/your_username/Desktop /Users/your_username/Downloads
- Interact with Claude Desktop to read/write files.
Example Queries:- "What files are in my Desktop folder?"
- "Move all images from my Desktop to a new folder named 'Images'."
- "Write a note and save it as note.txt on my Desktop."
- Check logs:
tail -n 20 -f ~/Library/Logs/Claude/mcp*.log
- Ensure absolute paths in
claude_desktop_config.json
. For example, use/Users/jane/Desktop
instead of./Desktop
to avoid configuration errors..
- Explore More Servers:
Check the MCP Servers Repository for more options like Git, Slack, and PostgreSQL servers.