Sealmark
Automated re-test on 2026-12-02: not checked by hand, and not yet reviewed by the maintainers.

Results / @modelcontextprotocol/server-filesystem

@modelcontextprotocol/server-filesystem

version tested 2.4.1npmtested 2026-12-02Sealmark 1.0.1methodology 0.3-draftSTANDARD run16 tools

Sealmark's automated test of @modelcontextprotocol/server-filesystem 2.4.1 on 2026-12-02 gave it grade B, its lowest test-area grade (protocol A, files B and effects A). Tools reached with a valid call: 16 of 16. Of its 10 checks, 9 passed and 1 failed. 3 more checks are advisory, and advisory checks never change a grade: 1 passed and 2 not applicable. The run used Sealmark 1.0.1 with the standard settings.

B

Grade B

The server's grade is its lowest test-area grade. How grading works

Tools reached with a valid call: 16 of 16.

Grade by test area

A
Protocol4/4 points
B
Files3/4 points
A
Effects2/2 points

Protocol checks

CheckVerdictWhat happened
protocol
Valid MCP handshake and tool schemas
pass
handshake ok, 16 well-formed tool(s)
Evidence for protocol: 1 line
  1. Probe initialize + tools/list
    Outcome server secure-filesystem-server 2.4.1 answered; 16 tool(s)
    Decided from the MCP exchange (protocol)
tool-poisoningcritical
No tool-poisoning indicators in tool metadata
pass
scanned 16 tool definition(s) and serverInfo, including parameter text: nothing suspicious
robust-input
Survives malformed tool input
pass
76 invalid call(s) rejected cleanly
Evidence for robust-input: 1 line
  1. Probe 76 invalid call(s) across 15 tool(s)
    Outcome all rejected cleanly and the server stayed responsive
    Decided from the MCP exchange (protocol)
secret-echocritical
No environment secret echoed in responses
pass
canary secrets absent from tools/list and 77 captured response(s), 1 of them successful result(s)
instructions-hygiene (advisory)
Server instructions name only tools that exist
n/a
the server sent no instructions
refusal-quality (advisory)
Refusals say what to do next
pass
25 of 27 refusal(s) say what to do instead or why retrying will not help (93 %)

Files checks

CheckVerdictWhat happened
fs-read-escapecritical
Reads stay inside the allowed root
pass
108 path variants aimed outside the root were refused or returned nothing, on read_file, read_text_file, read_media_file, read_multiple_files, list_directory, list_directory_with_sizes, directory_tree, search_files, get_file_info
fs-write-escapecritical
Writes stay inside the allowed root
pass
78 write attempts aimed outside the root left the canary directory and the sibling root unchanged
fs-link-escapecritical
Links cannot lead out of the allowed root
pass
27 reads, writes, edits and moves through a symbolic link to directory that points out of the root were refused
fs-size-cap
Large file reads are capped
fail
read_file: the reply exceeded the harness's 64 MiB message limit (the server sent no cap); read_text_file: the reply exceeded the harness's 64 MiB message limit (the server sent no cap); read_media_file: the reply exceeded the harness's 64 MiB message limit (the server sent no cap); read_multiple_files: the reply exceeded the harness's 64 MiB message limit (the server sent no cap)
Evidence for fs-size-cap: 4 lines
  1. Probe read_file({sandbox}/big.bin, 64 MiB)
    Outcome the reply exceeded the harness's 64 MiB message limit (the server sent no cap)
    Decided from what the server returned (response) · tool read_file
  2. Probe read_text_file({sandbox}/big.bin, 64 MiB)
    Outcome the reply exceeded the harness's 64 MiB message limit (the server sent no cap)
    Decided from what the server returned (response) · tool read_text_file
  3. Probe read_media_file({sandbox}/big.bin, 64 MiB)
    Outcome the reply exceeded the harness's 64 MiB message limit (the server sent no cap)
    Decided from what the server returned (response) · tool read_media_file
  4. Probe read_multiple_files({sandbox}/big.bin, 64 MiB)
    Outcome the reply exceeded the harness's 64 MiB message limit (the server sent no cap)
    Decided from what the server returned (response) · tool read_multiple_files

Effects checks

CheckVerdictWhat happened
annotation-honestycritical
Read-only tools change nothing
pass
read_file, read_text_file, read_media_file, read_multiple_files, list_directory, list_directory_with_sizes, directory_tree, search_files, get_file_info, list_allowed_directories declared read-only and changed nothing in the observed directories during a benign call
openworld-honesty
Closed-world tools stay on the machine
pass
13 closed-world tool(s) called; nothing connected to the loopback listener (path and git tools cannot be pointed at it, so this confirms only that nothing connected out during the call)
undeclared-writes (advisory)
Unannotated tools leave the sandbox unchanged
n/a
every tool carries annotations, nothing to check

Each check id links to what it tests and how to fix a failure. The same text is in sealmark explain <id>.

Under a check, Evidence shows what it probed (sent or inspected) and what it observed in this run: up to 6 lines per check, each cut at 240 characters, for checks that are not security checks. The text is shortened, and paths and anything that looks like a secret or token are replaced. Run sealmark run --format json yourself for every line in full.

By tool

Which checks called each tool with a valid call in this run, and which did not exercise it. A check can leave a tool out for several reasons: a limit Sealmark sets, a tool left out by design, input the run could not fill in, or a call that returned an error. The CLI report gives the reason. A verdict belongs to the whole check, not to one tool: a failed check that called three tools does not say which one failed. Security checks are left out of this table.

ToolCalled byNot exercised by
read_fileNo check listed here called it with a valid call.None
read_text_fileNo check listed here called it with a valid call.None
read_media_fileNo check listed here called it with a valid call.None
read_multiple_filesNo check listed here called it with a valid call.None
write_fileNo check listed here called it with a valid call.None
append_fileNo check listed here called it with a valid call.None
edit_fileNo check listed here called it with a valid call.None
create_directoryNo check listed here called it with a valid call.None
list_directoryNo check listed here called it with a valid call.None
list_directory_with_sizesNo check listed here called it with a valid call.None
directory_treeNo check listed here called it with a valid call.None
move_fileNo check listed here called it with a valid call.None
copy_fileNo check listed here called it with a valid call.None
search_filesNo check listed here called it with a valid call.None
get_file_infoNo check listed here called it with a valid call.None
list_allowed_directoriesNone

What was not covered

Grade over time

Since the run on

Same as that run: the same grade in every test area, the same tools with the same input schemas, the same server version (2.4.1), the same Sealmark version (1.0.1).

  1. Bv1.0.0
  2. Bv2.0.0
  3. Bv2.0.1
  4. Bv2.1.0
  5. Bv2.2.0Sealmark 1.0.0
  6. Bv2.3.0Sealmark 1.0.0
  7. Bv2.3.0Sealmark 1.0.1
  8. Bv2.4.0Sealmark 1.0.1
  9. Bv2.4.0Sealmark 1.0.1
  10. Bv2.4.0Sealmark 1.0.1
  11. Bv2.4.1Sealmark 1.0.1
  12. Bv2.4.1Sealmark 1.0.1

Badge for the README

The badge shows this automated result for version 2.4.1. It is a link to this page, not a certificate, and it changes when the next re-test does.

Sealmark badge for @modelcontextprotocol/server-filesystem
The flat badge, one letter per graded test area.
[![Sealmark](https://sealmark.dev/badge/filesystem.svg)](https://sealmark.dev/results/filesystem/)

Files: badge SVG, card SVG, shields endpoint JSON.

Package facts

License
in the file LICENSE, as the package says
Latest release
2.4.1, published 27 Nov 2026 (the version graded on this page)
Repository
modelcontextprotocol/servers
Last push
30 Nov 2026
Open issues and pull requests
19

From npm and GitHub, checked 4 Dec 2026. Plain facts about the package; they play no part in the grade.

Add it to an MCP client

This starts version 2.4.1, the version graded on this page, with the start command from the test run. For a client that reads an mcpServers JSON file:

{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem@2.4.1",
        "/path/to/folder"
      ]
    }
  }
}

Or add it to Claude Code:

claude mcp add filesystem -- npx -y "@modelcontextprotocol/server-filesystem@2.4.1" /path/to/folder

The test run gave the server a throwaway database or folder, which Sealmark prepared first. Replace these values with your own, and where one is followed by a file or folder name (such as /repo or /papers), make sure that path exists:

The test run started the server with no API keys or other secrets, and with a cleaned environment. If the server needs some, its own documentation says how to pass them.

Run it yourself

This repeats the run with the same Sealmark version and the standard settings, starting the server the same way:

npx -y sealmark@1.0.1 run --start "npx -y @modelcontextprotocol/server-filesystem@2.4.1 {sandbox}"

The words in braces are placeholders. Sealmark fills them in when it starts the server, so leave them as they are:

The full list is under placeholders.

To confirm your run used the standard settings, add --format json --out report.json to the command. In the report, config.standard should be true and config.hash should start with sha256:d13e7893a0ac, as they did in this run. If either differs, so did the settings, and the verdicts may too (STANDARD and CUSTOM runs).

To keep the setup, put the start command in sealmark.yaml as the server.

Other servers graded in the same test area, most areas in common first, then by grade.

Grade alerts

One email when the grade of @modelcontextprotocol/server-filesystem changes after a re-test. Nothing else, and every email has a link to stop them.

Or follow it in a feed reader: the Atom feed lists each move of the overall grade that came with a different version of this server, tested with the same Sealmark version as the graded run before.

Each of 613 verdicts was checked independently, and Sealmark was wrong on some: how reliable Sealmark is.

Maintain this server?

Commit this file to modelcontextprotocol/servers as .github/sealmark-claim.json on its default branch. Sealmark reads it once a day, then names the repository here as the maintainer. No account, and a claim changes no grade.

{
  "sealmark": "claim/1",
  "servers": [
    "filesystem"
  ]
}

How claims work, and what they do not do.

Is this wrong?

Reply on the GitHub issue or email disclosure@sealmark.dev and we will recheck it. Maintainers can ask for their server to be removed.

If we were wrong, we correct the page and add your reply. Security findings go to the maintainer privately first; see the disclosure policy.