Learn how to extend Claude Desktop with local MCP servers to enable file system access and other powerful integrations
Open Claude Desktop Settings
Access Developer Settings
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
Configure the Filesystem Server
username
with your actual computer username. The paths listed in the args
array specify which directories the Filesystem Server can access. You can modify these paths or add additional directories as needed."filesystem"
: A friendly name for the server that appears in Claude Desktop"command": "npx"
: Uses Node.js’s npx tool to run the server"-y"
: Automatically confirms the installation of the server package"@modelcontextprotocol/server-filesystem"
: The package name of the Filesystem ServerRestart Claude Desktop
Server not showing up in Claude / hammer icon missing
claude_desktop_config.json
file syntaxclaude_desktop_config.json
are valid and that they are absolute and not relativeusername
as you did in claude_desktop_config.json
) to see if you get any errors:Getting logs from Claude Desktop
~/Library/Logs/Claude
%APPDATA%\Claude\logs
mcp.log
will contain general logging about MCP connections and connection failures.
mcp-server-SERVERNAME.log
will contain error (stderr) logging from the named server.
Tool calls failing silently
None of this is working. What do I do?
ENOENT error and `${APPDATA}` in paths on Windows
${APPDATA}
within a path, you may need to add the expanded value of %APPDATA%
to your env
key in claude_desktop_config.json
:npx
command may continue to fail if you have not installed NPM globally. If NPM is already installed globally, you will find %APPDATA%\npm
exists on your system. If not, you can install NPM globally by running the following command: