iflow-mcp_aj-geddes_fastfs-mcp

v2.8.0
iflow-mcp_aj-geddes_fastfs-mcp Checked 4 days ago Published 11 months ago

A high-speed MCP (Model Context Protocol) server for filesystem operations, Git integration, and interactive prompting capabilities

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

fastfs_ls Fastfs Ls

List files and directories at a given path. Use when: You need to see what files exist in a directory, explore project structure, or verify file presence before operations. Prefer over: Using 'find' for simple directory listing, or 'tree' when you only need immediate children. Returns: List of filenames (not full paths). Use with pwd() to get absolute context. Example: ls(".") or ls("src/components")

ParameterTypeDescription
pathstring

fastfs_pwd Fastfs Pwd

Print the current working directory. Use when: You need to know your current location in the filesystem, verify context before operations, or construct absolute paths. Prefer over: Guessing paths or assuming location. Returns: Absolute path string. Default is /mnt/workspace. Example: pwd()

fastfs_cd Fastfs Cd

Change the current working directory. Use when: You need to switch context to work within a specific project or subdirectory for multiple operations. Prefer over: Using absolute paths repeatedly. Note: Changes persist across tool calls in this session. Returns: Confirmation with new absolute path. Example: cd("my-project") or cd("/mnt/workspace/src")

ParameterTypeDescription
path *string

fastfs_read Fastfs Read

Read the contents of a file. Use when: You need to examine file contents, review code, check configuration, or extract data from text files. Prefer over: head() or tail() when you need the full file. For large files (>1MB), consider head() or tail() first. Returns: Full file contents as UTF-8 string. Binary files may produce errors. Example: read("src/main.py") or read("config.json")

ParameterTypeDescription
path *string

fastfs_write Fastfs Write

Write contents to a file. WARNING: Overwrites existing files without confirmation. Use when: You need to create a new file or completely replace existing file contents. Prefer over: Manual echo/cat commands. For appending, read the file first and include existing content. DESTRUCTIVE: Will overwrite existing files. Creates parent directories automatically. Returns: Success confirmation with path. Example: write("output.txt", "Hello World") or write("src/new_module.py", "# New module")

ParameterTypeDescription
path *string
contentstring

fastfs_grep Fastfs Grep

Search for a pattern in a file using grep with line numbers. Use when: You need to find specific text, code patterns, or occurrences within a single file. Prefer over: read() when you only need matching lines. For searching across multiple files, use find() with grep or git_grep() for tracked files. Returns: Matching lines with line numbers (format: "linenum:content"). Empty if no matches. Example: grep("TODO", "src/main.py") or grep("function.*export", "index.js")

ParameterTypeDescription
path *string
pattern *string

fastfs_which Fastfs Which

Locate a command in the system path.

ParameterTypeDescription
command *string

fastfs_sed Fastfs Sed

Use sed to transform file content using stream editing.

ParameterTypeDescription
path *string
script *string

fastfs_gawk Fastfs Gawk

Use gawk to process file content using AWK scripting.

ParameterTypeDescription
path *string
script *string

fastfs_stat Fastfs Stat

Display file status (metadata).

ParameterTypeDescription
path *string

fastfs_tree Fastfs Tree

Display directory tree structure with visual hierarchy. Use when: You need to understand project layout, visualize folder structure, or get an overview before diving into specific files. Prefer over: Multiple ls() calls for hierarchy overview. Use ls() for single directory contents only. Returns: ASCII tree visualization showing directories and files. Example: tree(".") or tree("src", depth=2) for shallow view

ParameterTypeDescription
depthinteger
pathstring

fastfs_find Fastfs Find

Find files by name pattern recursively. Use when: You need to locate files by name pattern, search for specific file types, or find files across subdirectories. Prefer over: Manual directory traversal. For content search, use grep() on results or git_grep() for tracked files. Parameters: - pattern: Glob pattern like "*.py", "test_*", "*.{js,ts}" - file_type: 'f' (files), 'd' (directories), 'l' (symlinks) - max_depth: Limit search depth (None = unlimited) Returns: List of matching file paths relative to search path. Example: find(pattern="*.py") or find(path="src", pattern="*.test.js", file_…

ParameterTypeDescription
file_typestring
max_depthinteger
pathstring
patternstring

fastfs_cp Fastfs Cp

Copy files or directories. Use when: You need to duplicate files, create backups, or copy project templates. Prefer over: read() + write() for binary files or when preserving metadata matters. Parameters: - recursive: Required for directories, copies entire tree WARNING: Will overwrite destination if it exists. Returns: Success confirmation with paths. Example: cp("config.json", "config.backup.json") or cp("template/", "new-project/", recursive=True)

ParameterTypeDescription
destination *string
source *string
recursiveboolean

fastfs_mv Fastfs Mv

Move or rename files or directories. Use when: You need to relocate files, rename them, or reorganize directory structure. Prefer over: cp() + rm() when you don't need the original. DESTRUCTIVE: Original file/directory will no longer exist at source path. Returns: Success confirmation with old and new paths. Example: mv("old_name.py", "new_name.py") or mv("src/utils", "lib/utils")

ParameterTypeDescription
destination *string
source *string

fastfs_rm Fastfs Rm

Remove files or directories. DANGEROUS: Deletion is permanent. Use when: You need to delete files or clean up directories. CAUTION: This operation cannot be undone. There is no trash/recycle bin. Parameters: - recursive: Required for directories, removes entire tree - force: Suppress errors if path doesn't exist DESTRUCTIVE: Permanently deletes data. Consider cp() for backup first. Returns: Success confirmation. Example: rm("temp.txt") or rm("node_modules", recursive=True)

ParameterTypeDescription
path *string
forceboolean
recursiveboolean

fastfs_touch Fastfs Touch

Create a new empty file or update its timestamp.

ParameterTypeDescription
path *string

fastfs_mkdir Fastfs Mkdir

Create a new directory.

ParameterTypeDescription
path *string
parentsboolean

fastfs_du Fastfs Du

Show disk usage of a directory.

ParameterTypeDescription
human_readableboolean
max_depthinteger
pathstring

fastfs_df Fastfs Df

Show disk space and usage.

ParameterTypeDescription
human_readableboolean

fastfs_chmod Fastfs Chmod

Change file mode (permissions).

ParameterTypeDescription
mode *string
path *string

fastfs_chown Fastfs Chown

Change file owner and group.

ParameterTypeDescription
owner *string
path *string
group

fastfs_cat Fastfs Cat

Concatenate and display file contents.

ParameterTypeDescription
paths *array

fastfs_head Fastfs Head

Display the first part of files.

ParameterTypeDescription
path *string
linesinteger

fastfs_tail Fastfs Tail

Display the last part of files.

ParameterTypeDescription
path *string
linesinteger

fastfs_realpath Fastfs Realpath

Print the resolved absolute path.

ParameterTypeDescription
path *string

fastfs_cut Fastfs Cut

Select specific columns from each line.

ParameterTypeDescription
path *string
delimiterstring
fieldsstring

fastfs_sort Fastfs Sort

Sort lines of text files.

ParameterTypeDescription
path *string
field
numericboolean
reverseboolean

fastfs_uniq Fastfs Uniq

Report or filter out repeated lines.

ParameterTypeDescription
path *string
countboolean
ignore_caseboolean
repeatedboolean

fastfs_wc Fastfs Wc

Print line, word, and byte counts.

ParameterTypeDescription
path *string
bytesboolean
linesboolean
wordsboolean

fastfs_nl Fastfs Nl

Number lines in a file.

ParameterTypeDescription
path *string
number_emptyboolean
number_formatstring

fastfs_split Fastfs Split

Split a file into smaller parts.

ParameterTypeDescription
path *string
bytes_size
lines
prefixstring

fastfs_tar Fastfs Tar

Create, extract, or list tar archives.

ParameterTypeDescription
archive_file *string
operation *string
files
optionsstring

fastfs_gzip Fastfs Gzip

Compress or decompress files.

ParameterTypeDescription
path *string
decompressboolean
keepboolean

fastfs_zip Fastfs Zip

Create or extract zip archives.

ParameterTypeDescription
archive_file *string
operation *string
files
optionsstring

fastfs_clone Fastfs Clone

Clone a Git repository to local filesystem. Use when: You need to download a repository to work on it locally. Supports GitHub authentication via PAT or GitHub App. Prefer over: Manual git commands when working with private repos (authentication is handled automatically). Returns: Success message with clone location. Example: clone("https://github.com/user/repo.git") or clone("https://github.com/user/repo.git", "my-local-dir")

ParameterTypeDescription
repo_url *string
optionsstring
target_dir

fastfs_init Fastfs Init

Initialize a new Git repository. Use when: Starting a new project that should be version controlled, or initializing git in an existing directory. Prefer over: clone() when starting fresh rather than downloading existing code. Returns: Success message with repository path. Example: init(".") or init("new-project")

ParameterTypeDescription
directorystring

fastfs_add Fastfs Add

Add file(s) to the Git staging area for next commit. Use when: You've made changes and want to prepare them for committing. Run status() first to see what's changed. Prefer over: Committing without staging when you want selective commits. Returns: Confirmation of staged files. Example: add(".") for all, add("src/main.py") for specific, add(["file1.py", "file2.py"]) for multiple

ParameterTypeDescription
paths *
optionsstring

fastfs_commit Fastfs Commit

Commit staged changes to the Git repository. Use when: You have staged changes (via add()) ready to save as a commit. Use status() to verify what will be committed. Prefer over: Making changes without committing (preserves history and enables collaboration). IMPORTANT: Creates a permanent record in git history. Returns: Commit hash and summary. Example: commit("feat: add user authentication") or commit("fix: resolve null pointer issue")

ParameterTypeDescription
message *string
optionsstring

fastfs_status Fastfs Status

Show the working tree status - staged, unstaged, and untracked files. Use when: You need to understand the current state before committing, or verify what files have changed. Prefer over: Manual file inspection. This is your primary tool for understanding repository state. IMPORTANT: Always run this BEFORE add() and commit() to verify what you're committing. Returns: Status summary showing modified, staged, and untracked files. Example: status() or status("--short") for compact view

ParameterTypeDescription
optionsstring

fastfs_push Fastfs Push

Push commits to a remote repository. Use when: You have local commits ready to share with the remote (GitHub, etc.). Requires commits first. Prefer over: Manual sharing of code changes. DESTRUCTIVE: Publishes commits to remote. Cannot easily undo pushed commits. Requires authentication for private repos. Returns: Push result summary. Example: push() for default, push("origin", "main") for specific branch

ParameterTypeDescription
branchstring
optionsstring
remotestring

fastfs_pull Fastfs Pull

Pull changes from a remote repository and merge into current branch. Use when: You need to get the latest changes from the remote before making edits or pushing. Prefer over: Manually fetching and merging. CAUTION: May cause merge conflicts if local and remote have diverged. Returns: Pull result with changes summary. Example: pull() for default, pull("origin", "main") for specific branch

ParameterTypeDescription
branchstring
optionsstring
remotestring

fastfs_log Fastfs Log

Show commit history log. Use when: You need to see previous commits, find specific changes, or understand project history. Prefer over: Reading individual files to understand what changed. Returns: Commit list with hashes, authors, dates, and messages. Example: log() for recent 10, log("--oneline -n 20") for more, log("--author=name") to filter

ParameterTypeDescription
optionsstring

fastfs_checkout Fastfs Checkout

Switch branches or restore working tree files. Use when: You need to switch to a different branch, or restore a file to its committed state. Prefer over: Manually editing files to undo changes. Use branch() to see available branches first. CAUTION: May lose uncommitted changes. Run status() first to check for unsaved work. Returns: Confirmation of checkout. Example: checkout("main"), checkout("feature-branch"), checkout("-b new-branch") to create and switch

ParameterTypeDescription
revision *string
optionsstring

fastfs_branch Fastfs Branch

List, create, or delete branches. Use when: You need to see available branches, create a new feature branch, or clean up old branches. Prefer over: Guessing branch names. Use with checkout() to switch branches. Returns: Branch list (current marked with *) or operation result. Example: branch() to list, branch(branch_name="feature-x") to create, branch(options="-d", branch_name="old-branch") to delete

ParameterTypeDescription
branch_name
optionsstring

fastfs_merge Fastfs Merge

Merge another branch into the current branch. Use when: You want to combine changes from another branch (e.g., merging feature into main). Prefer over: Manual copying of changes between branches. CAUTION: May cause merge conflicts. Run status() to ensure clean working tree first. Returns: Merge result or conflict information. Example: merge("feature-branch") or merge("main")

ParameterTypeDescription
branch *string
optionsstring

fastfs_show Fastfs Show

Show detailed information about a Git object (commit, tag, etc.). Use when: You need to see full details of a specific commit including diff, or examine a tag. Prefer over: log() when you need full commit details rather than just the list. Returns: Full commit information including message and changes. Example: show("HEAD") for latest, show("abc123") for specific commit, show("v1.0.0") for tag

ParameterTypeDescription
objectstring
optionsstring

fastfs_diff Fastfs Diff

Show changes between commits, staging area, and working tree. Use when: You need to see exactly what changed in files before committing, or compare versions. Prefer over: Manually comparing file versions. Essential for code review before commit. Returns: Unified diff showing additions (+) and deletions (-). Example: diff() for unstaged, diff("--staged") for staged, diff("HEAD~1") for last commit

ParameterTypeDescription
optionsstring
path

fastfs_remote Fastfs Remote

Manage remote repositories.

ParameterTypeDescription
commandstring
name
optionsstring

fastfs_rev_parse Fastfs Rev Parse

Pick out and massage parameters for low-level Git commands.

ParameterTypeDescription
rev *string
optionsstring

fastfs_ls_files Fastfs Ls Files

Show information about files in the index and the working tree.

ParameterTypeDescription
optionsstring

fastfs_describe Fastfs Describe

Give an object a human-readable name based on available ref.

ParameterTypeDescription
optionsstring

fastfs_rebase Fastfs Rebase

Reapply commits on top of another base tip.

ParameterTypeDescription
branch *string
optionsstring

fastfs_stash Fastfs Stash

Stash changes in a dirty working directory temporarily. Use when: You need to switch branches but have uncommitted work, or want to save work-in-progress without committing. Prefer over: Committing unfinished work. Stash is temporary storage. Commands: 'push' (save), 'pop' (restore and remove), 'apply' (restore and keep), 'list' (show stashes) Returns: Stash operation result. Example: stash() to save, stash("pop") to restore, stash("list") to see stashes

ParameterTypeDescription
commandstring
optionsstring

fastfs_reset Fastfs Reset

Reset current HEAD to a specified state. DANGEROUS: Can lose uncommitted work. Use when: You need to unstage files, or undo commits (use with extreme caution). Prefer over: Manual file restoration for undoing staged changes. DESTRUCTIVE with --hard: Permanently loses uncommitted changes! - No options: Unstage files but keep changes in working directory - --soft: Undo commits but keep changes staged - --hard: Undo everything (DANGEROUS - loses all uncommitted work) Example: reset() to unstage all, reset("HEAD~1") to undo last commit, reset("--hard HEAD") to discard all changes

ParameterTypeDescription
optionsstring
paths

fastfs_clean Fastfs Clean

Remove untracked files from the working tree. DANGEROUS: Permanent deletion. Use when: You need to clean up build artifacts, temporary files, or reset to a clean state. CAUTION: Deleted files cannot be recovered (they're not in git history). Options: - -n (default): Dry run - show what would be deleted without deleting - -f: Actually delete files (required for real deletion) - -d: Also remove untracked directories ALWAYS run with -n first to preview, then -f to execute. Example: clean() to preview, clean("-f") to delete, clean("-fd") to delete files and directories

ParameterTypeDescription
optionsstring

fastfs_tag Fastfs Tag

Create, list, delete or verify a tag object.

ParameterTypeDescription
optionsstring
tag_name

fastfs_config Fastfs Config

Get or set repository or global options.

ParameterTypeDescription
name
optionsstring
value

fastfs_fetch Fastfs Fetch

Download objects and refs from another repository.

ParameterTypeDescription
optionsstring
remotestring

fastfs_blame Fastfs Blame

Show what revision and author last modified each line of a file.

ParameterTypeDescription
file_path *string
optionsstring

fastfs_git_grep Fastfs Git Grep

Print lines matching a pattern in tracked files.

ParameterTypeDescription
pattern *string
optionsstring

fastfs_context Fastfs Context

Get comprehensive context about the current Git repository in a single call. Use when: Starting work on a repo, need full situational awareness, or preparing to make changes. This is your GO-TO tool for understanding repository state. Prefer over: Multiple calls to status(), log(), branch(), diff(). Gets everything at once. Returns structured data including: - current_branch: Active branch name - repository_root: Absolute path to repo root - is_clean: Whether working tree has uncommitted changes - head_commit: Current commit hash - remotes: Dict of remote names to URLs - recent_commits: Last…

ParameterTypeDescription
optionsstring

fastfs_git_show_head Fastfs Git Show Head

Show the current HEAD commit information in detail. Use when: You need to see the full details of the most recent commit. Prefer over: log() when you need complete commit info rather than a list. Returns: Full commit details including message, author, date, and diff. Example: git_show_head()

ParameterTypeDescription
optionsstring

fastfs_version Fastfs Version

Get the Git version installed in the container. Use when: Debugging git issues or checking compatibility. Returns: Git version string. Example: version()

fastfs_validate Fastfs Validate

Validate the Git repository for common issues and potential problems. Use when: Troubleshooting repository issues, before important operations, or auditing repo health. Prefer over: Manual inspection for common problems. Returns structured validation results: - valid: Boolean overall status - issues: Critical problems found - warnings: Non-critical concerns - info: Informational notes Example: validate() to check repo health

fastfs_repo_info Fastfs Repo Info

Get comprehensive statistics and information about the Git repository. Use when: You need detailed repository metrics like commit count, contributors, file count, size. Prefer over: Running multiple commands to gather statistics. Returns detailed info including: - repository_path, current_branch, remote_url - commit_count, contributor_count, file_count - contributors (with commit counts per author) - size_kb, tag_count, branch_count Example: repo_info() for full repository statistics

fastfs_summarize_log Fastfs Summarize Log

Summarize the git log with statistics per author, date distribution, and change metrics. Use when: You need to analyze recent activity, understand contribution patterns, or generate reports. Prefer over: Parsing log() output manually. Returns: - commits: List of commit details with changes - stats: Aggregated metrics (total_commits, authors with counts, date_distribution) Example: summarize_log(count=20) for last 20 commits with stats

ParameterTypeDescription
countinteger
optionsstring

fastfs_suggest_commit Fastfs Suggest Commit

Analyze staged changes and suggest a conventional commit message. Use when: You've staged changes and want help writing a good commit message following conventions. Prefer over: Guessing commit message format. Analyzes actual changes to suggest type (feat, fix, docs, etc.). Returns: - changes: File change summary (files_changed, insertions, deletions, file_details) - suggested_message: Auto-generated commit message - suggested_type: Commit type (feat, fix, docs, test, chore) - suggested_scope: Inferred scope from directory structure Example: suggest_commit() after staging changes with add()

ParameterTypeDescription
optionsstring

fastfs_audit_history Fastfs Audit History

Audit repository history for security issues and problematic patterns. Use when: Checking for accidentally committed secrets, large files, or other issues in git history. Prefer over: Manual git log inspection for security auditing. Checks for: - Large files in history - Merge conflict markers accidentally committed - Binary files - Potential secrets (passwords, tokens, keys) - Very short commit messages - Orphaned commits Returns: {issues: [], warnings: [], info: [], stats: {}} Example: audit_history() for full security audit

ParameterTypeDescription
optionsstring