Filesystem MCP Server
Gives agents controlled read and write access to files in directories you allow.
Claude Desktop
{"mcpServers":{"filesystem":{"command":"npx","args":["-y","@modelcontextprotocol/server-filesystem","/Users/username/Desktop","/path/to/other/allowed/dir"]}}}
Copilot (VS Code)
{"servers":{"filesystem":{"command":"npx","args":["-y","@modelcontextprotocol/server-filesystem","${workspaceFolder}"]}}}
Commands and configuration as given in the server’s documentation (Documentation). Replace placeholders such as API keys with your own values.
Filesystem MCP Server is a reference server from the MCP project for reading and writing local files.
The Filesystem MCP server gives agents controlled read and write access to files in directories you allow. It is one of the Model Context Protocol reference servers, MIT-licensed, and runs locally over stdio with no authentication. Access is limited to directories passed as arguments or provided dynamically through MCP Roots. It runs through npx or the mcp/filesystem Docker image, and the configuration below covers Claude Desktop and Copilot in VS Code.
It reads and writes files, creates, lists and deletes directories, moves files, searches, and returns file metadata.
Questions
What can the Filesystem MCP server do?
How do I limit which folders the Filesystem MCP server can reach?
Does the Filesystem MCP server need authentication?
Can I run the Filesystem MCP server in Docker?
Sources
Checked October 2, 2026.
Reference servers
View all- Fetch MCP ServerFetches a URL and converts the page to markdown for the model, in chunks.Official
- Git MCP ServerLets agents read, search and change local Git repositories.Official
- Memory MCP ServerGives the model persistent memory as a local knowledge graph of entities, relations and observations.Official
- Sequential Thinking MCP ServerGives the model a structured tool for step-by-step reasoning that it can revise and branch.Official
