Filesystem MCP Server

Dosya sistemistdiov2026.1.26
Repository

Model Context Protocol üzerinden yerel dosya sistemine güvenli erişim sağlar. AI agent'ların yapılandırılabilir erişim sınırlarıyla dosya ve dizinleri okumasına, yazmasına, aramasına ve yönetmesine olanak tanır. Dosya içeriği okuma, dizin oluşturma, dosya taşıma ve glob desenleriyle aramayı destekler.

Bu açıklama otomatik olarak çevrilmiştir ve henüz editör tarafından incelenmemiştir.

Bağlan

Bu yapılandırmayı şuraya ekleyin: .claude/mcp.json

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

Araçlar (6)

read_file

Read the complete contents of a file from the filesystem. Returns the file content as UTF-8 text.

{
  "type": "object",
  "required": [
    "path"
  ],
  "properties": {
    "path": {
      "type": "string",
      "description": "Absolute path to the file to read"
    }
  }
}

write_file

Write content to a file, creating it if it does not exist or overwriting if it does.

{
  "type": "object",
  "required": [
    "path",
    "content"
  ],
  "properties": {
    "path": {
      "type": "string",
      "description": "Absolute path to the file to write"
    },
    "content": {
      "type": "string",
      "description": "Content to write to the file"
    }
  }
}

list_directory

List the contents of a directory, returning file and subdirectory names.

{
  "type": "object",
  "required": [
    "path"
  ],
  "properties": {
    "path": {
      "type": "string",
      "description": "Absolute path to the directory to list"
    }
  }
}

create_directory

Create a new directory, including any necessary parent directories.

{
  "type": "object",
  "required": [
    "path"
  ],
  "properties": {
    "path": {
      "type": "string",
      "description": "Absolute path of the directory to create"
    }
  }
}

move_file

Move or rename a file or directory from one location to another.

{
  "type": "object",
  "required": [
    "source",
    "destination"
  ],
  "properties": {
    "source": {
      "type": "string",
      "description": "Source path of the file or directory"
    },
    "destination": {
      "type": "string",
      "description": "Destination path"
    }
  }
}

search_files

Search for files matching a glob pattern within a directory tree.

{
  "type": "object",
  "required": [
    "path",
    "pattern"
  ],
  "properties": {
    "path": {
      "type": "string",
      "description": "Base directory to search from"
    },
    "pattern": {
      "type": "string",
      "description": "Glob pattern to match files against"
    }
  }
}

Kaynaklar (1)

file:///{path}

Access to files on the local filesystem within allowed directories.

Prompt'lar

Bu sunucu herhangi bir prompt sunmuyor.

Sunucu bilgileri

Yazar
Anthropic (@modelcontextprotocol)
Repository
https://github.com/modelcontextprotocol/servers
Lisans
Apache-2.0
Sürüm
2026.1.26
Yıldızlar
86,206
Son güncelleme
27 Ocak 2026
Filesystem MCP Server - MCP Server | OpenModels