Short answer: at the commit we checked, modelcontextprotocol/filesystem scores 90/100 (grade A): 16 of 16 tools carry an MCP safety hint, 1 of 1 destructive-like tools say they change things, and its README has at least one launch line with no pinned version. This is a hygiene grade, not a security audit.
What we checked
| Repository | modelcontextprotocol/servers (folder src/filesystem) · NOASSERTION · TypeScript · about 92,272 GitHub stars |
|---|---|
| Commit checked | e1dc4b1, scanned 14–15 Nov 2026, hand-checked 17 Nov 2026. The repository has had 86 commits since then (as of 26 Nov 2026), so the current code may score differently. |
| Tools the server registers | 16 |
| Tools with any MCP safety hint | 16 of 16 |
| Destructive-like tools (delete, write, run, execute…) | 1, of which 1 carry a hint |
| README install line | has at least one launch line with no pinned version |
| Config findings | none |
How the score adds up
| Start | 100 |
|---|---|
| README tells you to launch it without a pinned version | −10 |
| Score | 90 / 100 → grade A |
Rules in full: methodology. A–F: A 90+, B 80–89, C 70–79, D 60–69, F below 60.
Evidence from the code
- How tools are registered: server.registerTool("name", {...}) calls in server.ts (16); no other file registers tools
- How safety hints are set: inline annotations object in each registerTool config
server.ts:388..1117 16 server.registerTool calls: read_file, read_text_file, read_media_file, read_multiple_files, write_file, append_file, edit_file, create_directory, list_directory, list_directory_with_sizes, directory_tree, move_file, copy_file, search_files, get_file_info, list_allowed_directoriesserver.ts: 16 'annotations: {' blocks, each with readOnlyHint and destructiveHintserver.ts:558 write_file annotations readOnlyHint:false, destructiveHint:true (:568-572)
Using it more safely
- Pin the version in your MCP config (
package@1.2.3orpackage==1.2.3, never@latest), so an update can't change what runs without you knowing. - Give it the least access it needs: a scoped token or a test account, not your admin credentials, and only the folders or projects the task needs.
- Check your own config for unpinned servers, broad folders and hard-coded tokens with the free MCP config checker (runs in your browser).
Shipping an AI agent that uses MCP servers and facing a security review? See how to answer the MCP question, or get your agent reviewed.
Compare with similar servers
Category: Files, documents & spreadsheets MCP servers (all grades side by side, plus the safer setup for this kind of server).
- zcaceres/markdownify-mcp grade A
- antvis/mcp-server-chart grade A
- chrisryugj/kordoc grade B
For the maintainers
Add the badge to your README (it links back to this page, and updates when we re-check):
[](https://aireviewready.in/mcp/servers/modelcontextprotocol-server-filesystem/)
Fixed something, or think we got it wrong? Ask for a re-check and name the commit. We reply within 7 days. Code-level security issues are never published here; they're reported privately first.