kapyn
MCP serversDev tools ยท MCP server

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 tools
Maintained by
Official
Protocol
Model Context Protocol
Source
modelcontextprotocol/servers
View on GitHubBrowse all MCP 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