Skip to content

Commit 3fd4921

Browse files
authored
add rust-mcp-filesystem (github#281)
1 parent ea7cdc9 commit 3fd4921

1 file changed

Lines changed: 51 additions & 0 deletions

File tree

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: rust-mcp-filesystem
2+
image: mcp/rust-mcp-filesystem
3+
type: server
4+
meta:
5+
category: productivity
6+
tags:
7+
- productivity
8+
about:
9+
title: Blazing-fast, asynchronous MCP server for seamless filesystem operations.
10+
description: |-
11+
The Rust MCP Filesystem is a high-performance, asynchronous, and lightweight Model Context Protocol (MCP) server built in Rust for secure and efficient filesystem operations. Designed with security in mind, it operates in read-only mode by default and restricts clients from updating allowed directories via MCP Roots unless explicitly enabled, ensuring robust protection against unauthorized access. Leveraging asynchronous I/O, it delivers blazingly fast performance with a minimal resource footprint.
12+
Optimized for token efficiency, the Rust MCP Filesystem enables large language models (LLMs) to precisely target searches and edits within specific sections of large files and restrict operations by file size range, making it ideal for efficient file exploration, automation, and system integration.
13+
icon: https://github.com/__raw/rust-mcp-stack/rust-mcp-filesystem/refs/heads/main/docs/_media/rust-mcp-filesystem.png
14+
source:
15+
project: https://github.com/rust-mcp-stack/rust-mcp-filesystem
16+
run:
17+
command:
18+
- "{{rust-mcp-filesystem.allowed_directories|volume-target|into}}"
19+
volumes:
20+
- "{{rust-mcp-filesystem.allowed_directories|volume|into}}"
21+
disableNetwork: true
22+
config:
23+
description: Configure rust-mcp-filesystem to allow access only to permitted directories.
24+
env:
25+
- name: ENABLE_ROOTS
26+
example: "false"
27+
value: "{{rust-mcp-filesystem.enable_roots}}"
28+
- name: ALLOW_WRITE
29+
example: "false"
30+
value: "{{rust-mcp-filesystem.allow_write}}"
31+
parameters:
32+
type: object
33+
properties:
34+
allow_write:
35+
type: boolean
36+
title: Allow Write
37+
description: Enable read/write mode. If false, the app operates in read-only mode.
38+
default: false
39+
enable_roots:
40+
type: boolean
41+
title: Enable MCP Roots
42+
description: Enable dynamic directory access control via MCP client-side Roots.
43+
default: false
44+
allowed_directories:
45+
type: array
46+
items:
47+
type: string
48+
title: Allowed Directories
49+
description: List of directories that rust-mcp-filesystem can access.
50+
default:
51+
- /Users/local-test

0 commit comments

Comments
 (0)