File System Operations
FreeNot checkedProvides file system operations for reading, creating, and listing files on the local file system, with performance monitoring through Sentry integration.
About
Provides file system operations for reading, creating, and listing files on the local file system, with performance monitoring through Sentry integration.
README
A Model Context Protocol (MCP) server implementation providing file system operations through a standardized interface.
Overview
The MCP File Server enables AI models to perform file operations on the local file system through a standardized API. It's built using the Model Context Protocol SDK and provides tools for reading, creating, and listing files.
Features
- Create Files: Create new files with specified content
- Read Files: Read the contents of existing files
- List Directory Contents: List files and directories with detailed information
- Performance Monitoring: Built-in Sentry integration for error tracking and performance monitoring
Installation
npm install
Usage
Start the MCP File Server:
node src/index.js
The server communicates through stdin/stdout using the MCP protocol.
Available Tools
createfile
Creates a new file at the specified path with the provided content.
Parameters:
filePath: Path where the file should be createdcontent: Content to write to the file
Returns:
- Success message with file path and size information
readfile
Reads the content of a file at the specified path.
Parameters:
filePath: Path to the file to read
Returns:
- The content of the file
listfiles
Lists files and directories at the specified path.
Parameters:
path: Directory path to list contents from
Returns:
- A markdown table containing file names, sizes, and types
Environment Variables
SENTRY_DSN: Sentry Data Source Name for error tracking (optional)
Dependencies
@modelcontextprotocol/sdk: The MCP SDK packagezod: Schema validation@sentry/node: Error tracking and performance monitoring
Examples
Examples of how to call these tools through the MCP protocol:
{
"name": "createfile",
"params": {
"filePath": "example/test.txt",
"content": "Hello, world!"
}
}
{
"name": "readfile",
"params": {
"filePath": "example/test.txt"
}
}
{
"name": "listfiles",
"params": {
"path": "example"
}
}
Installing File System Operations
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/codyde/mcp-file-toolFAQ
Is File System Operations MCP free?
Yes, File System Operations MCP is free — one-click install via Unyly at no cost.
Does File System Operations need an API key?
No, File System Operations runs without API keys or environment variables.
Is File System Operations hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install File System Operations in Claude Desktop, Claude Code or Cursor?
Open File System Operations on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectAmap Maps Mcp Server
MCP server for using the AMap Maps API
by duxiaohuiSupabase
Database, auth and storage
by SupabaseEverything
Reference / test server with prompts, resources, and tools.
Git
Tools to read, search, and manipulate Git repositories.
Sequential Thinking
Dynamic and reflective problem-solving through thought sequences.
Time
Time and timezone conversion capabilities.
Compare File System Operations with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
