MCP Chat with File System Access
Enables video conversion of MP4 files to formats such as AVI, MOV, WebM, MKV, and GIF using FFmpeg.
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., "@MCP Chat with File System AccessRead the file project_notes.txt and summarize it"
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.
MCP Chat with File System Access
MCP Chat is a command-line interface application that enables interactive chat capabilities with AI models through the Anthropic API. The application supports file system operations with controlled access to specified directories, video conversion capabilities, and extensible tool integrations via the MCP (Model Control Protocol) architecture.
Prerequisites
Python 3.10+
Anthropic API Key
FFmpeg (for video conversion features)
Related MCP server: mcp-file-roots-demo
Setup
You must have FFmpeg already installed to convert a video file. To install FFmpeg on MacOS run:
brew install ffmpegStep 1: Configure the environment variables
Copy the
.env.examplefile to create a new.envfile:
cp .env.example .envEdit the
.envfile and set your environment variables:
CLAUDE_MODEL="claude-sonnet-4-0" # Or your preferred Claude model
ANTHROPIC_API_KEY="" # Enter your Anthropic API secret keyStep 2: Install dependencies
Setup with uv
uv is a fast Python package installer and resolver.
Install uv, if not already installed:
pip install uvInstall dependencies:
uv syncRun the project
When running the project, you must specify one or more root directories that the MCP server will have access to. Only files and directories within these roots can be accessed by the server.
uv run main.py <root1> [root2] [root3] ...Examples:
# Single directory
uv run main.py /path/to/videos
# Multiple directories
uv run main.py /home/user/videos /mnt/storage/media ~/Documents
# Current directory
uv run main.py .Features
File System Access
The server can only access files and directories within the specified root paths. This provides security by limiting file system access to approved locations.
Available Tools
list_roots: List all accessible root directories
read_dir: Read contents of a directory (must be within a root)
convert_video: Convert MP4 videos to other formats (avi, mov, webm, mkv, gif)
Video Conversion
The video conversion tool uses FFmpeg to convert MP4 files to various formats:
Standard video formats: AVI, MOV, WebM, MKV
GIF conversion with optimized settings
Medium quality preset for balanced file size and quality
This server cannot be deployed
Maintenance
Related MCP Connectors
Use AI models for chat, image, and video generation from Claude Code and other MCP hosts.
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Shared memory and actions for Claude, Kiro, OpenAI, Cursor, and other MCP-compatible AI clients.
LLM chat, text tools, image generation, editing, batch image jobs, and asynchronous video generation
Related MCP Servers
- FlicenseBqualityDmaintenanceEnables interactive chat with AI models and document retrieval via the Anthropic API, supporting command-based prompts and MCP tool integrations.2-
- FlicenseNot gradedqualityDmaintenanceEnables interactive chat with AI models via Anthropic API, with controlled file system access to specified directories and video conversion capabilities.-
- FlicenseCqualityCmaintenanceEnables interactive chat with AI models via Anthropic API, supporting document retrieval and command-based prompts through the MCP architecture.3-
- FlicenseNot gradedqualityCmaintenanceEnables interactive chat with AI models via the Anthropic API, supporting document retrieval, slash commands, and extensible MCP-based tool integrations.-