Lippy-Agent MCP Server
Lippy Agent
Веб-сайты меняются. Ваш API — нет. См. SPEC.md для полного
описания архитектуры, критериев оценки и сценария демонстрации.
Установка
npm install
cp .env.example .env # works out of the box in mock mode, no keys needed
npm run db:generate
npm run db:migrate
npm run devПолностью работает в режиме моков — без ключей API: BrightDataClient и
ParallelClient оба используют детерминированные мок-ответы, поэтому цикл
создать → запустить → исправить → проверить → семантически сравнить работает
из коробки. Укажите BRIGHT_DATA_API_KEY / PARALLEL_API_KEY в
.env, чтобы задействовать реальные API.
Related MCP server: diffgrab
Структура проекта
src/
app/ Next.js App Router — routes are thin adapters only
api/contracts/ REST surface (create, get, run, live event stream)
api/mcp/ MCP server over Streamable HTTP
lib/
contracts/ schema (Zod), validator, service layer
brightdata/ typed client (create/run/heal/approve), mock-capable
parallel/ semantic-diff client, mock-capable
selfheal/ the orchestrator state machine
events/ typed event union + pub/sub bus
env.ts errors.ts logger.ts db.ts
mcp/server.ts tool definitions (create_contract, watch_contract, get_data)
tests/ vitest unit tests
prisma/schema.prisma Contract / Run / ContractEvent modelsКоманды
Команда | Назначение |
| Запустить сервер разработки |
| Запустить набор тестов vitest |
| Проверить типы через |
| Открыть визуальный просмотр SQLite |
Попробуйте
# create a contract
curl -X POST localhost:3000/api/contracts -H 'content-type: application/json' -d '{
"url": "https://example.com/product",
"fields": [
{ "key": "product", "type": "string", "required": true },
{ "key": "price", "type": "number", "required": true },
{ "key": "stock", "type": "boolean", "required": false }
]
}'
# trigger a run (mock mode breaks the extraction every 3rd call, so re-run
# a few times to see contract.violated -> contract.healing -> contract.healed)
curl -X POST localhost:3000/api/contracts/<id>/runThis server cannot be deployed
Maintenance
Related MCP Connectors
Recurring webpage change, price, inventory and metadata monitoring for autonomous agents.
Extract prices, lists, tables, events from static pages and watch them for changes.
Extract prices, lists, tables, events from static pages and watch them for changes.
Watch a place on a web page (a price, stock, a version) or a whole page; get told when it changes.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to monitor web documentation for changes, perform semantic search with RAG, and analyze breaking changes in APIs.9-
- AlicenseNot gradedqualityDmaintenanceEnables tracking web page changes, detecting content modifications with structured diffs and snapshot history through MCP tools.39 PyPIMIT
- AlicenseAqualityDmaintenanceEnables monitoring web pages for changes using Playwright, storing snapshots in SQLite, and optionally analyzing changes with an LLM for business impact assessment.5MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to monitor web pages for content changes and receive alerts when changes occur.-