MCP Server for interacting with text-based files (read & write). Written in TypeScript, Node and Hono.dev
MCPpedia last refreshed this data
Files Stdio MCP Server is an MCP server that MCP Server for interacting with text-based files (read & write). Written in TypeScript, Node and Hono.dev. Its tool list has not been published yet over stdio and http, requires no API key, and scores 79/100 on MCPpedia's security, maintenance and efficiency rubric.
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
MCP server for using the GitLab API
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
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
Release status (2026-07-27): this repository intentionally pins
@modelcontextprotocol/serverand the test-only@modelcontextprotocol/clientto2.0.0-beta.5. These packages implement the2026-07-28release candidate, not a final published protocol. Re-run the final release gate before claiming final conformance.
The server uses the public serveStdio entry with legacy mode set to serve. The SDK chooses the protocol era from the opening exchange and pins one server instance to that stdio connection. Standard output is reserved for MCP frames; diagnostics are written only to standard error.
[!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 form