AI File Assistant MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@AI File Assistant MCPRead the file README.md with line numbers"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
AI File Assistant MCP Server
An MCP (Model Context Protocol) server that provides AI-powered file operations: read, write, search, edit, and manage files.
Also includes a Flask web app with a full file manager, user management, and admin panel.
Features
MCP Server (server.py)
Read files with line numbers
Write files with automatic directory creation
Edit files via exact string replacement
Search file contents using regex
Glob file patterns for discovery
List directories
Move files
Copy files
Delete files
Get file metadata
Web App (app.py)
File Manager - Browse, upload, download, preview, search, and delete files via browser
File Preview - View text, images, audio, and video files inline
Search - Search file names and content directly from the web UI
User Authentication - Register, login, profile management
Admin Panel - Manage users (activate/deactivate, promote, delete)
Activity Dashboard - Charts showing daily activity and action breakdown
File Stats - Track file count and storage usage per user
Rate Limiting - Login brute force protection
Drag & Drop Upload - Upload multiple files with drag and drop
Related MCP server: files-mcp-ts
Installation
pip install -r requirements.txtConfiguration
Copy .env (already provided) and customize:
Variable | Default | Description |
| (auto-generated) | Flask session secret key |
|
| Default admin password |
|
| Default admin email |
|
| Web server port |
|
| File storage directory |
|
| Max upload size in MB |
Usage
MCP Server (stdio)
python server.pyFor development mode with MCP Inspector:
python server.py devWeb App
python app.pyOpen http://localhost:5000 in your browser.
MCP Client Example
python client.pyTesting
python tests.pyDefault Admin Credentials
Username: admin
Password: admin123
This server cannot be deployed
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
MCP Server for Slima - AI Writing IDE for Novel Authors with AI Beta Reader.
MCP server for AI dialogue using various LLM models via AceDataCloud
Related MCP Servers
- FlicenseAqualityDmaintenanceA Model Context Protocol (MCP) server that enables AI assistants to perform comprehensive file operations including finding, reading, writing, editing, searching, moving, and copying files with security validations.71-
- FlicenseBqualityDmaintenanceA lightweight MCP server for basic file operations, enabling reading, writing, and listing files securely via the Model Context Protocol.31-
- AlicenseCqualityAmaintenanceA full-featured secure MCP server for local file system operations, with built-in image processing, OCR and media tools. Fully compliant with the official Model Context Protocol specification, offering standardized request/response schemas, large-file streaming I/O, multi-transport remote deployment, and comprehensive text search & replace functionality for LLM agent integration.22Apache 2.0
- FlicenseAqualityCmaintenanceA secure, Dockerized MCP server enabling AI assistants to perform file and directory CRUD operations like read, write, edit, search, and manage local files via natural language.11-