Filesystem Context MCP Server

Secure filesystem MCP server for reading, writing, searching, diffing, and patching files. Its 6 documented tools cluster into read & search, stat, calculate, diff. It runs locally over stdio via the published package.

People connecting filesystem tools to Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

VERIFIED ACTIVE

LAST COMMIT 2026-08-25 ยท โ˜… 13 ยท #29 OF 34 MAINTAINED FILESYSTEM ยท VERIFIED 2026-08-25

MIT ยท TypeScript servers ยท how we verify โ†’ /methodology

01 ยท Install Filesystem Context

Claude Code

claude mcp add j0hanz-filesystem-context-mcp-server -- npx -y @j0hanz/filesystem-context-mcp

Claude Desktop / Cursor / VS Code - add to config

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

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop ยท mcpServers

Cursor ยท mcpServers

VS Code ยท servers

Windsurf ยท mcpServers

Zed ยท context_servers

Cline ยท mcpServers

Roo Code ยท mcpServers

Continue ยท mcpServers

LibreChat ยท mcpServers

Gemini CLI ยท mcpServers

Codex CLI ยท mcp_servers

Full setup guides: every client.

02 ยท Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

npm package @j0hanz/filesystem-context-mcp - published under the repo owner's npm scope (@j0hanz)

registry namespace io.github.j0hanz is GitHub-verified and matches the repo owner

03 ยท What Filesystem Context can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

What you can build

With this server connected, an agent can read multiple text files in one request, get metadata for multiple files/directories in one request, and generate a unified diff between two files. Output feeds directly into apply_patch.

Capability map

Tools grouped from the project's README - what Filesystem Context lets an agent do.

read & search

2 tools - e.g. Read multiple text files in one request.; Bulk search-and-replace across files matching a glob. Replaces all occurrences per file. Always dryRun: true first.

read_many ยท search_and_replace

Stat

1 tool - e.g. Get metadata for multiple files/directories in one request.

stat_many

Calculate

1 tool - e.g. Calculate SHA-256 hash of a file or directory.

calculate_hash

Diff

1 tool - e.g. Generate a unified diff between two files. Output feeds directly into apply_patch.

diff_files

Apply

1 tool - e.g. Apply a unified diff patch to one or more files. Single-file: throws on failure. Multi-file: best-effort per file with results[]. Workflow: diff_files -> apply_

apply_patch

Latest releases

v1.19.1 ยท 2026-04-11

v1.19.0 ยท 2026-04-11

v1.18.0 ยท 2026-04-11

04 ยท Who maintains Filesystem Context

filesystem-context is maintained by j0hanz. We track 9 MCP servers from j0hanz - 9 actively maintained, 27 combined GitHub stars, oldest repo from Dec 2025. Full record: all servers from j0hanz.

  1. Filesystem MCP Secure filesystem MCP server for reading, writing, searching, diffing, and patching files. โ˜… 13

05 ยท Facts

category
filesystem - ranked #29 of 34 actively-maintained filesystem servers as of 2026-08-25.
registry
io.github.j0hanz/filesystem-context (active, first published 2025-12-12)
packages
npm:@j0hanz/filesystem-context-mcp

06 ยท Filesystem Context FAQ

Is Filesystem Context still maintained?

Yes - as of 2026-08-25, its last commit was 2026-08-25. We re-verify nightly.

What can Filesystem Context do?

With this server connected, an agent can read multiple text files in one request, get metadata for multiple files/directories in one request, and generate a unified diff between two files. Output feeds directly into apply_patch.

How do I install Filesystem Context?

Run `npx -y @j0hanz/filesystem-context-mcp`. You can also paste the ready-made client config above.

Does Filesystem Context run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 ยท Alternatives to Filesystem Context

More filesystem MCP servers ยท Filesystem MCP ยท Fcop ยท Virtual Filesystem ยท Devtools

More TypeScript MCP servers ยท Roku MCP ยท Moxie Docs ยท PullPush Reddit ยท Scan MCP ยท see all