-
securityA
license-
qualityNode.js server implementing Model Context Protocol (MCP) for filesystem operations.
Last updated -
24,780
44,603
JavaScript
MIT License
Implemented as a Node.js server supporting readonly filesystem operations including reading files, directory listing, file searching, and metadata retrieval.
Node.js 服务器实现了模型上下文协议 (MCP),用于只读文件系统操作。克隆自modelcontextprotocol/server-filesystem 。
注意:服务器只允许在通过args
指定的目录内进行操作。
file://system
:文件系统操作接口path
(字符串):要读取的文件路径from
(数字):可选。读取的起始行号。默认为 0。to
(数字):可选。结束行号。如果未设置,则读取至文件末尾。paths
(字符串[])path
(字符串)path
(字符串):起始目录pattern
(字符串):搜索模式excludePatterns
(string[]):排除任何模式。支持 Glob 格式。path
(字符串)将其添加到您的claude_desktop_config.json
中:
注意:您可以通过将沙盒目录挂载到/projects
来为服务器提供沙盒目录。添加ro
标志将使服务器只读该目录。
此 MCP 服务器采用 MIT 许可证。这意味着您可以自由使用、修改和分发该软件,但须遵守 MIT 许可证的条款和条件。更多详情,请参阅项目仓库中的 LICENSE 文件。
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
Node.js 服务器实现了模型上下文协议,用于安全的只读文件系统操作,允许 Claude 读取文件、列出目录、搜索文件以及获取指定目录内的文件元数据。