Home / Search & web / Filesystem
Filesystem
io.github.modelcontextprotocol/server-filesystem · v2.4.1 stdio
Read, write, search and edit files, with access limited to allowed directories or client Roots
Description supplied by the publisher in the MCP Registry. We have not tested this server.
Ranks #322 of 896 Search & web servers on Socketlist by score, with 92,418 GitHub stars and a last code push 1d ago.
Install
npx -y @modelcontextprotocol/server-filesystem <allowed_directory>Assembled from the package metadata in the official MCP Registry (including any subcommand or flag the publisher lists). Some publishers do not list the subcommand that starts MCP mode, so confirm the command in the README, along with any required configuration and credentials, before connecting it to real data.
Connect Filesystem to Claude Code, Cursor or VS Code
Built from what the publisher declared in the official MCP Registry (the launch command above). We have not run this server. Replace anything in <angle brackets>, and keep keys and tokens in your environment, not in a shared file.
Claude Code
Run in a terminal. Adds the server at local scope; add --scope project or --scope user to share it. Claude Code setup guide.
claude mcp add --transport stdio filesystem -- npx -y @modelcontextprotocol/server-filesystem <allowed_directory>.mcp.json (Claude Code project scope, VS Code with Copilot)
Put this in a .mcp.json file at the project root. VS Code and .mcp.json guide.
{
"mcpServers": {
"filesystem": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"<allowed_directory>"
]
}
}
}Cursor
Put this in .cursor/mcp.json in the project, or ~/.cursor/mcp.json for every project. Cursor mcp.json guide.
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"<allowed_directory>"
]
}
}
}Allowlist entry
The launch command contains a value you choose (shown in angle brackets), and an allowlist serverCommand entry has to match the final command exactly, so write the entry after you fill it in.
How allowlists work in each client: MCP server allowlists for Claude Code, GitHub Copilot and Cursor. Before you connect it to real data: 10 security checks for MCP servers.
Score breakdown
| Part | Points | What we observed | Result |
|---|---|---|---|
| Maintenance | 40/40 | Last push 1d ago, 13 open issues | Strong |
| Security hygiene | 23/35 | Licence Other licence, SECURITY.md present, published package or hosted endpoint | Fair |
| Adoption | 15/25 | 92,418 GitHub stars, 0 npm downloads a week | Fair |
Result: Strong is 80% or more of the part's points, Fair 50% or more. Automated signals, not a security audit. How we score.
Maintain this server? Claim or correct this listing, or get featured in Search & web. Paid placements are labelled and never change the score.
Five scored MCP servers, every Monday
The Plug Weekly is a free email picked from these scores, with a short Best of MCP servers PDF when you join. About a 3-minute read. Unsubscribe any time.
| GitHub stars | 92,418 |
| npm weekly downloads | 0 |
| Last push | 1d ago |
| Licence | Other licence |
| Open issues | 13 |
| SECURITY.md | Yes |
| Language | TypeScript |
| Latest version published | 2026-11-27 |
Signals captured from GitHub, npm and the official MCP Registry on December 1, 2026. See the scoring method.
Similar servers
reddit-mcp-server
Score 94. Maintenance 39 of 40, security 35 of 35, adoption 20 of 25.io.github.jordanburke/reddit-mcp-server
Reddit MCP server with full read/write - posts, comments, search, and content creation.
scrivener-mcp
Score 85. Maintenance 40 of 40, security 30 of 35, adoption 15 of 25.io.github.writerslogic/scrivener-mcp
MCP server for Scrivener: read, write, analyze, and search your manuscripts with AI assistants.
Silica Core
Score 84. Maintenance 40 of 40, security 35 of 35, adoption 9 of 25.io.github.kiycoh/silica-core
Retrieval over the folder the session opened: files, search, read, code_pack, write_note.