MCP ExplorerExplorer

Rs Filesystem

@TexasFortress-AIon 9 months ago
20 NOASSERTION
FreeCommunity
AI Systems
MCP Filesystem tools written in Rust

Overview

What is Rs Filesystem

rs_filesystem is a set of filesystem tools developed in Rust for use with the MCP (Model Context Protocol). It allows users to interact with filesystem resources in a structured manner.

Use cases

Use cases for rs_filesystem include managing file resources, displaying prompts for user interaction, and integrating with other tools in an MCP-enabled environment.

How to use

To use rs_filesystem in Claude Desktop, edit the ‘claude_desktop_config.json’ file to include the rs_filesystem command and specify allowed directories. Ensure the MCP server is enabled by using the ‘–mcp’ option.

Key features

Key features of rs_filesystem include enabling MCP server functionality, displaying resources, prompts, and tools through command-line interface options.

Where to use

rs_filesystem can be used in various applications that require filesystem management within MCP clients, particularly in desktop environments like Claude Desktop.

Content

rs_filesystem: MCP Rust Filesystem tools

rs_filesystem is a simple set of filesystem tools that can be used in Claude desktop or any other MCP client.

CLI options

  • --mcp: Enable MCP server
  • --resources: display resources
  • --prompts: display prompts
  • --tools: display tools

How to use MCP CLI server in Claude Desktop?

  1. Edit claude_desktop_config.json: Claude Desktop -> Settings -> Developer -> Edit Config
  2. Add the following configuration to the servers section:
{
  "mcpServers": {
    "rs_filesystem": {
      "command": "/path/to/rs_filesystem",
      "args": [
        "--mcp"
      ],
      "env": {
        "MCP_RS_FILESYSTEM_ALLOWED_DIRECTORIES": "/path/number/one:/path/number/two"
      }
    }
  }
}

Make sure you use the actual path to the rs_filesystem binary.
Make sure the MCP_RS_FILESYSTEM_ALLOWED_DIRECTORIES env variable is set to a colon-separated list of allowed directories.
The tools will only work inside those directories.

If you want to check MCP log, please use tail -n 20 -f ~/Library/Logs/Claude/rs_filesystem.logs.jsonl.

References

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers