file-mcp
Click on "Install 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., "@file-mcpread the contents of readme.md"
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.
file-mcp
Учебный MCP-сервер для работы с файлами.
Описание
MCP-сервер, реализующий базовые файловые операции через протокол MCP (Model Context Protocol).
Сервер работает через STDIO (JSON-RPC 2.0) и может использоваться любым MCP-клиентом (Roo Code, Claude Desktop, Cursor и др.).
Related MCP server: Filesystem MCP Server
Инструменты
Инструмент | Описание | Параметры |
| Прочитать содержимое файла |
|
| Записать содержимое в файл |
|
Установка
# Клонировать репозиторий
git clone <repo-url>
cd file-mcp
# Создать виртуальное окружение
python -m venv .venv
# Активировать (Windows)
.venv\Scripts\activate
# Установить зависимости
pip install -r requirements.txtЗапуск
python main.pyСервер запускается в режиме STDIO и ожидает JSON-RPC сообщений от MCP-клиента.
Тестирование
Проверить работу сервера можно через Git Bash:
# Получить список инструментов
cd /g/projects/file-mcp && printf '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"test-client","version":"1.0.0"}}}\n{"jsonrpc":"2.0","id":2,"method":"tools/list","params":{}}\n' | .venv/Scripts/python main.py
# Прочитать файл
cd /g/projects/file-mcp && printf '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"test-client","version":"1.0.0"}}}\n{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"read_file","arguments":{"path":"main.py"}}}\n' | .venv/Scripts/python main.py
# Записать файл
cd /g/projects/file-mcp && printf '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"test-client","version":"1.0.0"}}}\n{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"write_file","arguments":{"path":"example.txt","content":"Hello from MCP!"}}}\n' | .venv/Scripts/python main.pyКонфигурация Roo Code
Файл .codeassistant/mcp.json:
{
"mcpServers": {
"file-mcp": {
"command": "g:\\projects\\file-mcp\\.venv\\Scripts\\python.exe",
"args": ["main.py"],
"cwd": "g:\\projects\\file-mcp"
}
}
}This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/visor517/file-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server