mcp-file-navigator

mcp-file-navigator

0

MCP File Server is designed to provide a secure and standardized way to manage file operations using the Model Context Protocol (MCP). It allows integration with AI assistants and developer tools to interact with file systems and execute Git commands effectively.

MCP File Server

MCP File Server is a Node.js application implementing a Model Context Protocol (MCP) server for file operations. It provides a secure and standardized interface to interact with the file system, featuring tools for file and Git operations. Highlights include listing, reading, writing, and deleting files, setting and getting base directories, and executing Git commands.

Security Features

  • Path validation to prevent directory traversal attacks
  • Command validation to prevent command injection
  • Logging operations for auditability

Prerequisites

  • Node.js >= 16.0.0
  • npm or yarn package manager
  • Git

Usage

Run the server, set base directories from chat, and execute Git commands using an AI assistant or developer tool integrations.