MCP File Operations Server
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 File Operations Serverread the file at /home/user/documents/notes.txt"
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 File Operations Server
A Model Context Protocol (MCP) server that provides file operation tools for Claude Desktop.
Features
read_file: Read file contents
write_file: Write content to files
list_directory: List directory contents
create_directory: Create directories
delete_file: Delete files
delete_directory: Delete directories
copy_file: Copy files
move_file: Move/rename files
get_file_info: Get file metadata
Related MCP server: Notion MCP Server
Installation
Quick Installation
Run the installation script:
bash scripts/install.shManual Installation
Create virtual environment:
python3 -m venv .venv source .venv/bin/activateInstall the package:
pip install -e .Install development dependencies (optional):
pip install -e ".[dev]"
Testing
Run the test suite:
python -m pytest tests/Or run tests directly:
python tests/test_file_operations.pyClaude Desktop Integration
Find your Claude Desktop config file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
Add the server configuration:
{ "mcpServers": { "file-operations": { "command": "/bin/bash", "args": ["/path/to/your/mcp/scripts/run_server.sh"] } } }Note: Update the path in
argsto match your actual installation directory.Restart Claude Desktop to load the new server.
Usage
Once integrated, you can use commands like:
"Read the file at /path/to/file.txt"
"Write 'Hello World' to /path/to/output.txt"
"List the contents of /path/to/directory"
"Create a directory at /path/to/new/dir"
"Delete the file /path/to/unwanted.txt"
"Copy file from /source to /destination"
Security Notes
The server has full file system access
Only use with trusted content
Consider restricting paths in production environments
Testing
Run the test suite:
python test_server.pyLangGraph Integration
This package includes a complete LangGraph integration that allows you to use MCP file operations as tools within LangGraph workflows.
Installation with LangGraph
# Install with LangGraph support
pip install -e ".[langgraph]"Quick Start
import asyncio
from mcp_file_operations.integrations.langgraph_client import create_mcp_file_tools
async def example():
# Create MCP file operation tools for LangGraph
file_tools = create_mcp_file_tools()
# Use tools in your LangGraph workflow
write_tool = next(tool for tool in file_tools if tool.name == "write_file")
result = await write_tool._arun(path="/tmp/test.txt", content="Hello LangGraph!")
print(result)
asyncio.run(example())Examples
Simple Integration:
examples/simple_langgraph_example.pyFull Workflow:
examples/langgraph_file_workflow.pyDocumentation:
docs/LANGGRAPH_INTEGRATION.md
Available LangGraph Tools
All MCP file operations are available as LangGraph tools:
read_file,write_file,list_directory,create_directorydelete_file,delete_directory,copy_file,move_file,get_file_info
License
MIT License
This server cannot be deployed
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
An MCP server that provides read access to your cloud storage providers, bank accounts and more.
The Telnyx MCP server is an official implementation of the Model Context Protocol that enables AI clients (like Claude Desktop, Cursor, and OpenAI Agents) to interact with Telnyx's telephony, messaging, and AI assistant APIs. It provides comprehensive capabilities including making and managing phone calls, sending SMS/MMS messages, purchasing and configuring phone numbers, creating AI assistants with custom instructions, managing cloud storage buckets, scraping and embedding website content, and handling integration secrets. The server exists as both a local implementation and a remotely hosted version, allowing developers to integrate real-world communication infrastructure directly into AI applications.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA custom Model Context Protocol server that gives Claude Desktop and other LLMs access to file system operations and command execution capabilities through standardized tool interfaces.23Apache 2.0
- AlicenseNot gradedqualityDmaintenanceA filesystem Model Context Protocol server that provides Claude Desktop with capabilities to read, write, and manipulate files on your system.0MIT
- AlicenseAqualityDmaintenanceA server that lets Claude desktop app execute terminal commands on your computer and edit files through Model Context Protocol, featuring command execution, process management, and advanced file operations.19122,945 npm6MIT
- FlicenseNot gradedqualityFmaintenanceA Model Context Protocol server that extends AI capabilities by providing file system access and management functionalities to Claude or other AI assistants.164 npm5-