filesystem-mcp
Read, write, edit, move, and search files and directories via CLI. Use when user needs to access file contents, manage directory structures, or search for files by pattern.
- License 许可
- MIT
- 最近更新
- 2026-04-13
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- filesystem-mcp
- description
- Read, write, edit, move, and search files and directories via CLI. Use when user needs to access file contents, manage directory structures, or search for files by pattern.
- generated_at
- 2026-04-06T09:00:48.172488+00:00
- source_version
- 0.2.0
- source_cli_hash
- 6687ec79
02 资源文件 2
- 参考文档reference/directory.md1.1 KB
- 参考文档reference/file.md2.0 KB
03 SKILL.md 正文
filesystem-mcp (via mcp2cli)
Read, write, edit, move, and search files and directories via CLI.
Shortcuts
mcp2cli filesystem <cmd>(alias formcp2cli filesystem-mcp)
Commands
File
| Command | Description | Example | Ref |
|---|---|---|---|
mcp2cli filesystem file get |
Read text file contents | mcp2cli filesystem file get --path /path/to/file.txt<br>mcp2cli filesystem file get --path /path/to/file.txt --head 50 |
ref |
mcp2cli filesystem file write |
Create or overwrite a file | mcp2cli filesystem file write --path /path/to/file.txt --content 'Hello World' |
ref |
mcp2cli filesystem file edit |
Make line-based edits to a file | mcp2cli filesystem file edit --path /path/to/file.txt --edits '[{"oldText":"foo","newText":"bar"}]' |
ref |
mcp2cli filesystem file search |
Search files by glob pattern | mcp2cli filesystem file search --path /project --pattern '**/*.py' |
ref |
mcp2cli filesystem file get-multiple |
Read multiple files at once | mcp2cli filesystem file get-multiple --paths '["file1.txt","file2.txt"]' |
ref |
mcp2cli filesystem file get-media |
Read image/audio as base64 | mcp2cli filesystem file get-media --path /path/to/image.png |
ref |
mcp2cli filesystem file move |
Move or rename a file | mcp2cli filesystem file move --source /old/path --destination /new/path |
ref |
mcp2cli filesystem file info |
Get file metadata | mcp2cli filesystem file info --path /path/to/file.txt |
ref |
Directory
| Command | Description | Example | Ref |
|---|---|---|---|
mcp2cli filesystem directory create |
Create a directory | mcp2cli filesystem directory create --path /new/dir |
ref |
mcp2cli filesystem directory list |
List directory contents | mcp2cli filesystem directory list --path /project |
ref |
mcp2cli filesystem directory tree |
Get recursive directory tree | mcp2cli filesystem directory tree --path /project |
ref |
mcp2cli filesystem directory list-sizes |
List with size information | mcp2cli filesystem directory list-sizes --path /project |
ref |
mcp2cli filesystem directory list-allowed |
List accessible directories | mcp2cli filesystem directory list-allowed |
ref |
Discover Parameters
Append --help to any command for full parameter list:
mcp2cli filesystem file get --help
Note: Use Ref links in the Commands table above to view detailed parameter reference and more examples.
User Notes
MUST READ users/skill.md for custom workflows and tips. Config: MCP server settings live in
~/.agents/mcp2cli/servers.yaml- edit there to take effect.
04 同仓库更多 Skills
zereight/gitlab-mcp
Manage GitLab repos, MRs, issues, pipelines, deployments, and releases via CLI. Use when user needs to create/search repos, review/merge MRs, manage issues, or run pipelines.
users
暂无简介
trendradar
Monitor trending news, analyze topics, aggregate cross-platform content, and send notifications via CLI. Use when user needs to get latest news, search trends, analyze sentiment, compare periods, or generate reports.
users
暂无简介
reference
暂无简介
superpowers
List and read Superpowers skills via CLI. Use when user needs to discover available skills or load skill instructions before performing a task.