MCP File System

by Wayazi
Verified

local-only server

The server can only run on the client’s local machine because it depends on local resources.

Integrations

  • Provides filesystem operations including file reading/writing, directory management, file movement, renaming, metadata retrieval, and search capabilities within allowed directories.

  • Leverages Node.js filesystem APIs to enable file system operations with security controls for path validation.

  • Built using TypeScript to provide type-safe filesystem interactions through the MCP interface.

MCP File System

A Model Context Protocol (MCP) server that provides filesystem operations through a standardized interface.

Features

  • File operations (read/write)
  • Directory management (create/list/delete)
  • File movement and renaming
  • File metadata retrieval
  • File search capabilities
  • Access control through allowed directories

Getting Started

  1. Install dependencies:
npm install
  1. Build the project:
npm run build
  1. Run the server with allowed directories:
npm start /path/to/allowed/directory [/path/to/another/directory ...]

Documentation

Development

The server is built using:

  • TypeScript
  • MCP SDK (high-level API)
  • Node.js filesystem APIs

Security

The server implements path validation to ensure operations only occur within allowed directories specified at startup.

License

ISC

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

A server implementing the Model Context Protocol that provides filesystem operations (read/write, directory management, file movement) through a standardized interface with security controls for allowed directories.

  1. Features
    1. Getting Started
      1. Documentation
        1. Development
          1. Security
            1. License
              ID: mu1kc5xumt