AI Ops Hub
An MCP server with RAG capabilities that provides AI clients secure access to local notes, documents, web pages, and task management tools for developer operational tasks. Features file operations, web scraping with content cleaning, and personal knowledge corpus search functionality.
README
AI Ops Hub
MCP-сервер с RAG для операционных задач разработчика.
Что это
AI Ops Hub — это MCP (Model Context Protocol) сервер, который предоставляет ИИ-клиентам безопасный доступ к:
- Локальным заметкам и документам
- Веб-страницам (с очисткой)
- RAG-поиску по личному корпусу
- Инструментам для создания задач и заметок
Установка
# Установка зависимостей
npm install
# Или с pnpm
pnpm install
Разработка
# Запуск в режиме разработки
npm run dev
# Сборка
npm run build
# Тесты
npm test
Конфигурация
База данных (SQLite в Docker)
# Запуск SQLite контейнера
./scripts/db.sh start
# Инициализация базы данных
./scripts/db.sh init
# Проверка статуса
./scripts/db.sh status
# Остановка
./scripts/db.sh stop
Переменные окружения
Создайте файл .env в корне проекта:
NOTES_DIR=./notes
TASKS_FILE=./tasks.md
RAG_DB_PATH=./data/rag.db
WEB_ALLOWED_HOSTS=example.com,developer.mozilla.org
Подключение к Claude Desktop
Локальное подключение (stdio)
Добавьте в конфигурацию Claude Desktop:
{
"mcpServers": {
"ai-ops-hub": {
"command": "node",
"args": ["./dist/server.js"],
"env": {
"NOTES_DIR": "/path/to/your/notes",
"RAG_DB_PATH": "/path/to/your/rag.db"
}
}
}
}
Удаленное подключение (HTTP)
Для удаленного доступа запустите HTTP сервер:
# Запуск HTTP сервера
npm run start:http
# Или через Docker
docker-compose --profile app up -d
Затем используйте HTTP API:
# Проверка здоровья
curl http://localhost:3333/health
# Список инструментов
curl http://localhost:3333/tools
# Вызов инструмента
curl -X POST http://localhost:3333/call \
-H "Content-Type: application/json" \
-d '{"name":"file_read","arguments":{"path":"test-note.md"}}'
Статус разработки
✅ MVP готова - базовая функциональность работает
- [x] Базовая структура проекта
- [x] MCP сервер (stdio)
- [x] RAG модуль (заглушка)
- [x] Интеграции (файлы, веб, задачи)
- [x] SQLite база данных в Docker
- [x] Безопасность файлов и веб-запросов
- [x] HTTP транспорт
- [ ] Полная RAG интеграция с SQLite
- [ ] Аудит и логирование
Тестирование
# Сборка проекта
npm run build
# Запуск тестов сервисов
node test/test-services.js
# Запуск HTTP API тестов
npm run test:http
# Запуск unit тестов (когда будут готовы)
npm test
Демонстрация
После запуска тестов вы увидите:
- FileService - чтение файлов и безопасность путей
- TaskService - создание и управление задачами
- RAGService - базовая структура для поиска документов
- WebService - безопасное получение веб-страниц
Все сервисы работают с проверкой безопасности и логированием операций.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
E2B
Using MCP to run code via e2b.