---
title: "Filesystem: penyiapan untuk Claude, Cursor, Codex · DotsAgent"
description: "Membaca, menulis, mencari, dan memindahkan file lokal, terbatas pada direktori yang Anda berikan saat server dijalankan. Siapkan Filesystem di 13 client MCP."
url: https://dotsagent.io/id/mcp/servers/filesystem
---

File · MCP Steering Group

# Siapkan Filesystem

Membaca, menulis, mencari, dan memindahkan file lokal, terbatas pada direktori yang Anda berikan saat server dijalankan.

- **Penerbit**: MCP Steering Group Resmi
- **Jalankan secara lokal**: `npx -y @modelcontextprotocol/server-filesystem /path/to/allowed/dir`
- **Transport**: stdio
- **Autentikasi**: Tidak ada. Akses dibatasi ke direktori yang diberikan sebagai argumen atau melalui roots.
- **Yang dapat diakses**: Membaca dan menulis file di dalam direktori yang diizinkan.
- **Lisensi**: MIT (existing) / Apache-2.0 (new contributions)
- **Sumber**: [github.com/modelcontextprotocol/servers/tree/main/src/filesystem](https://github.com/modelcontextprotocol/servers/tree/main/src/filesystem)
- **Status**: Aktif

## Instal

Server ini berjalan di mesin Anda sebagai proses anak dari client. Anda memerlukan runtime yang digunakan oleh perintahnya, seperti Node.js untuk npx, uv untuk uvx, atau Docker, serta variabel apa pun yang tercantum di bagian Environment.

### Claude Code

`shell`

```
claude mcp add --scope project filesystem -- npx -y @modelcontextprotocol/server-filesystem /path/to/allowed/dir
```

### Cursor

`.cursor/mcp.json`

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

### Codex

`~/.codex/config.toml`

```
[mcp_servers.filesystem]
command = "npx"
args = ["-y", "@modelcontextprotocol/server-filesystem", "/path/to/allowed/dir"]
```

[Config untuk client lain →](https://dotsagent.io/id/mcp/config#add=filesystem)

Agen dapat menimpa atau memindahkan apa pun di dalam direktori yang Anda izinkan, jadi cantumkan hanya direktori yang diperlukan.

## Sumber

1. [github.com](https://github.com/modelcontextprotocol/servers)/modelcontextprotocol/servers
2. [modelcontextprotocol.io](https://modelcontextprotocol.io/docs/develop/connect-local-servers)/docs/develop/connect-local-servers

Referensi independen bagi mereka yang membangun agen AI. Tidak berafiliasi dengan vendor mana pun yang disebutkan di sini.

© 2026 DotsAgent · Fakta diperiksa 1 Oktober 2026
