Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Lilygo Doc

БесплатноНе проверен

Provides tools to search and retrieve LILYGO hardware documentation, including product listings, full specs, and sectioned guides, with live fetching from GitHu

GitHubEmbed

Описание

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:

  1. Go to Settings → Webhooks → Add webhook
  2. Set Payload URL to https://your-server.com/webhook
  3. Set Content type to application/json
  4. Set a Secret (any random string)
  5. 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:

  1. Run git submodule update --remote --merge vendor/docs
  2. 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

from github.com/Xinyuan-LilyGO/lilygo-doc-mcp

Установка Lilygo Doc

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/Xinyuan-LilyGO/lilygo-doc-mcp

FAQ

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

Compare Lilygo Doc with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории development