Local Filesystem
OFFICIAL · Model Context ProtocolNO AUTHMITSecurely read, write, list, and search files and directories on your local machine with user-approved path permissions.
Setup Guide
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/path/to/allowed/directory"
]
}
}
}Tools
read_file
Read the complete contents of a file. Only paths within allowed directories can be read.
write_file
Create a new file or completely overwrite an existing file with content.
list_dir
List the contents of a directory, returning subdirectories and files.
search_grep
Search for specific text patterns recursively within files in a directory (similar to ripgrep).
Compatibility
About
Overview
The Local Filesystem MCP Server provides your AI agent with a safe and secure interface to interact with your computer's local directory structure. Instead of giving the AI unrestricted access to your entire disk, this server enforces explicit path scoping. You must provide one or more directory paths as arguments during configuration; the agent will only be allowed to view and write to directories inside those paths.
Key Features
- Explicit Directory Scoping: Only files within the paths specified in your setup configuration can be read or modified.
- Text Search (
search_grep): A high-performance text-pattern search utility designed to find definitions, strings, and logs recursively. - Workspace Awareness: By exposing the root path of your project, the agent can understand the full context of codebases.
Install and Troubleshooting Intent Coverage
Developer-install and troubleshooting intent for community MCP server listings.
install mcp server / mcp server setup guide
mcp json config example / vscode mcp setup
mcp server not working / mcp tools not showing
mcp server compatibility matrix / cursor vs vscode mcp compatibility
mcp server monetization options / convert community mcp server to paid listing
Related Setup, Debug, and Learning Links
CLI installation guide
Install baseline for all IDEs before listing-specific setup.
Using servers guide
Covers runtime usage patterns and auth flow.
Cursor setup walkthrough
High-intent setup path for developer troubleshooting journeys.
Troubleshooting: server not working
Common failure modes for install and runtime issues.
Troubleshooting: tools not showing
Covers discovery/listing failures across major IDEs.
Registry listing: github
Maps this community reference to install-ready hosted listing.
Related explore entry: SQLite
Keeps same-intent users on matched category and tool shape.
Related explore entry: Filesystem MCP Server
Keeps same-intent users on matched category and tool shape.
Install this server instantly with the AgenticMarket CLI — zero config, auto-detects your IDE.
$npx agenticmarket install filesystemSQLite
Give your AI agent direct read and write access to SQLite databases — query tables, run analysis, insert records, and explore schemas conversationally.
Filesystem MCP Server
Give your AI assistant read and write access to local files and directories. The most-used MCP server — lets Claude, Cursor, and other AI tools work with your filesystem directly.
AgenticMarket