LincolnBurrows2017/filesystem-mcp

📂 File Systems
0 Views
0 Installs

🐍 🏠 - Model Context Protocol server for file system operations. Supports read, write, search, copy, move with security path restrictions.

Quick Install

One-Click IDE Configuration
claude_desktop_config.json
{
  "mcpServers": {
    "lincolnburrows2017-filesystem-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "lincolnburrows2017-filesystem-mcp"
      ]
    }
  }
}
Or

Using an AI coding agent (Claude Code, Cursor, etc.)? Copy a ready-made prompt that tells it to fetch the setup instructions and install this server for you.

Documentation Overview

📂 filesystem-mcp

PyPI Python License

Model Context Protocol (MCP) server for file system operations. Enable AI assistants like Claude, Cursor, and others to read, write, and manage files on your local system.

🚀 Features

  • 📖 Read files - Read file contents with size limits
  • 📂 List directories - View files with metadata (size, type)
  • ✏️ Write files - Create and update files
  • 🗑️ Delete files - Remove files and directories
  • 🔍 Search files - Glob pattern matching
  • 📊 File info - Get detailed metadata
  • 📁 Directory operations - Create, copy, move directories

📦 Installation

pip install filesystem-mcp

🔧 Usage

CLI Mode

# Start the MCP server (read-write mode)
filesystem-mcp --directory /path/to/your/project

# Start in read-only mode
filesystem-mcp --directory /path/to/your/project --readonly

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "filesystem": {
      "command": "filesystem-mcp",
      "args": ["--directory", "/path/to/your/project"]
    }
  }
}

Cursor

Add to Cursor settings (MCP configuration):

{
  "mcpServers": {
    "filesystem": {
      "command": "filesystem-mcp",
      "args": ["--directory", "/path/to/your/project"]
    }
  }
}

🛠️ Available Tools

ToolDescriptionWrite
read_fileRead contents of a file
list_directoryList files in a directory
write_fileCreate or write to a file
delete_fileDelete a file or directory
create_directoryCreate a new directory
search_filesSearch files by glob pattern
get_file_infoGet file metadata
copy_fileCopy a file or directory
move_fileMove or rename a file

📝 Example

from filesystem_mcp import FileSystemServer

# Create server instance
server = FileSystemServer(root_directory="/path/to/project")

# Run the server
server.run()

🔐 Security

  • Path restrictions: All operations are restricted to the specified root directory
  • File size limits: Maximum 1MB for file reads
  • Optional read-only mode: Use --readonly flag to disable all write operations

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

📄 License

MIT License - see LICENSE for details.

Related MCP Servers

modelcontextprotocol/server-filesystemVerified

📇 🏠 - Direct local file system access.

📂 File Systems1 views
8b-is/smart-tree

🦀 🏠 🍎 🪟 🐧 - AI-native directory visualization with semantic analysis, ultra-compressed formats for AI consumption, and 10x token reduction. Supports quantum-semantic mode with intelligent file categorization.

📂 File Systems0 views
aadilr/changethisfile-mcp

📇 ☁️ - Free file conversion between 690+ formats. Tools: convertfile (URL or base64 in → signed download URL out) and listconversions. Covers image, video, audio, document, data, font, ebook, and archive formats. No auth or signup required; remote streamable-HTTP endpoint available (see README).

📂 File Systems0 views
alebgl77/ftp-deploy-mcp

📇 🏠 🍎 🪟 🐧 - Deploy files from AI agents to your own FTP/FTPS/SFTP servers — multi-server config, recursive deploy with dry-run and gitignore-like excludes, per-server path jail and read-only mode, FileZilla import, one-command setup for popular MCP clients.

📂 File Systems0 views

Engagement

Views
0
Installs
0
Upvotes
0

Views and upvotes are unique per visitor network (hashed IP). Installs count copy actions.

Status

Health: Not checked yet

We have not completed a health check for this listing yet.

No check timestamp yet.

Unclaimed listing (imported or pending owner verification). Claim it →
★ Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Claim this listing

Promote this listing

Optional paid placement. Free listings stay free forever.

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.