
A Model Context Protocol server for global law with read-only tools to find and read provisions by date, trace the law behind each word, search text and changes, and check cases or briefs against law in force.

An MCP server that gives AI assistants scoped file system operations inside a project directory, with read-only reference projects plus git and GitHub tools.
MCP File System Server is cataloged as an MCP server attributed to marcusjellinghaus. An MCP server that gives AI assistants scoped file system operations inside a project directory, with read-only reference projects plus git and GitHub tools. It is categorized under file systems-docs. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MCP File System Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
No. File operations are restricted to the project directory, and a path that resolves outside it is rejected.
No. Reference project files are strictly read-only; no write, edit or delete file operations are possible on them.
Yes. It offers a read-only git tool for commands such as log, diff, status, show and branch, plus tools that create branches and push the current branch to origin.
README.md · ce2c09cc73da · 采集于 2026-11-13 08:02:02 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
A simple Model Context Protocol (MCP) server providing file system operations. This server offers a clean API for performing file system operations within a specified project directory, following the MCP protocol design.
This MCP server enables AI assistants like Claude (via Claude Desktop) or other MCP-compatible systems to interact with your local file system. With these capabilities, AI assistants can:
File tools work inside your specified project directory, and refuse its .git directory and gitignored paths, giving you control while enabling powerful AI collaboration on your local files. Path Confinement gives the rules and limits. The GitHub tools and git fetch reach the network, and SECURITY.md lists what is enforced.
By connecting your AI assistant to your filesystem, you can transform your workflow from manual coding to a more intuitive prompting approach - describe what you need in natural language and let the AI generate, modify, and organize code directly in your project files.
Every path is validated against the project directory before any file operation. Validation resolves symlinks and rejects the path if the resolved location lies outside the project directory. A .. segment is rejected outright rather than followed. Reference projects are validated the same way against their own directory.
Two kinds of path are rejected that earlier versions accepted:
.. segment anywhere in the path, not only a leading one. read_file("src/../README.md") is rejected; use read_file("README.md").... To read content that lives outside the project, configure it with --reference-project (read-only) or run a second server instance pointed at it.One limitation: if the operating system cannot resolve a path at all, validation falls back to the lexical checks alone — the path must contain no .. and must lie under the project directory by name — so a symlink pointing outside the project is not detected in that case.
File tools also refuse .git entries and gitignored paths:
.git: A path naming a .git file or directory at any depth, in any letter case or Windows alias, or resolving to one through a link, is rejected. So is deleting or moving a whole directory that contains one..gitignore from the project root down plus .git/info/exclude (also for a worktree or submodule checkout), with git's precedence: a deeper file overrides a shallower one, the last matching line wins, and a .gitignore inside an ignored directory is not read. Reference projects apply their own rules the same way.Known differences from git:
project_dir is the root: no .gitignore above it is read, nor the info/exclude of an enclosing repository.project_dir gets the outer rules; its own info/exclude is not read.core.excludesFile) are not applied.out/, a new out is refused even though git would ignore it only as a directory.The git tool checks its arguments separately. Paths must be relative and stay inside the repository, and fetch and ls_remote accept only configured remote names. See SECURITY.md.
list_directory: List all files and directories in the project directoryread_file: Read a file, or a line slice via start_line/end_line. Full reads are cut at the configured limit (see --read-max-lines) with a note giving the next start_line / end_line; explicit ranges are returned in full.save_file: Write a file, creating parent directories as needed; keeps the file's line endings.append_file: Append content to the end of a file; keeps the file's line endingsdelete_this_file: Delete a single specified file from the filesystemdelete_directory: Delete a directory (empty by default, whole tree with recursive=True)edit_file: Edit a file by exact string match; replace_all for multiple matches; keeps the file's line endings.move_file: Move or rename files and directories (git-aware: uses git mv for tracked files, else filesystem move)get_reference_projects: Discover available reference projectslist_reference_directory: List files in reference projectsread_reference_file: Read a reference-project file, or a line slice via start_line/end_line. Full reads are cut at the same limit as read_file, with the same continuation note; explicit ranges are returned in full.reference_name; issues can also be created, edited, commented on and have their workflow status changedStructured Logging: Comprehensive logging system with both human-readable and JSON formats# Clone the repository
git clone https://github.com/MarcusJellinghaus/mcp-workspace.git
cd mcp_workspace
# Create and activate a virtual environment (optional but recommended)
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies using pip with pyproject.toml
pip install -e .
Once installed, you can use the mcp-workspace command directly:
mcp-workspace --project-dir /path/to/project [--reference-project NAME=/path/to/reference]... [--log-level LEVEL] [--log-file PATH] [--file-size-limit N] [--read-max-lines N] [--fail-on-reviews] [--enforce-base-branch-format]
--project-dir: Directory to serve files from. The server exits with code 1 if it is missing or not a valid directory.--reference-project: (Optional) Add reference project in format name=/path/to/dir (repeatable, auto-renames duplicates)--log-level: (Optional) Set logging level (DEBUG, INFO, WARNING, ERROR, CRITICAL)--log-file: (Optional) Path for structured JSON logs. If not specified, logs to mcp_workspace_{timestamp}.log in project_dir/logs/.--file-size-limit: (Optional) Default line limit for check_file_size when max_lines is omitted; must be > 0. Falls back to 600 when not set.--read-max-lines: (Optional) Maximum lines a full read_file / read_reference_file returns; 0 = no limit. Overrides [mcp_workspace] read_max_lines in config.toml. Defaults to 2000.--fail-on-reviews: (Optional) Default for check_branch_status' review gate; the tool parameter overrides per call. Off unless set.--enforce-base-branch-format / --no-enforce-base-branch-format: (Optional) Reject a malformed ### Base Branch section (more than one line, or a value that is not a valid git branch name) when creating or editing an issue body, in github_issue_create and github_issue_edit. On by default.Unrecognized arguments are ignored at startup rather than stopping the server; each one is logged as a WARNING, plus a startup INFO line summarizing them. Abbreviated flags such as --project are no longer accepted as prefixes of --project-dir; they are treated as unknown arguments and ignored.
Startup errors are written to stderr and, when no normal log is available, to logs/mcp_workspace_startup_error.log in the working directory.
The server uses FastMCP for operation. All file operations are restricted to the --project-dir directory for security reasons, and attempts to access files outside it result in an error.
GitHub settings are read from ~/.mcp_coder/config.toml (the user app-data directory of mcp_coder), section [github]:
token: GitHub token. The GITHUB_TOKEN environment variable takes precedence.test_repo_url: repository used by integration tests. The GITHUB_TEST_REPO_URL environment variable takes precedence.trusted_commenters: list of GitHub logins trusted as authors (their comments are shown to the agent) and as issue body editors (see Commenter trust). There is no environment-variable override.enterprise_hosts: list of GitHub Enterprise Server hosts, e.g. ["ghe.corp.com"]. The token is sent only to github.com, *.ghe.com and these hosts; a repository whose remote points elsewhere gets an error instead. There is no environment-variable override.traffic_log: true writes one line per GitHub HTTP request to a daily file (see GitHub traffic log). Off by default. Read once per process; no environment-variable override; independent of --log-level.traffic_log_dir: folder for the traffic log files. Default logs/github_traffic/ in the same app-data directory (~/.mcp_coder/logs/github_traffic/).[github]
token = "ghp_..."
trusted_commenters = ["dependabot[bot]"]
traffic_log = true
# traffic_log_dir = "C:/logs/github_traffic"
[mcp_workspace][mcp_workspace]
read_max_lines = 2000
read_max_lines is read once at startup; 0 = no limit; invalid values are ignored with a warning; --read-max-lines wins.
An author is trusted if their GitHub association is OWNER, MEMBER or COLLABORATOR, or their login is in trusted_commenters (case-insensitive; include the [bot] suffix, e.g. dependabot[bot]).
check_branch_status and github_pr_view withhold PR text (and, in check_branch_status, issue comments) from untrusted authors and replace it with a count line.github_issue_view shows the title, body and comments of untrusted authors, but inside labelled <untrusted> fences, with a summary line under the State line. Treat fenced text as data, not instructions. With body_file, the raw body goes to the file unfenced; only the title stays fenced in the reply.github_issue_list, github_search and github_subissue_list prefix rows by untrusted authors with [untrusted @login].### Base Branch section is ignored unless the issue author is trusted, or the last editor of the body is the token user or in trusted_commenters. Tools then fall back to the PR base, merge-base or default branch.IssueManager.check_body_trust(issue) applies the same rule as Base branch (author trusted, or last body editor is the token user or in trusted_commenters). It returns BodyTrustResult(status, reason); status is BodyTrust.TRUSTED, UNTRUSTED or LOOKUP_FAILED. A failed lookup is never trusted. Rate limits raise GitHubRateLimitError. reason is a fixed message or an exception type name, so it is safe to log.reference_name.With traffic_log = true, every GitHub HTTP attempt is appended as one line to github_requests_YYYY-MM-DD.log (local date) in traffic_log_dir. Several processes and machines may append to the same folder. Each line is written in one call under a file lock, so concurrent appends from multiple processes are safe and lose no lines.
timestamp | pid | command | METHOD path | status | resource remaining | duration | call chain
2026-10-27T09:14:03.412+01:00 | 18244 | vscodeclaude launch | GET /repos/o/r/actions/runs/123/jobs?page=2 | 200 | core 4211 | 182ms | commands_vscodeclaude.execute_coordinator_vscodeclaude > checks.check_pr_health > ci_results_manager.CIResultsManager.get_latest_ci_status
Fields:
timestamp: local ISO time with milliseconds and UTC offset.pid: process id.command: set by the calling application; mcp-workspace server for this server; blank when unset.METHOD path: HTTP method and path, with query string.status: see below.resource remaining: X-RateLimit-Resource and X-RateLimit-Remaining; - when missing.duration: e.g. 182ms; - on retry lines.call chain: mcp_coder / mcp_workspace frames as module.function, outermost first.Status values:
200.retry <status> or retry <ExceptionType>: this attempt failed and another attempt follows (duration -).ERR <ExceptionType> [status]: the request failed. Hitting the rate-limit wait cap shows as ERR RateLimitExceededExceedsMaxWait.Redirects (301/302) and 202 responses: each hop gets its own line. The line of the request that led to a hop repeats the final hop's status and headers, and its duration is cumulative (for 202 it includes PyGithub's 2 s wait).
Never written: the token, auth headers, request/response bodies, GraphQL query text, and query strings of requests to hosts other than the API host (e.g. the signed blob URL a 302 redirects to). API request lines keep their query.
A failed write skips the line and never affects the request.
mcp_workspace.github_operations keeps disk caches so repeated short-lived commands (e.g. mcp_coder's vscodeclaude status / launch) don't re-query GitHub every run.
Files, one set per repository, in <app-data>/mcp_coder/coordinator_cache/:
| File | Contents |
|---|---|
<owner_repo>.issues.json | Issue cache |
<owner_repo>.prs.json | Open-PR snapshot and per-PR results |
<owner_repo>.branches.json | Issue → branch lookups |
<owner_repo>.labels.json | Repository labels, used by github_label_list and github_issue_set_status |
All four are safe to delete; they are rebuilt on the next run. A corrupt or version-mismatched .prs.json / .branches.json is treated as empty.
GitHubRateLimitError is raised (message, reset_at) and nothing is saved for that run.refresh_labels=True. A rate-limited reload falls back to the existing entry and marks the footer stale.| Entry | Fingerprint | Not final (re-fetched next run) |
|---|---|---|
| Open-PR snapshot + base-branch tip SHAs | — (re-fetched after 60 s duplicate protection) | — |
mergeable_state | issue updated_at, PR head_sha, base tip SHA | unknown / None |
| CI status | issue updated_at, PR head_sha | any run not completed, no runs |
| Code-scanning alerts | issue updated_at, PR head_sha | any CI run not completed, no runs (no alerts request is made) |
| PR feedback | issue updated_at, PR updated_at | any section unavailable |
| Label events | issue updated_at | — |
| Branch lookup (found / not found / ambiguous) | issue updated_at | — |
A relabel bumps the issue's updated_at and so invalidates every entry for that issue. Creating a branch with create_remote_branch_for_issue deletes its branch-lookup entry. The cached mergeable_state is reliable for conflict detection (dirty) only.
set_status and label transitionscreate_plan prerequisitesfix_conflict mergeability pollingcheck_branch_status / create_prgithub_label_list and github_issue_set_statussave() reloads the file and merges per entry: entries fetched this run overwrite those on disk, everything else on disk is kept. Two concurrent writers both keep their entries; deleted entries are not resurrected. There is no file lock.
The server provides flexible logging options:
project_dir/logs/mcp_workspace_{timestamp}.log or custom path with --log-file)--console-only to disable file loggingReference projects allow you to provide AI assistants with read-only file access to additional codebases or directories for context and reference. This feature enables the LLM to browse and read files from multiple projects while keeping file writes restricted to the main project directory. A reference project with a configured repository URL can also be reached through the GitHub tools — see Cross-Repo GitHub Access.
Use the --reference-project argument to add reference projects:
# Single reference project
mcp-workspace --project-dir ./my-project --reference-project docs=./documentation
# Multiple reference projects
mcp-workspace --project-dir ./my-project \
--reference-project docs=./documentation \
--reference-project examples=/home/user/examples \
--reference-project libs=../shared-libraries
# Absolute paths
mcp-workspace --project-dir /path/to/main/project \
--reference-project utils=/usr/local/utils \
--reference-project config=/etc/myapp
If you specify duplicate reference project names, they are automatically renamed with numeric suffixes:
# This configuration:
mcp-workspace --project-dir ./project \
--reference-project docs=./docs1 \
--reference-project docs=./docs2 \
--reference-project docs=./docs3
# Results in these reference project names:
# - docs (points to ./docs1)
# - docs_2 (points to ./docs2)
# - docs_3 (points to ./docs3)
The server validates reference projects at startup:
The same tools the MCP server exposes are available to non-MCP callers (e.g. a LangChain agent) as framework-neutral ToolSpecs via mcp_workspace.toolset.tool_specs, without importing mcp. See docs/LIBRARY_USE.md for arguments, ToolSpec fields, groups, and the TLS note for library callers.
This server can be integrated with different Claude interfaces. Each requires a specific configuration.
The Claude Desktop app can also use this file system server.
Locate the Claude Desktop configuration file:
%APPDATA%\Claude\claude_desktop_config.json~/Library/Application Support/Claude/claude_desktop_config.jsonAdd the MCP server configuration (create the file if it doesn't exist):
{
"mcpServers": {
"filesystem": {
"command": "mcp-workspace",
"args": [
"--project-dir",
"C:\\path\\to\\your\\specific\\project",
"--reference-project",
"docs=C:\\path\\to\\documentation",
"--reference-project",
"examples=C:\\path\\to\\examples",
"--log-level",
"INFO"
]
}
}
}
Configuration notes:
mcp-workspace command should be available in your PATH after installation--project-dirRestart the Claude Desktop app to apply changes
%APPDATA%\Claude\logs (Windows) or ~/Library/Application Support/Claude/logs (macOS)mcp-workspace command is available in your PATH (run mcp-workspace --help to test)For development setup, testing, and contribution guidelines, see CONTRIBUTING.md.
The server exposes the following MCP tools:
| Operation | Description | Example Prompt |
|---|---|---|
list_directory | Lists files and directories in the project directory | "List all files in the src directory" |
read_file | Reads the contents of a file | "Show me the contents of main.js" |
save_file | Creates or overwrites files atomically; keeps existing line endings | "Create a new file called app.js" |
append_file | Adds content to existing files; keeps existing line endings | "Add a function to utils.js" |
delete_this_file | Removes files from the filesystem | "Delete the temporary.txt file" |
delete_directory | Deletes a directory (empty, or a whole tree with recursive) | "Delete the pr_info directory and its contents" |
edit_file | Makes selective edits using exact string matching; keeps existing line endings | "Fix the bug in the fetch function" |
move_file | Moves or renames files/directories (git-aware: uses git mv for tracked files, else filesystem move) | "Rename config.js to settings.js" |
search_files | Searches file contents by regex and/or finds files by glob | "Find where retries are configured" |
get_reference_projects | Lists available reference projects | "What reference projects are available?" |
list_reference_directory | Lists files in a reference project | "List files in the docs reference project" |
read_reference_file | Reads files from reference projects | "Show me the README from the examples project" |
github_issue_view | Shows a GitHub issue with its comments; body_file saves the raw body for read-modify-write | "Show me issue 12 in the mcp-config project" |
github_issue_list | Lists GitHub issues with optional filters | "List the open issues assigned to me" |
github_pr_view | Shows a GitHub pull request with its reviews and comments | "Show me pull request 42" |
github_search | Searches issues and pull requests in one repository | "Find issues mentioning the reference cache" |
github_label_list | Lists the labels defined in a repository, from a 24 h label cache shared across sessions; output ends with a Label cache last updated … footer, and refresh_labels=True reloads the cache | "What labels does this repo use?" |
github_issue_create | Creates a GitHub issue; the body can come from a project file (body_file) | "Open an issue for the failing import check" |
github_issue_edit | Edits a GitHub issue's title, body or labels; the body can come from a project file (body_file) | "Retitle issue 12" |
github_issue_set_status | Sets an issue's workflow status-* label, replacing any other status label — see Set Issue Status | "Move issue 42 to status-05:plan-ready" |
github_subissue_add | Links an issue as a sub-issue of another; the reported count is approximate (use github_subissue_list for the exact set) | "Make issue 43 a sub-issue of 42" |
github_subissue_list | Lists an issue's sub-issues | "What are the sub-issues of issue 42?" |
github_subissue_remove | Unlinks a sub-issue from its parent; the reported count is approximate (use github_subissue_list for the exact set) | "Detach issue 43 from its parent" |
github_issue_comment | Adds a comment to a GitHub issue; the body can come from a project file (body_file) | "Comment on issue 12 with the repro steps" |
github_pr_create | Creates a GitHub pull request; the body can come from a project file (body_file) | "Open a PR for this branch" |
search_reference_files | Searches file contents or finds files in a reference project | "Find where the docs project configures logging" |
git | Runs a read-only git command (log, diff, status, show, branch, ...) | "Show the last five commits" |
git_branch | Switches to a branch, or creates one from HEAD or a local/origin/ base; never fetches (modifies the repository) | "Create branch 42-fix-login from main" |
git_branch_delete | Force-deletes a local branch only if its tip is on GitHub; never the current or default branch, never the remote branch (modifies the repository) | "Delete the merged branch 42-fix-login" |
git_commit | Commits the given paths or all changes; no amend, no hook bypass (modifies the repository) | "Commit my changes to src/" |
git_push | Pushes the current branch to origin with -u; refused on the default branch (modifies the remote) | "Push this branch" |
git_push_force | Force-pushes the current branch with --force-with-lease --force-if-includes after a rebase; refused on the default branch (modifies the remote) | "Force-push the rebased branch" |
check_file_size | Reports files whose line count exceeds a threshold; show_allowlisted=True lists allowlisted files with their sizes | "Which files in this project are too long?" |
.git folders are excludedfile_path (string): Path to the file to read (relative to project directory)start_line (integer, optional): First line to return (1-based, inclusive). Must be provided together with end_line.end_line (integer, optional): Last line to return (1-based, inclusive). Must be provided together with start_line.with_line_numbers (boolean, optional): Prefix each line with its line number. Defaults to True when a line range is specified, False for full reads.file_path (string): Path to the file to write tocontent (string): Content to write to the filefile_path (string): Path to the file to append tocontent (string): Content to append to the filesave_file to create new filesfile_path (string): Path to the file to deleteDeletes a directory within the project directory.
Parameters:
dir_path (string): Path to the directory to delete (relative to project)recursive (boolean, optional): Delete the whole tree when True (default: False)Features:
recursive=False)recursive=True deletes the whole tree, including its contents (via shutil.rmtree)delete_this_file for files.gitignore on the top-level path; a recursive delete still removes individually-gitignored children (e.g. nested __pycache__/)Makes precise edits to files using exact string matching. This tool is designed for reliability and predictability.
Parameters:
file_path (string): File to edit (relative to project directory)edits (array): List of edit operations, each containing:
old_text (string): Exact text to find and replace (must match exactly)new_text (string): Replacement textdry_run (boolean, optional): Preview changes without applying (default: False)options (object, optional): Formatting settings
preserve_indentation (boolean, default: False): Apply indentation from old_text to new_textKey Characteristics:
old_text must match exactly (case-sensitive, whitespace-sensitive)old_text patternExamples:
# Basic text replacement
edit_file("config.py", [
{"old_text": "DEBUG = False", "new_text": "DEBUG = True"}
])
# Multiple edits in one operation
edit_file("app.py", [
{"old_text": "def old_function():", "new_text": "def new_function():"},
{"old_text": "old_function()", "new_text": "new_function()"}
])
# Preview changes without applying
edit_file("code.py", edits, dry_run=True)
# With indentation preservation
edit_file("indented.py", [
{"old_text": " old_code()", "new_text": "new_code()"}
], options={"preserve_indentation": True})
Important Notes:
old_text must match exactly - including spacing, capitalization, and line breaks\n for line breaks in multi-line replacementsold_text appears multiple times, only the first occurrence is replaceddry_run=True to preview changes before applying themMoves or renames files and directories within the project directory. Automatically preserves git history when applicable.
Parameters:
source_path (string): Source file/directory path (relative to project)destination_path (string): Destination path (relative to project)Returns: Boolean (true for success)
Features:
Examples:
# Rename a file
move_file("old_name.py", "new_name.py")
# Move a file to a different directory
move_file("src/temp.py", "archive/temp.py")
# Rename a directory
move_file("old_folder", "new_folder")
# Move with automatic parent directory creation
move_file("file.txt", "new_dir/sub_dir/file.txt") # Creates new_dir/sub_dir if needed
Error Handling:
Discovery tool for LLMs to find available reference projects.
Parameters: None
Returns: Dictionary containing:
count: Number of available projectsprojects: List of {"name": ..., "url": ...} objects. url is the configured repository URL — a project with url: null still works with the reference file tools, but not with the GitHub tools.usage: Instructions for next stepsExample:
get_reference_projects()
# Returns: {
# "count": 3,
# "projects": [{"name": "docs", "url": "https://github.com/org/docs"}, ...],
# "usage": "Pass a name as reference_name to the reference file tools, git(), and the GitHub read tools; issues can also be created, edited and commented on"
# }
Use Cases:
Lists files and directories in a reference project, with the same gitignore filtering as the main project.
Parameters:
reference_name (string): Name of the reference projectReturns: List of strings containing file and directory names
Examples:
# List root directory of reference project (shows subdirectories)
list_reference_directory("docs")
# Then read files from subdirectories using read_reference_file
read_reference_file("examples", "src/components/Button.tsx")
Features:
Reads the contents of a file from a reference project.
Parameters:
reference_name (string): Name of the reference projectfile_path (string): Path to the file within the reference project (relative to reference project root)start_line (integer, optional): First line to return (1-based, inclusive). Must be provided together with end_line.end_line (integer, optional): Last line to return (1-based, inclusive). Must be provided together with start_line.with_line_numbers (boolean, optional): Prefix each line with its line number. Defaults to True when a line range is specified, False for full reads.Returns: String containing the file contents
Examples:
# Read README from docs reference project
read_reference_file("docs", "README.md")
# Read source file from examples project
read_reference_file("examples", "src/app.py")
# Read specific lines with line numbers
read_reference_file("examples", "src/app.py", start_line=10, end_line=20)
# Read config file
read_reference_file("config", "settings/production.yml")
Features:
.git and .gitignore rulesError Handling:
The GitHub tools that take an optional reference_name act on the workspace repository without it, and on the named reference project with it. Issues, pull requests, searches and labels can be read there; issues can also be created, edited, commented on and have their workflow status changed.
Features:
get_reference_projects() are accepted; arbitrary owner/repo strings are notreference_name parameter targets the workspace repositorystatus-* labels, for every repository; github_issue_set_status changes status on any configured repository, workspace or referenceError Handling: returned as "Error: ..." strings rather than raised:
"Error: Reference project '<name>' not found" - when the name is not a reference project"Error: Reference project '<name>' has no URL configured" - when the reference project has no repository URLSets the workflow status label of a GitHub issue. This writes to GitHub.
Parameters:
number (integer): Issue numberstatus (string): Target status label, e.g. "status-05:plan-ready"from_status (string, optional): Guard — the status is changed only if the issue's sole current status label is this one; otherwise nothing is written and the actual status is reportedreference_name (string, optional): Reference project whose repository holds the issue; defaults to the workspace repositoryrefresh_labels (boolean, optional): Reload the label cache from GitHub before validatingFeatures:
status and from_status must be full status-* label names that already exist in the target repository, matched case-insensitively. An unknown name returns Label "<name>" not found with the available status labels and the label cache footer; list them with github_label_list(search="status-")status-* label on the issue is removed; other labels are kept. Setting the status the issue already has is a no-oprefresh_labels=True when a newly created label is reported as not found<owner_repo>.issues.json), so mcp-coder sees the new status without waiting for a refetchReturns: The old and new status (<none> when there was none) with the resulting Labels: line, a no-op or guard message, or an "Error: ..." string
Reports files whose line count exceeds a threshold.
Parameters:
max_lines (integer, optional): Line threshold. Falls back to the server's --file-size-limit flag, then to 600Features:
.git/ and anything the gitignore rules match.large-files-allowlist (one path per line, # comments allowed) are exempt; entries are matched as exact paths, not globs.gitignore — for example after a rename or a typo in the entryshowing X of Y notice; the caps are internal and there is no parameter to lift themgit tool checks flags, paths and remotes before running git; see SECURITY.mdReport vulnerabilities as described in SECURITY.md.
For easy configuration and installation of this MCP server, you can use the mcp-config development tool. This CLI tool simplifies the process of managing MCP server configurations across multiple clients (Claude Desktop, VS Code, etc.).
# Install mcp-config
pip install git+https://github.com/MarcusJellinghaus/mcp-config.git
# Setup for Claude Desktop with automatic configuration
mcp-config setup mcp-workspace "Filesystem Server" --project-dir /path/to/your/project
# Setup with reference projects
mcp-config setup mcp-workspace "Filesystem Server" \
--project-dir /path/to/your/project \
--reference-project docs=/path/to/documentation \
--reference-project examples=/path/to/examples
# Setup with custom log configuration
mcp-config setup mcp-workspace "Filesystem Server" \
--project-dir /path/to/your/project \
--reference-project utils=/shared/utilities \
--log-level DEBUG \
--log-file /custom/path/server.log
Learn more: mcp-config on GitHub
This tool eliminates the manual configuration steps and reduces setup errors by handling path resolution, environment detection, and client-specific configuration formats automatically.
This project is licensed under the MIT License - see the LICENSE file for details.
The MIT License is a permissive license that allows reuse with minimal restrictions. It permits use, copying, modification, and distribution with proper attribution.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP File System Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp_server_filesystem)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A Model Context Protocol server for global law with read-only tools to find and read provisions by date, trace the law behind each word, search text and changes, and check cases or briefs against law in force.

Hosted MCP server for tabletop RPG worlds that organizes messy notes and documents into a private store and lets MCP apps search lore, read documents, find characters, and optionally generate character or world pictures.

An MCP server that makes a folder of markdown notes searchable by meaning from an AI client or shell.