filesystem-mcp-server

filesystem-mcp-server

1

The Filesystem MCP Server is a protocol server that enables filesystem operations for Claude AI. It supports reading, writing, and searching files, as well as managing directories with a focus on security and operational constraints. The server's operations are limited to specific directories set via command-line arguments.

Filesystem MCP Server

A Model Context Protocol (MCP) server providing filesystem operations for Claude AI.

Features

  • Read and write files
  • Create directories
  • List directory contents
  • Move and rename files or directories
  • Search for files or directories
  • Get file/directory metadata

Security

Operations are restricted to specified directories only.

Installation

  1. Clone the repository
  2. Install dependencies
  3. Build the project

Usage

Run the server with: node build/index.js /path/to/allowed/dir1 /path/to/allowed/dir2

MCP Configuration

Add the server in MCP configuration with command and arguments.