drio
Open app

MCP File System Server

Source

MCP File System Server: A secure Model Context Protocol server that provides file operations for AI assistants. Enables Claude and other assistants to safely read, write, and list files in a designated project directory with robust path validation and security controls.

Catalog onlyCatalog onlySTDIO

Overview

MCP File System Server is a secure Model Context Protocol server that provides file operations for AI assistants, enabling them to safely read, write, and list files in a designated project directory with robust path validation and security controls.

To use the MCP File System Server, clone the repository, set up a virtual environment, install dependencies, and run the server with the specified project directory. Configure your AI assistant (like Claude) to connect to this server for file operations.

  • Secure file operations within a specified project directory. - API for listing, reading, and writing files. - Path validation to prevent unauthorized access. - Integration with AI assistants for enhanced coding workflows.
  1. Allowing AI assistants to read and modify project files.
  2. Enabling code generation and debugging through AI prompts.
  3. Facilitating collaboration between developers and AI tools in local environments.

Add to your AI client

Use these steps to connect MCP File System Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mcp-server-filesystem-marcusjellinghaus": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-filesystem-marcusjellinghaus"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mcp-server-filesystem-marcusjellinghaus": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-filesystem-marcusjellinghaus"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-server-filesystem-marcusjellinghaus": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-filesystem-marcusjellinghaus"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp-server-filesystem-marcusjellinghaus": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-filesystem-marcusjellinghaus"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-server-filesystem-marcusjellinghaus": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-filesystem-marcusjellinghaus"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-server-filesystem-marcusjellinghaus": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-filesystem-marcusjellinghaus"
      ]
    }
  }
}

FAQ

Is the MCP File System Server secure?

Yes! It includes robust path validation and security features to prevent unauthorized access.

Can I use it with any AI assistant?

Yes! It is designed to work with any MCP-compatible AI assistant, including Claude.

Is it open-source?

Yes! The MCP File System Server is open-source and available on GitHub.