Filesystem MCP

by sebastianbachmaier

225 downloads
Not rated
GitHub

About

mcp server to modify files savely in a root directory where user should not be able to escapce from

Details

Author
sebastianbachmaier
Downloads
225
Categories
Other

- Create, read, update, and delete files in a designated root folder.
- Root folder is set as an argument to the node command.
- Prevents modification of files outside root (not guaranteed).
- Requires Node.js version greater than 12.
- Integrated via Claude Desktop MCP configuration.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Filesystem MCP
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install Node.js >12, then add the server to the Claude MCP configuration file (e.g., ~/Library/Application Support/Claude/claude_desktop_config.json) with the command node and args pointing to the built index.js and an absolute root folder path. Then start Claude and ask it to code a game – it will use the MCP to create, read, update, and delete files in the specified root folder.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "filesystem mcp": {
            "save-filesystem-mcp": {
                "command": "node",
                "args": [
                    "PATH_TO_FOLDER/save-filesystem-mcp/build/index.js",
                    "ABSOLUTE_FOLDER_FOR_CLAUDE_TO_WORK_WITH"
                ]
            }
        }
    }
}

McpServers

{
    "save-filesystem-mcp": {
        "command": "node",
        "args": [
            "PATH_TO_FOLDER/save-filesystem-mcp/build/index.js",
            "ABSOLUTE_FOLDER_FOR_CLAUDE_TO_WORK_WITH"
        ]
    }
}

Filesystem MCP

> [!WARNING]
> Should not be able to modify files in other folders then specified root folder but this needs to be seen ...

Simple filesystem MCP that allows to create, read, update and delete files in a specified root folder. The root folder is specified as an argument to the node call.
The agent should not be able to modify files in other folders outside the root folder (not guaranteed though).

How to install:

> [!TIP]
> You need > Node.js 12 to run this MCP. You might need to use it over nvm or similar.

Modify e.g. your Clause MCP config e.g. under MAC via (see also claude documentation):

~/Library/Application\ Support/Claude/claude_desktop_config.json

and add the server:

{
    "mcpServers": {
        "save-filesystem-mcp": {
            "command": "node",
            "args": [
                "PATH_TO_FOLDER/save-filesystem-mcp/build/index.js",
                "ABSOLUTE_FOLDER_FOR_CLAUDE_TO_WORK_WITH"
            ]
        }
    }
}

Then start claude and ask it to code a game for you. It will use the MCP to create, read, update and delete files in the specified root folder.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.