/security-guardrails:filesystem-mcp-guardrailsfrom security-guardrails
Guides configuration and review of filesystem MCP server access, path boundaries, allowed roots, and method allowlists for safe local file operations.
Ships in security-guardrails. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use when configuring, reviewing, or debugging a local filesystem MCP server — particularly when deciding which paths to expose, which methods to allow, and how to enforce workspace boundaries.
The core constraint is strict path bounding: the MCP server must only operate within explicitly declared workspace roots. No exceptions.
| Principle | Rule |
|---|---|
| Scope | Bind to the project workspace directory only — never /, ~, or OS dirs |
| Access | Start read-only; add write methods only when the use case requires them |
| Methods | Use an allowlist — block delete/move/rename by default |
| Secrets | Never expose .env, credential files, SSH keys, or token stores |
| Approval | Always require user approval before starting a new MCP server process |
Before starting a filesystem MCP server:
/, ~, or any system-level path.read_file, list_directory, search_files).delete_file, move_file, write_file) are explicitly enabled only if required.*.env, *.key, *.pem, *secrets*, .ssh/.The server must return a clear error for any request targeting a path outside declared roots:
Error: path '/etc/passwd' is outside allowed workspace root '/home/user/project'
Silent failures or fallback to broader access are not acceptable.
references/path-boundary-checklist.mdWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub yeaight7/agent-powerups --plugin security-guardrails6 skills in this plugin
/agent-config-security-auditUse when modifying agent config files, committing configuration changes, onboarding a repository with existing agent configs, or running a periodic config hygiene check./hook-safety-reviewUse when a hook is about to be enabled or modified -- a hook recipe proposed for activation, a pre/post-tool or lifecycle hook added to agent settings, a git pre-commit hook added to a repo, or a third-party hook snippet pasted in from outside./mcp-risk-reviewUse when an MCP server is about to be enabled, added to agent config, or upgraded -- a staged server config is a candidate for activation, a third-party server is proposed from a registry, or an existing entry changes transport, credentials, or tool surface./red-team-eval-authoringUse when creating or reviewing red-team eval plugins, attack templates, grader rubrics, safety fixtures, or model-risk test metadata./secret-leak-preflightUse when about to commit, push, or publish -- staged changes touch config or environment files, generated artifacts (relay sessions, logs, build output) are being added, or the session handled credentials even indirectly.2 plugins in one repository ship this exact skill · first indexed Jul 28, 2026
Other plugins' skills for the same job