iflow-mcp_aj-geddes_fastfs-mcp
v2.8.0A 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")
| Parameter | Type | Description |
|---|---|---|
path | string |
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")
| Parameter | Type | Description |
|---|---|---|
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")
| Parameter | Type | Description |
|---|---|---|
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")
| Parameter | Type | Description |
|---|---|---|
path * | string | |
content | string |
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")
| Parameter | Type | Description |
|---|---|---|
path * | string | |
pattern * | string |
fastfs_which Fastfs Which
Locate a command in the system path.
| Parameter | Type | Description |
|---|---|---|
command * | string |
fastfs_sed Fastfs Sed
Use sed to transform file content using stream editing.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
script * | string |
fastfs_gawk Fastfs Gawk
Use gawk to process file content using AWK scripting.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
script * | string |
fastfs_stat Fastfs Stat
Display file status (metadata).
| Parameter | Type | Description |
|---|---|---|
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
| Parameter | Type | Description |
|---|---|---|
depth | integer | |
path | string |
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_…
| Parameter | Type | Description |
|---|---|---|
file_type | string | |
max_depth | integer | |
path | string | |
pattern | string |
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)
| Parameter | Type | Description |
|---|---|---|
destination * | string | |
source * | string | |
recursive | boolean |
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")
| Parameter | Type | Description |
|---|---|---|
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)
| Parameter | Type | Description |
|---|---|---|
path * | string | |
force | boolean | |
recursive | boolean |
fastfs_touch Fastfs Touch
Create a new empty file or update its timestamp.
| Parameter | Type | Description |
|---|---|---|
path * | string |
fastfs_mkdir Fastfs Mkdir
Create a new directory.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
parents | boolean |
fastfs_du Fastfs Du
Show disk usage of a directory.
| Parameter | Type | Description |
|---|---|---|
human_readable | boolean | |
max_depth | integer | |
path | string |
fastfs_df Fastfs Df
Show disk space and usage.
| Parameter | Type | Description |
|---|---|---|
human_readable | boolean |
fastfs_chmod Fastfs Chmod
Change file mode (permissions).
| Parameter | Type | Description |
|---|---|---|
mode * | string | |
path * | string |
fastfs_chown Fastfs Chown
Change file owner and group.
| Parameter | Type | Description |
|---|---|---|
owner * | string | |
path * | string | |
group |
fastfs_cat Fastfs Cat
Concatenate and display file contents.
| Parameter | Type | Description |
|---|---|---|
paths * | array |
fastfs_head Fastfs Head
Display the first part of files.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
lines | integer |
fastfs_tail Fastfs Tail
Display the last part of files.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
lines | integer |
fastfs_readlink Fastfs Readlink
Print the resolved path of a symbolic link.
| Parameter | Type | Description |
|---|---|---|
path * | string |
fastfs_realpath Fastfs Realpath
Print the resolved absolute path.
| Parameter | Type | Description |
|---|---|---|
path * | string |
fastfs_cut Fastfs Cut
Select specific columns from each line.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
delimiter | string | |
fields | string |
fastfs_sort Fastfs Sort
Sort lines of text files.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
field | ||
numeric | boolean | |
reverse | boolean |
fastfs_uniq Fastfs Uniq
Report or filter out repeated lines.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
count | boolean | |
ignore_case | boolean | |
repeated | boolean |
fastfs_wc Fastfs Wc
Print line, word, and byte counts.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
bytes | boolean | |
lines | boolean | |
words | boolean |
fastfs_nl Fastfs Nl
Number lines in a file.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
number_empty | boolean | |
number_format | string |
fastfs_split Fastfs Split
Split a file into smaller parts.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
bytes_size | ||
lines | ||
prefix | string |
fastfs_tar Fastfs Tar
Create, extract, or list tar archives.
| Parameter | Type | Description |
|---|---|---|
archive_file * | string | |
operation * | string | |
files | ||
options | string |
fastfs_gzip Fastfs Gzip
Compress or decompress files.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
decompress | boolean | |
keep | boolean |
fastfs_zip Fastfs Zip
Create or extract zip archives.
| Parameter | Type | Description |
|---|---|---|
archive_file * | string | |
operation * | string | |
files | ||
options | string |
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")
| Parameter | Type | Description |
|---|---|---|
repo_url * | string | |
options | string | |
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")
| Parameter | Type | Description |
|---|---|---|
directory | string |
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
| Parameter | Type | Description |
|---|---|---|
paths * | ||
options | string |
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")
| Parameter | Type | Description |
|---|---|---|
message * | string | |
options | string |
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
| Parameter | Type | Description |
|---|---|---|
options | string |
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
| Parameter | Type | Description |
|---|---|---|
branch | string | |
options | string | |
remote | string |
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
| Parameter | Type | Description |
|---|---|---|
branch | string | |
options | string | |
remote | string |
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
| Parameter | Type | Description |
|---|---|---|
options | string |
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
| Parameter | Type | Description |
|---|---|---|
revision * | string | |
options | string |
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
| Parameter | Type | Description |
|---|---|---|
branch_name | ||
options | string |
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")
| Parameter | Type | Description |
|---|---|---|
branch * | string | |
options | string |
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
| Parameter | Type | Description |
|---|---|---|
object | string | |
options | string |
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
| Parameter | Type | Description |
|---|---|---|
options | string | |
path |
fastfs_remote Fastfs Remote
Manage remote repositories.
| Parameter | Type | Description |
|---|---|---|
command | string | |
name | ||
options | string |
fastfs_rev_parse Fastfs Rev Parse
Pick out and massage parameters for low-level Git commands.
| Parameter | Type | Description |
|---|---|---|
rev * | string | |
options | string |
fastfs_ls_files Fastfs Ls Files
Show information about files in the index and the working tree.
| Parameter | Type | Description |
|---|---|---|
options | string |
fastfs_describe Fastfs Describe
Give an object a human-readable name based on available ref.
| Parameter | Type | Description |
|---|---|---|
options | string |
fastfs_rebase Fastfs Rebase
Reapply commits on top of another base tip.
| Parameter | Type | Description |
|---|---|---|
branch * | string | |
options | string |
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
| Parameter | Type | Description |
|---|---|---|
command | string | |
options | string |
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
| Parameter | Type | Description |
|---|---|---|
options | string | |
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
| Parameter | Type | Description |
|---|---|---|
options | string |
fastfs_tag Fastfs Tag
Create, list, delete or verify a tag object.
| Parameter | Type | Description |
|---|---|---|
options | string | |
tag_name |
fastfs_config Fastfs Config
Get or set repository or global options.
| Parameter | Type | Description |
|---|---|---|
name | ||
options | string | |
value |
fastfs_fetch Fastfs Fetch
Download objects and refs from another repository.
| Parameter | Type | Description |
|---|---|---|
options | string | |
remote | string |
fastfs_blame Fastfs Blame
Show what revision and author last modified each line of a file.
| Parameter | Type | Description |
|---|---|---|
file_path * | string | |
options | string |
fastfs_git_grep Fastfs Git Grep
Print lines matching a pattern in tracked files.
| Parameter | Type | Description |
|---|---|---|
pattern * | string | |
options | string |
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…
| Parameter | Type | Description |
|---|---|---|
options | string |
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()
| Parameter | Type | Description |
|---|---|---|
options | string |
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
| Parameter | Type | Description |
|---|---|---|
count | integer | |
options | string |
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()
| Parameter | Type | Description |
|---|---|---|
options | string |
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
| Parameter | Type | Description |
|---|---|---|
options | string |