Filesystem MCP Server

Stablefile-system
2450 starsTypeScriptAnthropic
GitHubnpm
About

Overview

The Filesystem MCP Server provides comprehensive file system operations through the Model Context Protocol. It supports reading, writing, creating, deleting, and searching files and directories. Built with security in mind, it implements sandboxed access to prevent unauthorized file system access outside designated directories.
Capabilities

Tools & Capabilities

read_file

Read the contents of a file at a given path

write_file

Write content to a file, creating it if needed

list_directory

List files and directories at a given path

search_files

Search for files matching a pattern

create_directory

Create a new directory

move_file

Move or rename a file

get_file_info

Get metadata about a file (size, dates, permissions)

Setup

Installation

bash
Install
npx -y @modelcontextprotocol/server-filesystem /path/to/allowed/dir
Examples

Example Usage

javascript
Usage
{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-filesystem", "/home/user/projects"]
    }
  }
}

Quick Info

AuthorAnthropic
LanguageTypeScript
StatusStable
Stars 2450
Last UpdatedFeb 12, 2026

Need a Custom MCP Server?

Our team builds custom MCP servers tailored to your workflow.

Get in Touch

Need a Custom MCP Server?

Our team builds custom MCP servers tailored to your workflow. From proprietary data sources to internal tools, we have you covered.

Contact Us
CortexAgent Customer Service

Want to skip the form?

Our team is available to help you get started with CortexAgent.

This chat may be recorded for quality assurance. You can view our Privacy Policy.

Filesystem MCP Server - MCP Server Directory - CortexAgent