Skip to main content
Glama
by Wayazi

MCP File System

A Model Context Protocol (MCP) server that provides filesystem operations through a standardized interface.

Features

  • File operations (read/write)

  • Directory management (create/list/delete)

  • File movement and renaming

  • File metadata retrieval

  • File search capabilities

  • Access control through allowed directories

Related MCP server: File Operations MCP Server

Getting Started

  1. Install dependencies:

npm install
  1. Build the project:

npm run build
  1. Run the server with allowed directories:

npm start /path/to/allowed/directory [/path/to/another/directory ...]

Documentation

Development

The server is built using:

  • TypeScript

  • MCP SDK (high-level API)

  • Node.js filesystem APIs

Security

The server implements path validation to ensure operations only occur within allowed directories specified at startup.

License

ISC

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Wayazi/mcp_file_system'

If you have feedback or need assistance with the MCP directory API, please join our Discord server