Filesystem MCP server
Read and write local files, safely scoped. A reference server that lets an assistant read and edit files in directories you allow. It's the simplest way to give a model controlled access to a project on disk.
Category
Dev toolsMaintained by
OfficialProtocol
Model Context ProtocolSource
modelcontextprotocol/servers
Dev toolsMaintained by
OfficialProtocol
Model Context ProtocolSource
modelcontextprotocol/servers
Installing Filesystem
Runs on demand via npx. Nothing to install globally.
Claude Code
claude mcp add filesystem -- npx -y @modelcontextprotocol/server-filesystem /path/to/allowed/dir
Claude Desktop ยท Cursor ยท VS Code ยท Windsurf
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/path/to/allowed/dir"
]
}
}
}Not sure where the config file lives, or it isn't picking the server up? Config paths for every client.
What it does
A reference server that lets an assistant read and edit files in directories you allow. It's the simplest way to give a model controlled access to a project on disk.
Like any MCP server, Filesystem plugs into MCP-compatible assistants (such as Claude and other clients) so the model can use it as a tool , no custom integration code required.
Related Dev tools MCP servers
- GitHubLet AI manage repos, issues, and pull requests.
- GitRun git operations on a local repository.
- SentryPull error and performance context into the chat.
- JetBrainsGive the assistant context from your JetBrains IDE.
- CypressRun and inspect end-to-end tests from the assistant.
- Context7Pull up-to-date library docs into the model.