Filesystem Mcp With Fast
FreeNot checkedFilesystem Mcp With Fast — Model Context Protocol server
About
Filesystem Mcp With Fast — Model Context Protocol server
README
CI & Observability SLSA Attestation GHCR Container Project Roadmap License: MIT
Open in GitHub Codespaces GitHub release Contributor Covenant
CI Pipeline GitHub Wiki Quality Gate License: MIT Python: 3.10+ MCP Protocol M8ven Trust Index Sponsor
A high-performance, sandboxed filesystem manager built on the Model Context Protocol (MCP) with FastMCP, featuring a reactive Streamlit UI and OpenAI function calling.
Features • Claude Desktop Setup • Architecture • Tools • Quickstart
🛡️ Security & M8ven Trust Verification
This MCP server is listed and independently verified on the M8ven Trust Index:
- 🔒 Sandboxed Path Validation: Restricts all file mutations within the isolated workspace with path traversal (../) prevention.
- ⚡ Model Context Protocol (MCP): Native stdio/SSE tools compatible with Claude Desktop and FastMCP runtime.
- 📋 Trust Inspection: Check the latest security audit and independent review on M8ven.
🎯 What is This?
An enterprise-ready AI file manager built with Anthropic's Model Context Protocol (MCP) and FastMCP. It bridges LLM reasoning directly to local filesystem operations inside a hardened, sandboxed workspace with complete path-traversal prevention.
- 🤖 Autonomous AI Tool Calling: OpenAI GPT-4o function-calling automatically selects the optimal file tools based on natural language prompts.
- 🔒 Sandboxed File Operations: Strict path validation prevents any access outside the designated
workspace/boundary. - 🎨 Full-Stack Web Interface: Modern 3-tab Streamlit dashboard (Agent Chat, Live File Tree Explorer, Direct Quick-Action Tools).
- ⚡ Production FastMCP Engine: SSE (Server-Sent Events) and stdio transport with asynchronous I/O and zero memory leaks.
🔌 Connect to Claude Desktop (in 10s)
You can connect this MCP server directly to Anthropic Claude Desktop so Claude can inspect, create, read, and organize your files locally.
Add the following to your claude_desktop_config.json:
- Windows:
%APPDATA%\Claude\claude_desktop_config.json - macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"filesystem-fastmcp": {
"command": "python",
"args": [
"-m",
"server.filesystem_mcp_server"
],
"cwd": "C:/path/to/filesystem-mcp-with-FastMCP-server"
}
}
}
Restart Claude Desktop, and you will see the hammer icon 🔨 with all 8 filesystem tools ready to use!
🏗️ Architecture
flowchart TD
User([User Prompt]) --> UI[Streamlit Host App / Claude Desktop]
UI --> LLM[LLM Agent / GPT-4o / Claude 3.5 Sonnet]
LLM -->|Function Calling / MCP Protocol| FastMCP[FastMCP Server]
subgraph Sandbox [Security Boundary: workspace/]
FastMCP --> Validator[Path Traversal & Permission Guard]
Validator --> Read[File Read & Search Engine]
Validator --> Write[Atomic Write & Backup Engine]
Validator --> Meta[Directory Tree & Metadata Inspector]
end
Validator --> Log[Structured Audit Logger]
🛠️ 8 Available MCP Tools
| Tool | Parameters | Description |
|---|---|---|
list_directory |
path: str = "" |
Lists all files and folders in the specified directory with sizes. |
read_file |
filepath: str, max_bytes: int = 1048576 |
Reads text content safely with size limits. |
write_file |
filepath: str, content: str |
Creates or atomically overwrites a file. |
delete_file |
filepath: str |
Safely removes a file inside the sandbox. |
get_file_info |
filepath: str |
Returns metadata (size, created, modified, permissions). |
create_directory |
path: str |
Creates nested directory trees inside workspace/. |
search_files |
pattern: str, recursive: bool = True |
Wildcard and regex file search across directories. |
copy_file |
source: str, destination: str |
Duplicates files with metadata preservation. |
🚀 Quickstart
1. Clone & Setup Environment
git clone https://github.com/Bosaj/filesystem-mcp-with-FastMCP-server.git
cd filesystem-mcp-with-FastMCP-server
python -m venv .venv
# Windows:
.venv\Scripts\activate
# Linux/macOS:
source .venv/bin/activate
pip install -r requirements.txt
2. Configure Environment Variables
cp .env.example .env
# Edit .env and set your OPENAI_API_KEY
3. Run the Standalone FastMCP Server
python -m server.filesystem_mcp_server
4. Run the Streamlit Interactive Web Interface
streamlit run host/app.py
🧪 Testing & Verification
Run the automated test suite and lint checks:
pytest tests/ -v --cov=server --cov-report=term-missing
flake8 server/ host/
black --check server/ host/
👥 Contributors & Authors
- Oussama EL HADJI (@Bosaj) — Core Architecture, FastMCP server implementation, and CI/CD pipelines.
- chakorabdellatif — Collaborative development and testing.
- yassinebenacha — Frontend dashboard review.
📄 License
This project is licensed under the MIT License.
from github.com/chakorabdellatif/filesystem-mcp-with-FastMCP-server
Installing Filesystem Mcp With Fast
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/chakorabdellatif/filesystem-mcp-with-FastMCP-serverFAQ
Is Filesystem Mcp With Fast MCP free?
Yes, Filesystem Mcp With Fast MCP is free — one-click install via Unyly at no cost.
Does Filesystem Mcp With Fast need an API key?
No, Filesystem Mcp With Fast runs without API keys or environment variables.
Is Filesystem Mcp With Fast hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Filesystem Mcp With Fast in Claude Desktop, Claude Code or Cursor?
Open Filesystem Mcp With Fast on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Unyly Deploy
Deploy sites and MCP servers to Unyly straight from your AI agent
by UnylyAmap Maps Mcp Server
MCP server for using the AMap Maps API
by duxiaohuiPayMCP
Lightweight payments layer for MCP servers: turn tools into paid endpoints with a two-line decorator. [PyPI](https://pypi.org/project/paymcp/) · [npm](https://w
by blustAIServer For Power BI
Enables exploring Microsoft Fabric / Power BI workspaces and semantic models, and executing ad-hoc DAX queries.
by Mitsubishi-FusoTemplate MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectSupabase
Database, auth and storage
by SupabaseEverything
Reference / test server with prompts, resources, and tools.
Compare Filesystem Mcp With Fast with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
