Filesystem
OfficialSecure local file and directory operations for AI agents.
Filesystem gives an AI client a bounded workspace on your machine. You choose the directories it can access, then the server exposes structured file operations so the agent can inspect and change real project files without receiving unrestricted access to the rest of the system.
Step-by-step walkthrough: Set up Filesystem MCP in Cursor safely.
Tools
Selected capabilities exposed to a connected AI client.
read_fileRead file contents from the permitted workspace or repository.
read_multiple_filesA callable capability exposed by this MCP server.
write_fileWrite content to a file inside the permitted workspace.
list_directoryInspect or manage directories inside the approved workspace.
move_fileA callable capability exposed by this MCP server.
search_filesSearch the connected source for relevant records or content.
Bowora highlights 6 of 14 tools. The source repository contains the complete, current tool schema.
Setup and access
Check the connection method, access level, and compatible clients before enabling the server.
npx -y @modelcontextprotocol/server-filesystem /path/to/allowed/directory- 1Choose the project directories the agent may access.
- 2Add the server command and approved paths to your MCP client.
- 3Confirm the agent can only see the intended workspace before allowing writes.
- Transport
- stdio
- Connection
- Local stdio MCP
- Authentication
- No account authentication
- Access
- Read and write only within the approved directories
- Registry status
- Active
- Last updated
- Jun 28, 2026
Compatible clients
Connects to local files and directories selected by the user. Use the least-privileged credentials and access scope that support your workflow.
Runs locally and accesses only the paths you explicitly pass to the server. Do not add home directories or secrets folders unless required.
Availability: Open source; no hosted account is required.
Good for
- Review and update files inside an approved project folder
- Search a directory tree and organize files
- Give a local agent persistent access to working documents
FAQ
- What does Filesystem MCP do?
- Filesystem gives an AI client a bounded workspace on your machine. You choose the directories it can access, then the server exposes structured file operations so the agent can inspect and change real project files without receiving unrestricted access to the rest of the system.
- How do I connect Filesystem MCP?
- Add it to your MCP client over stdio using: npx -y @modelcontextprotocol/server-filesystem /path/to/allowed/directory
- Does Filesystem MCP require authentication?
- No account authentication
- Any security caveats for Filesystem?
- This server can read and write files inside the paths you approve. Start with one project directory and avoid granting access to credentials or home folders.
- Where is the Filesystem source?
- Tools highlighted here include read_file, read_multiple_files, write_file, list_directory (14 total). Source and updates: https://github.com/modelcontextprotocol/servers/tree/main/src/filesystem