filesystem-mcp

j0hanz/filesystem-mcp
β˜… 5 stars TypeScript File System Updated 6mo ago
A local filesystem MCP server that lets LLMs and AI agents read, write, search, diff, patch, and manage files safely and efficiently. Built for reliable, structured, and controlled filesystem interaction.
View on GitHub β†’ πŸ›‘οΈ Security & TRiSM Audit β†’

⚑ What This Server Does & Key Capabilities

The filesystem-mcp Model Context Protocol (MCP) server provides seamless integration between AI assistants (such as Claude Desktop, Cursor, and Claude Code) and A local filesystem MCP server that lets LLMs and AI agents read, write, search, diff, patch, and manage files safely and efficiently. Built for reliable, structured, and controlled filesystem interaction. By connecting this server, your AI agent gains specialized capabilities to inspect, query, and automate tasks within the File System domain.

Core Agent Capabilities

πŸ’‘ Example Prompts to Ask Your AI Agent

Once installed in Claude Desktop or Cursor, try asking your assistant:

"Find all files in this project that have been modified in the last 24 hours."
"Read the contents of config.json and check if the database host is configured."

Compatible AI Clients

🟣 Claude Desktop ⚑ Cursor IDE πŸ’» Claude Code CLI 🌊 Windsurf πŸ€– Gemini CLI

Quick Install

Copy the config for your editor. Verify environment variables or setup notes in the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "filesystem-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "j0hanz/filesystem-mcp"
      ]
    }
  }
}
⚑
Building Production MCP Agents? PRO TOOLKITS
Get the Complete 31,500+ Ecosystem Dataset ($29) or the Production Starter Kit ($39) with turnkey Python & TypeScript boilerplates.
For Server Authors
Feature This Server
Top homepage & category placement.
Sponsor ($49/wk) β†’

πŸ›‘οΈ Protodex Verified Badge

Are you the author of filesystem-mcp? Add this badge to your GitHub README for social proof and backlink verification.

Protodex Verified
[![Protodex Verified](https://img.shields.io/badge/Protodex-Verified_MCP-2DD9E0?style=flat-square&logo=github)](https://protodex.io/servers/j0hanz-filesystem-mcp.html)

README Documentation

Secure filesystem MCP server for reading, writing, searching, diffing, and patching files. - Overview - Key Features - Quick Start β€” Docker Β· CLI Usage - Client Configuration - Use Cases - Architecture

View Full Documentation & Updates on GitHub β†—

Tools (20)

DEFAULT_SEARCH_TIMEOUTDELETEFILESYSTEM_MCP_API_KEYFILESYSTEM_MCP_HTTP_HOSTFILESYSTEM_MCP_LOG_LEVELFILESYSTEM_MCP_MAX_CONCURRENT_TASKSFILESYSTEM_MCP_MAX_HTTP_SESSIONSFILESYSTEM_MCP_MAX_TASK_TTL_MSFS_CONTEXT_ALLOWLISTFS_CONTEXT_ALLOW_SENSITIVEFS_CONTEXT_DENYLISTFS_CONTEXT_DIAGNOSTICSFS_CONTEXT_DIAGNOSTICS_DETAILFS_CONTEXT_LIST_CURSOR_TTL_MSFS_CONTEXT_MAX_INLINE_CHARSFS_CONTEXT_MAX_INLINE_MATCHESFS_CONTEXT_MAX_REQUEST_BYTESFS_CONTEXT_SEARCH_WORKERSFS_CONTEXT_SEARCH_WORKERS_DEBUGFS_CONTEXT_STRIP_STRUCTURED

Topics

analysisdiffexploitationfile-managementfile-operationsfilesystemglobgrepmanipulationmcpmcp-servermodel-context-protocolpatchscannersearch