FS
π§ π€ MCP-compliant AI agent server in TypeScript π β Extend Claude & others with ποΈ full local File System superpowers: read, write, browse, and manage files/folders across macOS, Windows & Linux! Pre-built executables available for easy setup
claude mcp add --transport stdio chayan-1906-fs-mcp node dist/server.js \ --env HOST="localhost" \ --env PORT="20252"
How to use
This MCP server provides a comprehensive File System integration for Claude, enabling directory management, file operations, and Office document creation/editing through a suite of tools. Available capabilities include listing directory contents, creating and deleting directories, reading and editing files (with support for line-specific reads and targeted modifications), copying and moving files, and retrieving metadata about files and directories. It also includes an advanced directory-tree view for visualization and multiple utilities for handling Excel workbooks (creating and reading spreadsheets) and other Office-related tasks. To maximize usefulness, enable the permissions manager to selectively grant read or read-write access to specific paths, ensuring Claude can perform only the operations you authorize. When prompting Claude, explicitly indicate that you want to use the file system MCP tools to ensure the model uses these capabilities in its responses.
How to install
Prerequisites:
- Node.js v16 or newer installed on your system
- npm (bundled with Node.js) available in your PATH
Installation steps:
-
Clone the repository git clone https://github.com/chayan-1906/FS-MCP.git cd FS-MCP
-
Install dependencies npm install
-
Build and run the MCP server
- Development mode (hot-reload/build tooling): npm run dev
- Full build and packaging workflow (optional): npm run build npm run bundle npm run package
-
Start the server (if not using dev/scripted run): Ensure the server is accessible at http://localhost:20252 and the permissions manager is available there.
-
Verify the server is running Open http://localhost:20252 in your browser to confirm the permissions manager is functional.
Additional notes
Tips and notes:
- The server exposes a permissions manager at http://localhost:20252 for granting read or read-write access to specific paths. Use this to constrain Claude's file system operations.
- The toolset includes high-level filesystem operations (list/create/delete/move), file-level actions (read, create, modify, copy, delete), and metadata queries. It also supports directory-tree visualization and Office document operations like creating Excel sheets.
- Since the server runs locally, ensure port 20252 is open and not blocked by a firewall. If you run multiple instances, use different ports or stop previous instances before starting a new one.
- The βNo File Pickerβ limitation means paths must be entered manually in the permissions UI. Double-check paths to avoid permission errors.
- If you rename or move the executable or binary, you may need to restart the MCP service to re-establish connections.
Related MCP Servers
mcp-remote-macos-use
The only general AI agent that does NOT requires extra API key, giving you full control on your local and remote MacOs from Claude Desktop App
memcord
π§ Privacy-first MCP server for AI memory management. Save, search & organize chat history with intelligent summarization.
claude_autoapprove_mcp
An MCP server to inject auto-approve MCP functionality into Claude Desktop
mcp-screenshot
An MCP server that provides AI assistants with screenshot capabilities β both web page capture via Puppeteer and cross-platform system screenshots using native OS tools.
substack -plus
The most advanced Substack MCP server. 12 tools, browser auth, rich text support. Not affiliated with Substack Inc.
mcp -nodejs-api-docs
MCP Server for Node.js API documentation