---
title: "Filesystem"
url: "https://agentconnectors.dev/tools/filesystem"
updated: "2026-10-14"
source_url: "https://github.com/modelcontextprotocol/servers/blob/main/src/filesystem/README.md"
---

# Filesystem

Reference MCP server for reading, writing, moving, and searching files inside directories the client allows, including directory lists supplied through MCP roots.

- Category: [Reference servers](https://agentconnectors.dev/categories/reference)
- Collection: Reference server
- Status: active
- Publisher: Reference. Repository owner is modelcontextprotocol. This is a reference or example server. Archived status is a separate field on the listing. Source: https://github.com/modelcontextprotocol/servers
- Kind: mcp-server
- Listing: https://github.com/modelcontextprotocol/servers/tree/main/src/filesystem
- Repository: https://github.com/modelcontextprotocol/servers
- Homepage: Not listed
- Package: @modelcontextprotocol/server-filesystem
- Successor: Not listed
- Source: https://github.com/modelcontextprotocol/servers/blob/main/src/filesystem/README.md
- Page: https://agentconnectors.dev/tools/filesystem
- JSON: https://agentconnectors.dev/api/tools/filesystem.json
- Labels: none.

Paid placements are labelled Featured or Sponsored. An Enriched badge means we applied the owner-supplied description and links after a link check on those URLs. Ownership confirmation is optional. It does not mean functionality testing, a security audit, an endorsement, a ranking, or guaranteed traffic, leads, citations, or revenue.

## Connect it

from vendor docs, not tested by us

Configuration validation checks that these snippets parse and include every environment variable named in the Auth fact. It is not a connection test.

Source: https://github.com/modelcontextprotocol/servers/blob/main/src/filesystem/README.md

Those two paths are the examples in the README, not directories on this site.


### Claude Desktop (local)

```json
{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem",
        "/Users/username/Desktop",
        "/path/to/other/allowed/dir"
      ]
    }
  }
}
```

### Claude Code (local)

```
claude mcp add filesystem -- npx -y @modelcontextprotocol/server-filesystem /Users/username/Desktop /path/to/other/allowed/dir
```

### Cursor (local)

```json
{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem",
        "/Users/username/Desktop",
        "/path/to/other/allowed/dir"
      ]
    }
  }
}
```

### VS Code (local)

```json
{
  "servers": {
    "filesystem": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem",
        "/Users/username/Desktop",
        "/path/to/other/allowed/dir"
      ]
    }
  }
}
```

Added 2026-10-14.

## Related in Reference servers

- [Git](https://agentconnectors.dev/tools/git)
- [Memory](https://agentconnectors.dev/tools/memory)
- [Sequential Thinking](https://agentconnectors.dev/tools/sequential-thinking)
- [Time](https://agentconnectors.dev/tools/time)
- [Everything](https://agentconnectors.dev/tools/everything)
- [Fetch](https://agentconnectors.dev/tools/fetch)
