Install
npx -y @modelcontextprotocol/server-filesystem /path/to/dirTransports
Tools exposed
8
§ Add to your AI client
Drop this into your client's MCP config — claude_desktop_config.json for Claude Desktop, or .cursor/mcp.json for Cursor — then restart the app. Replace placeholder paths and credentials with your own.
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/path/to/dir"
]
}
}
}§ About
The reference MCP server for filesystem access. Lets an AI agent read directory trees, open files, search by pattern, and (with explicit allowlists) write or move files. The most common starting point for any MCP integration — every coding-adjacent agent uses this or a fork.
§ Features
§ Use cases
§ Related MCP servers