lilygo-doc-mcp
OfficialClick on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@lilygo-doc-mcpwhat are the specs for the T-Display S3"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
lilygo-doc-mcp
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 buildIf you cloned without --recurse-submodules, run:
npm run docs:init2. Start the server
PORT=3000 npm start3. Connect your MCP client
{
"mcpServers": {
"lilygo-docs": {
"type": "streamable-http",
"url": "http://localhost:3000/mcp"
}
}
}Related MCP server: Godot Docs MCP
Keeping docs up to date
Manual update
npm run docs:updateThen 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/webhookSet Content type to
application/jsonSet 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 startOn every push to the documentation repo, the server will:
Run
git submodule update --remote --merge vendor/docsReload the in-memory product cache
Endpoints
Endpoint | Method | Description |
|
| MCP Streamable HTTP transport |
|
| GitHub push webhook |
|
| Returns |
Tools
Tool | Description |
| List all products, filter by series / tags / keyword |
| Get full docs or a specific section (overview, quickstart, features, parameters, pins, faq) |
| Full-text search across all product docs with ranked excerpts |
| Extract structured specs: key features, parameter table, pin tables |
Environment variables
Variable | Default | Description |
|
| HTTP server port |
| (empty) | GitHub webhook secret for signature verification. If unset, signature check is skipped. |
|
| 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-mcpLicense
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Xinyuan-LilyGO/lilygo-doc-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server