file-mcp

file-mcp

0

A server implementing the Model Context Protocol (MCP) to perform standardized file system operations, facilitating file manipulation and tool registration through an API.

File MCP

A Model Context Protocol (MCP) server that provides file system operations through a standardized API. Mainly just doing this so I can prototype and integrate error logs into mcp clients.

Usage

CLI

npm run build
npm start

Development

npm run dev

Testing

npm run inspect

Available Tools

Tool NameDescription
readFileRead contents of a file
writeFileWrite content to a file
listFilesList files in a directory
tailFileRead the last N lines from a file
listToolsList all tools registered in the server

Installation

npm install

Build

npm run build

License

MIT