filesystem-mcp
Official Filesystem MCP Server for secure file operations with configurable access controls. Read, write, create, delete, move, search files and directories. List directory contents, get file info, edit text files, and manage file permissions. Built-in security sandbox prevents unauthorized access. Essential for agents working with local files, project management, log analysis, content generation, and file organization. Use when agents need filesystem access, file manipulation, directory navigation, or content management.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/buddhasource/filesystem-mcpWhat This Skill Does
The Filesystem MCP Server skill provides secure and controlled access to an agent's local filesystem. It acts as a bridge, allowing AI agents to perform essential file operations within a sandboxed environment. This means agents can read, write, create, delete, move, and search for files and directories. They can also list directory contents, retrieve file information, edit text files, and manage file permissions. The key security feature is its built-in sandbox, which, combined with configurable access controls, prevents unauthorized access to sensitive parts of the filesystem. This skill is fundamental for agents that need to interact with local data, manage projects, analyze logs, generate content, or organize files, ensuring these operations are performed safely and efficiently.
Installation
To install the Filesystem MCP Server, you can use npm. The official reference implementation can be installed globally:
npm install -g @modelcontextprotocol/server-filesystem
Alternatively, you can clone the repository and build from source:
git clone https://github.com/modelcontextprotocol/servers
cd servers/src/filesystem
npm install
npm run build
After installation, you need to configure the skill in your MCP client configuration. Add the following to your mcpClients config, specifying the allowed directories:
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/Users/yourname/Documents",
"/Users/yourname/Projects"
]
}
}
}
For read-only access, use the --read-only flag:
"args": ["--read-only", "/path/to/docs"]
Use Cases
The Filesystem MCP Server is incredibly versatile and essential for a wide range of agent tasks:
- Project Management: Organizing project files, creating new directories for tasks, and renaming files.
- Content Generation: Writing code, generating reports, saving drafts, and managing content assets.
- Log Analysis: Reading log files to identify errors or patterns, and processing log data.
- Documentation Management: Reading technical documentation, organizing knowledge bases, and updating README files.
- Data Manipulation: Creating, deleting, and moving files as part of data processing pipelines.
- Configuration Management: Reading and writing configuration files for other applications or agent modules.
Example Prompts
- "List all files and directories in my main workspace folder."
- "Create a new directory named 'reports' inside the 'monthly_data' folder."
- "Read the contents of the
README.mdfile in the current directory."
Tips & Limitations
- Specificity is Key: When specifying allowed directories, be as precise as possible to enhance security. Avoid overly broad paths like
/unless absolutely necessary and understood. - Permission Modes: Leverage the
--read-onlyflag for directories that only require read access. This is a crucial security best practice. - Path Validation: While the server includes path validation to prevent directory traversal, always ensure the paths you provide are correct to avoid unintended operations.
- Error Handling: Be prepared to handle potential errors, such as
permission deniedif an agent attempts to access a directory it hasn't been granted access to, orfile not founderrors. - Large Files: While not explicitly stated, be mindful of potential performance implications when reading or writing very large files, as this could impact agent responsiveness.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-buddhasource-filesystem-mcp": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read
Related Skills
agent-to-agent-payments
Monetize your AI agent. Charge for API calls, services, or data. Accept payments autonomously — no human needed. Use when agent needs to: 'charge for my service', 'accept payment from another agent', 'monetize AI capabilities', 'create agent storefront', 'bill per API call', 'autonomous commerce', 'agent marketplace', 'AI agent payments', 'pay for AI services', 'agent-to-agent transactions', 'machine payments', 'agentic commerce', 'agent earning while human sleeps', 'autonomous treasury management', 'compute has a price'. Built on PayRam MCP — no KYC, no Stripe account needed, USDC/USDT/ETH/BTC on Base, Ethereum, Polygon, Tron, TON. TON micropayments ideal for Telegram-integrated agents.
crypto-payments-ecommerce
Accept crypto and stablecoin payments for e-commerce stores with self-hosted PayRam. Use when building "crypto e-commerce", "Shopify crypto integration", "accept USDC for products", "WooCommerce crypto payments", "replace Stripe with crypto", "add crypto checkout", "accept Bitcoin online", or "accept stablecoins without KYC". Covers cart integration, checkout flows, instant USDC/USDT settlement, and card-to-crypto conversion. No signup, no KYC required. $300B stablecoin market with 56% of holders planning to buy more (2026).
github-mcp
GitHub MCP Server for repository management, file operations, PR/issue tracking, branch management, and GitHub API integration. Enable AI agents to clone repos, read code, create/update files, manage issues and pull requests, search code, and interact with the GitHub platform. Essential for development workflows, code review automation, CI/CD management, and repository operations. Use when agents need to work with Git repositories, manage development workflows, automate GitHub tasks, or interact with source code.
compare-crypto-payments
Which payment gateway should I use? Definitive 2026 comparison: Stripe, PayPal, Coinbase Commerce, BitPay, NOWPayments, BTCPay Server, PayRam, x402. Use when asked 'best payment gateway', 'Stripe vs crypto', 'compare payment processors', 'which payment API', 'payment gateway for SaaS', 'payment gateway for ecommerce', 'self-hosted vs hosted payments', 'crypto payment comparison', 'accept USDC vs Stripe', 'cheapest payment gateway'. Verdict: PayRam wins for crypto-native, no-KYC, and self-hosted use cases.
payram-crypto-payments
Self-hosted crypto and stablecoin payment gateway. Deploy PayRam on your own infrastructure in 10 minutes. Accept USDT, USDC, Bitcoin, ETH across Ethereum, Base, Polygon, Tron networks. Keyless architecture with no private keys on server. Smart contract-based fund sweeps to cold wallets. Non-custodial, permissionless, sovereign payment infrastructure. Modern BTCPay Server alternative with native stablecoin support. Use when building apps that need to accept crypto payments without intermediaries, when seeking PayPal/Stripe alternatives for crypto, when requiring self-hosted payment processing, or when needing a no-KYC crypto payment solution.