You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: local-fs/README.md
+56-13Lines changed: 56 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,15 @@
1
1
# @decocms/mcp-local-fs
2
2
3
-
Mount any local filesystem path as an MCP server. Supports both **stdio**(default) and **HTTP** transports.
3
+
Mount any local filesystem path as an MCP server. **Drop-in replacement**for the official MCP filesystem server, with additional MCP Mesh collection bindings.
4
4
5
5
## Features
6
6
7
7
- 📁 Mount any filesystem path dynamically
8
8
- 🔌 **Stdio transport** (default) - works with Claude Desktop, Cursor, and other MCP clients
- 🛠️ **Full MCP filesystem compatibility** - same tools as the official server
11
+
- 📋 **Collection bindings** for Files and Folders (Mesh-compatible)
12
+
- 🔄 **Backward compatible** - supports both official and Mesh tool names
12
13
- ⚡ Zero config needed
13
14
14
15
## Quick Start
@@ -84,18 +85,57 @@ Or use the path in URL format:
84
85
85
86
## Available Tools
86
87
88
+
### Official MCP Filesystem Tools
89
+
90
+
These tools follow the exact same schema as the [official MCP filesystem server](https://github.com/modelcontextprotocol/servers/tree/main/src/filesystem):
91
+
92
+
| Tool | Description |
93
+
|------|-------------|
94
+
|`read_file`| Read a file (deprecated, use `read_text_file`) |
95
+
|`read_text_file`| Read a text file with optional head/tail params |
96
+
|`read_media_file`| Read binary/media files as base64 |
97
+
|`read_multiple_files`| Read multiple files at once |
98
+
|`write_file`| Write content to a file |
99
+
|`edit_file`| Search/replace edits with diff preview |
100
+
|`create_directory`| Create a directory (with nested support) |
101
+
|`list_directory`| List files and directories |
102
+
|`list_directory_with_sizes`| List with file sizes |
103
+
|`directory_tree`| Recursive tree view as JSON |
104
+
|`move_file`| Move or rename files/directories |
105
+
|`search_files`| Search files by glob pattern |
106
+
|`get_file_info`| Get detailed file/directory metadata |
107
+
|`list_allowed_directories`| Show allowed directories |
108
+
109
+
### Additional Tools
110
+
111
+
| Tool | Description |
112
+
|------|-------------|
113
+
|`delete_file`| Delete a file or directory (with recursive option) |
114
+
|`copy_file`| Copy a file to a new location |
115
+
116
+
### MCP Mesh Collection Bindings
117
+
118
+
These tools provide standard collection bindings for MCP Mesh compatibility:
119
+
87
120
| Tool | Description |
88
121
|------|-------------|
89
-
|`FILE_READ`| Read file content (utf-8 or base64) |
90
-
|`FILE_WRITE`| Write content to a file |
91
-
|`FILE_DELETE`| Delete a file or directory |
92
-
|`FILE_MOVE`| Move or rename a file/directory |
93
-
|`FILE_COPY`| Copy a file |
94
-
|`FILE_MKDIR`| Create a directory |
95
-
|`COLLECTION_FILES_LIST`| List files (with optional recursion) |
96
-
|`COLLECTION_FILES_GET`| Get file metadata |
97
-
|`COLLECTION_FOLDERS_LIST`| List folders |
98
-
|`COLLECTION_FOLDERS_GET`| Get folder metadata |
122
+
|`COLLECTION_FILES_LIST`| List files with pagination |
123
+
|`COLLECTION_FILES_GET`| Get file metadata and content by path |
124
+
|`COLLECTION_FOLDERS_LIST`| List folders with pagination |
125
+
|`COLLECTION_FOLDERS_GET`| Get folder metadata by path |
126
+
127
+
### MCP Mesh Compatibility Aliases
128
+
129
+
For backward compatibility with existing Mesh connections, these aliases are also available:
0 commit comments