MCP File System

by Wayazi
Verified

local-only server

The server can only run on the client’s local machine because it depends on local resources.

Integrations

  • Provides filesystem operations including file reading/writing, directory management, file movement, renaming, metadata retrieval, and search capabilities within allowed directories.

  • Leverages Node.js filesystem APIs to enable file system operations with security controls for path validation.

  • Built using TypeScript to provide type-safe filesystem interactions through the MCP interface.

MCP 文件系统

通过标准化接口提供文件系统操作的模型上下文协议 (MCP) 服务器。

特征

  • 文件操作(读/写)
  • 目录管理(创建/列出/删除)
  • 文件移动和重命名
  • 文件元数据检索
  • 文件搜索功能
  • 通过允许的目录进行访问控制

入门

  1. 安装依赖项:
npm install
  1. 构建项目:
npm run build
  1. 使用允许的目录运行服务器:
npm start /path/to/allowed/directory [/path/to/another/directory ...]

文档

发展

该服务器使用以下方式构建:

  • TypeScript
  • MCP SDK(高级 API)
  • Node.js 文件系统 API

安全

服务器实施路径验证以确保操作仅发生在启动时指定的允许目录内。

执照

国际学习中心

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

实现模型上下文协议的服务器,通过标准化接口提供文件系统操作(读/写、目录管理、文件移动),并对允许的目录进行安全控制。

  1. Features
    1. Getting Started
      1. Documentation
        1. Development
          1. Security
            1. License
              ID: mu1kc5xumt