MCP Server Studio
Read, write, search and edit files, with access limited to allowed directories or client Roots
Registry name: io.github.modelcontextprotocol/server-filesystem
Add to claude_desktop_config.json:
{
"mcpServers": {
"server-filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/[email protected]",
"<allowed_directory>"
]
}
}
}Run in your terminal:
claude mcp add server-filesystem -- npx -y @modelcontextprotocol/[email protected] '<allowed_directory>'Add to .cursor/mcp.json:
{
"mcpServers": {
"server-filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/[email protected]",
"<allowed_directory>"
]
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"server-filesystem": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/[email protected]",
"<allowed_directory>"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"server-filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/[email protected]",
"<allowed_directory>"
]
}
}
}