Lilygo Doc
БесплатноНе проверенProvides tools to search and retrieve LILYGO hardware documentation, including product listings, full specs, and sectioned guides, with live fetching from GitHu
Описание
Provides tools to search and retrieve LILYGO hardware documentation, including product listings, full specs, and sectioned guides, with live fetching from GitHub.
README
MCP server for LILYGO product documentation. Exposes LILYGO hardware docs as structured tools for LLM clients via the Model Context Protocol.
Documentation is served from a local git submodule of Xinyuan-LilyGO/documentation. No runtime GitHub API calls — zero rate limit issues. Docs stay up-to-date automatically via a GitHub webhook.
Quick start
1. Clone with submodule
git clone --recurse-submodules https://github.com/your-org/lilygo-doc-mcp
cd lilygo-doc-mcp
npm install
npm run build
If you cloned without --recurse-submodules, run:
npm run docs:init
2. Start the server
PORT=3000 npm start
3. Connect your MCP client
{
"mcpServers": {
"lilygo-docs": {
"type": "streamable-http",
"url": "http://localhost:3000/mcp"
}
}
}
Keeping docs up to date
Manual update
npm run docs:update
Then restart the server (or let the webhook do it automatically).
Automatic via GitHub webhook
Set up a webhook on the Xinyuan-LilyGO/documentation repository:
- Go to Settings → Webhooks → Add webhook
- Set Payload URL to
https://your-server.com/webhook - Set Content type to
application/json - Set a Secret (any random string)
- Choose Just the push event
Start the server with the webhook secret:
GITHUB_WEBHOOK_SECRET=your-secret PORT=3000 npm start
On every push to the documentation repo, the server will:
- Run
git submodule update --remote --merge vendor/docs - Reload the in-memory product cache
Endpoints
| Endpoint | Method | Description |
|---|---|---|
/mcp |
POST / GET / DELETE |
MCP Streamable HTTP transport |
/webhook |
POST |
GitHub push webhook |
/health |
GET |
Returns { status, products } |
Tools
| Tool | Description |
|---|---|
list_products |
List all products, filter by series / tags / keyword |
get_product |
Get full docs or a specific section (overview, quickstart, features, parameters, pins, faq) |
search_products |
Full-text search across all product docs with ranked excerpts |
get_product_specs |
Extract structured specs: key features, parameter table, pin tables |
Environment variables
| Variable | Default | Description |
|---|---|---|
PORT |
3000 |
HTTP server port |
GITHUB_WEBHOOK_SECRET |
(empty) | GitHub webhook secret for signature verification. If unset, signature check is skipped. |
DOCS_DIR |
vendor/docs/en/products |
Path to local documentation directory |
Docker
FROM node:22-alpine
WORKDIR /app
COPY . .
RUN npm ci && npm run build
EXPOSE 3000
CMD ["node", "dist/index.js"]
Build and run:
docker build -t lilygo-doc-mcp .
docker run -p 3000:3000 \
-e GITHUB_WEBHOOK_SECRET=your-secret \
lilygo-doc-mcp
License
MIT
Установка Lilygo Doc
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/Xinyuan-LilyGO/lilygo-doc-mcpFAQ
Lilygo Doc MCP бесплатный?
Да, Lilygo Doc MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Lilygo Doc?
Нет, Lilygo Doc работает без API-ключей и переменных окружения.
Lilygo Doc — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Lilygo Doc в Claude Desktop, Claude Code или Cursor?
Открой Lilygo Doc на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Lilygo Doc with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
