Home File Agent
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., "@Home File AgentFind documents about the new product launch"
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.
Домашній файловий агент (Home File Agent)
Навчальний курсовий MCP-проєкт: агент, який працює з файлами в одній заданій
локальній папці — шукає за змістом (RAG), читає, звітує про власний стан.
Клієнт — Claude Desktop (MCP-конектор) або власний agent_loop.py.
Архітектура одним абзацом
Claude (LLM) ↔ MCP-сервер (server.py, FastMCP) ↔ локальна папка (файли) +
Voyage AI (ембединги) + Chroma (векторна БД, локальна). Усі операції з
файлами проходять через sandbox-перевірку кореневої папки. Повна архітектурна
схема — окремо, у Draw.io (додається до захисту).
Related MCP server: vectorise-mcp
Джерела даних
Джерело | Роль | Де живе |
Локальна папка ( | Основні дані користувача (txt, md, pdf, docx, xml, xlsx, xls) | На диску користувача |
Voyage AI ( | Ембединги для семантичного пошуку | Зовнішній API |
Chroma | Векторна БД для RAG-пошуку | Локально, |
Встановлення
cd C:\Home_agen_LLM
python -m venv venv
.\venv\Scripts\Activate.ps1
pip install -r requirements.txtНалаштування оточення
Створи .env:
ANTHROPIC_API_KEY=<потрібен лише для agent_loop.py, не для Claude Desktop> VOYAGE_API_KEY=<з voyageai.com> AGENT_ROOT_DIR=C:\Home_agen_LLM\test_data
Локальний запуск через Claude Desktop (основний спосіб)
Settings → Developer → Edit Config у Claude Desktop.
Додай у
claude_desktop_config.json:
{
"mcpServers": {
"home-file-agent": {
"command": "C:\\Home_agen_LLM\\venv\\Scripts\\python.exe",
"args": ["C:\\Home_agen_LLM\\server.py"],
"env": {
"AGENT_ROOT_DIR": "C:\\Home_agen_LLM\\test_data",
"VOYAGE_API_KEY": "<ключ>"
}
}
}
}Повний вихід із Claude Desktop і повторний запуск.
У чаті: "Проіндексуй мою папку", потім будь-яке питання по вмісту.
Локальний запуск через власний цикл (agent_loop.py, ДЗ1-доказ)
python agent_loop.pyПотребує ANTHROPIC_API_KEY в .env.
Доступні tools
list_folder(path="")— список файлів/підпапокread_file(path)— вміст файлу (txt, md, pdf, docx, xml, xlsx, xls)reindex()— перебудова RAG-індексу (запускати після зміни файлів)search_files(query, top_k=5)— семантичний пошукstatus()— стан індексу (для моніторингу)
Тести
pip install pytest pytest-asyncio ruff
pytest tests/ -v
ruff check .Docker / хмарний варіант
docker build -t home-file-agent .
docker run -i -p 8080:8080 `
-e VOYAGE_API_KEY=<ключ> `
-e AGENT_ROOT_DIR=/data `
-v C:\Home_agen_LLM\test_data:/data `
home-file-agentМоніторинг
agent.log— структуровані логи (без вмісту файлів)python check_health.py— перевірка свіжості індексу й аномалій у логах (exit code 0/1)tool
status()— те саме, але прямо з чату
Безпека
Детально — у PROMPT_BOOK.md. Коротко: read-only, sandbox на кореневу папку,
allowlist розширень, ліміт розміру файлу, rate limiting, приховані файли
недоступні, логи без вмісту.
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.
Related MCP Servers
- AlicenseAqualityBmaintenanceMCP server that gives Claude Desktop and other desktop MCP clients filesystem powers—read, write, edit, and manage files like AI coding assistants.Last updated17299MIT
- Alicense-qualityDmaintenanceLocal MCP server that indexes folders of documents into a hybrid vector + keyword search index for Claude Desktop, with support for PDFs, Office files, and images via OCR.Last updatedMIT
- Flicense-qualityCmaintenanceMCP server enabling Claude Desktop to answer questions from local Word and PDF documents by searching a vector index built from their contents.Last updated
- Alicense-qualityAmaintenanceAn MCP server that enables Claude Desktop to search and read local documents via full-text and fuzzy search, providing direct access to indexed files without chunking.Last updatedMIT
Related MCP Connectors
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
Local-first RAG engine with MCP server for AI agent integration.
Serve a folder of Markdown notes as an MCP server: hybrid search, reading, and sourced answers.
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/nfedunwork-code/home_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server