MCP Server for interacting with text-based files (read & write). Written in TypeScript, Node and Hono.dev
MCPpedia last refreshed this data
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"filesystem": {
"env": {
"FS_ROOTS": "/Users/you/vault,/Users/you/docs"
},
"args": [
"run",
"/absolute/path/to/files-mcp/src/index.ts"
],
"command": "bun"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Stdio MCP server for sandboxed file access — read files, search content, safely edit with checksums, and manage file structure.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y 'files-mcp' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked files-mcp against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in developer-tools
XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.
Manage Supabase projects — databases, auth, storage, and edge functions
A Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
Context7 Platform -- Up-to-date code documentation for LLMs and AI code editors
MCP Security Weekly
Get CVE alerts and security updates for Files Stdio Mcp Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Stdio MCP server for sandboxed file access — read files, search content, safely edit with checksums, and manage file structure.
Author: overment
[!WARNING] This server provides filesystem access to an AI agent. While it's sandboxed to specific directories, always:
- Review tool outputs before confirming changes
- Use
dryRun=trueto preview destructive operations- Keep backups of important files
- Set
FS_ROOTSto only the directories you want the agent to access
Traditional file operations require precise paths and exact content — things LLMs struggle with. This server is designed so AI agents can:
The result: an agent that can reliably manage your Obsidian vault, documentation, notes, or any text-based file collection.
dryRun=true shows exactly what would changedetails=truefs_read(".") shows contents directlycd files-mcp
bun install
Create .env:
# Directories the agent can access (comma-separated)
FS_ROOTS=/path/to/vault,/path/to/docs
# Or for a single directory:
# FS_ROOT=/path/to/vault
# Optional
LOG_LEVEL=info
MAX_FILE_SIZE=1048576
# Force-include ignored folders (comma-separated relative paths)
# These folders will be visible even if matched by .gitignore
# FS_INCLUDE=data,build/output
bun dev
Claude Desktop / Cursor:
{
"mcpServers": {
"filesystem": {
"command": "bun",
"args": ["run", "/absolute/path/to/files-mcp/src/index.ts"],
"env": {
"FS_ROOTS": "/Users/you/vault,/Users/you/docs"
}
}
}
}
This server is also available as an MCP Bundle (.mcpb) for one-click installation in supported apps like Claude Desktop, Alice, and other MCPB-compatible applications.
MCP Bundles are zip archives containing a local MCP server and a manifest.json that describes the server and its capabilities. The format enables end users to install local MCP servers with a single click — no manual configuration required.
files-mcp.mcpb fileThe manifest defines:
fs_read, fs_search, fs_write, fs_manage with descriptions