j0hanz/filesystem-context-mcp-server
by Various
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
MCP
j0hanz/filesystem-context-mcp-server
Added 1 June 2026
Overview
A local filesystem MCP server that exposes file read, write, search, diff, patch, and management operations to LLMs and AI agents. It runs as a process on the user's machine, providing structured and controlled filesystem access through the Model Context Protocol.
Best for
Best for
Developers who need to give LLM-based agents safe, structured access to local file systems
Use cases
- Enabling an LLM agent to edit code files in a local project
- Allowing a chat assistant to read and summarize files from disk
- Letting an AI tool perform safe file patching and diff operations
How to use
Install
code --add-mcp '{"name":"filesystem","command":"npx","args":["-y","@j0hanz/filesystem-mcp@latest"]}' Tools exposed
get-helpcompare-filesanalyze-pathget-tool-helpFILESYSTEM_MCP_API_KEYFILESYSTEM_MCP_MAX_HTTP_SESSIONSFILESYSTEM_MCP_HTTP_HOSTFS_CONTEXT_MAX_REQUEST_BYTESMAX_FILE_SIZEMAX_SEARCH_SIZEMAX_READ_MANY_TOTAL_SIZEDEFAULT_SEARCH_TIMEOUTFS_CONTEXT_ALLOW_SENSITIVEFS_CONTEXT_DENYLISTFS_CONTEXT_ALLOWLISTFS_CONTEXT_MAX_INLINE_CHARSFS_CONTEXT_MAX_INLINE_MATCHESFS_CONTEXT_STRIP_STRUCTUREDFILESYSTEM_MCP_MAX_TASK_TTL_MSFILESYSTEM_MCP_MAX_CONCURRENT_TASKS
Tested with
Claude Desktop, Claude Code, Cursor, Windsurf, Cline, VS Code
Example client config
{\n "mcpServers": {\n "filesystem": {\n "command": "npx",\n "args": ["-y", "@j0hanz/filesystem-mcp@latest"]\n }\n }\n} Notes
A local filesystem MCP server that exposes file read, write, search, diff, patch, and management operations to LLMs and AI agents. It runs as a process on the user’s machine, providing structured and controlled filesystem access through the Model Context Protocol.
8 stars on GitHub. Last updated 2026-06-01. Licensed MIT.
Use cases
- Enabling an LLM agent to edit code files in a local project
- Allowing a chat assistant to read and summarize files from disk
- Letting an AI tool perform safe file patching and diff operations
Pros
- Runs locally so files never leave the user’s machine
- Provides fine-grained file operations (read, write, diff, patch, search)
- Built with TypeScript for reliability and type safety
Cons
- Very low community adoption with only 8 GitHub stars
- Requires manual setup and running a dedicated server process
- Limited to local filesystem interactions only
Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.
Pros
- Runs locally so files never leave the user's machine
- Provides fine-grained file operations (read, write, diff, patch, search)
- Built with TypeScript for reliability and type safety
Cons
- Very low community adoption with only 8 GitHub stars
- Requires manual setup and running a dedicated server process
- Limited to local filesystem interactions only
Pairs with
Other entries in the index that connect to this one. Click through to see the chain.
Get the free Developer’s Field Guide
A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.
Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.