Filesystem MCP ServerServer

modelcontextprotocol
GitHub
filesystemsdeveloper-toolslocal-only

Loading subscription status...

💡 Description

A Node.js server implementing the Model Context Protocol (MCP) for filesystem operations, allowing for reading, writing, and manipulating files and directories in specified locations.

📝 JSON Entries

{
  "mcpServers": [
    {
      "filesystem": {
        "args": [
          "run",
          "-i",
          "--rm",
          "--mount",
          "type=bind,src=/Users/username/Desktop,dst=/projects/Desktop",
          "--mount",
          "type=bind,src=/path/to/other/allowed/dir,dst=/projects/other/allowed/dir,ro",
          "--mount",
          "type=bind,src=/path/to/file.txt,dst=/projects/path/to/file.txt",
          "mcp/filesystem",
          "/projects"
        ],
        "command": "docker"
      }
    }
  ]
}

🛠️ Tools

dockernpx

Features

  • Read/write files
  • Create/enumerate/delete directories
  • Move files/directories
  • Search files
  • Get file metadata

💬 Example Queries

  • Read the contents of a file at a specified path
  • List the directory contents at a given path
  • Create or overwrite a file with specified content