
test1
实现 MCP 协议的文件搜索服务,支持路径片段查询,集成于 VSCode 的 Cline 工具。
Repository Info
About This Server
实现 MCP 协议的文件搜索服务,支持路径片段查询,集成于 VSCode 的 Cline 工具。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
MCP File Finder Service
Проект реализует MCP (Model Context Protocol) сервис для поиска файлов по фрагменту пути с интеграцией в Cline для VSCode.
Установка
-
Установите Python 3.12:
- Скачайте с python.org.
- Проверьте:
python3 --version.
-
Установите зависимости:
- Выполните:
pip install fastapi uvicorn.
- Выполните:
-
Установите Cline в VSCode:
- Откройте VSCode, нажмите
Ctrl+Shift+X(илиCmd+Shift+X). - Найдите "Cline Autonomous Coding Agent" и нажмите "Install".
- Откройте VSCode, нажмите
Запуск
- Запустите сервер:
- Выполните:
python3 mcp_service.py &. - Сервер запустится на
http://127.0.0.1:8000.
- Выполните:
Тестирование
Ручное тестирование
- Откройте браузер:
http://127.0.0.1:8000/find_files?path_fragment=test. - Ожидаемый JSON:
[{\"name\": \"test_file.txt\", \"path\": \"./test_file.txt\", \"size\": 0, \"created\": \"2025-02-25T17:52:53.659569\"}].
Тестирование через Cline
- Откройте VSCode и проект.
- Откройте панель Cline (
Cmd+Shift+P→Cline: Open Chat). - Введите:
find files with path fragment: test. - Ожидайте JSON-ответ (тестирование Cline может быть ограничено из-за токенов OpenRouter).
Зависимости
fastapiuvicorn
Quick Start
Clone the repository
git clone https://github.com/midddlemistt/test1Install dependencies
cd test1
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.