@lynx-js/docs-mcp-server
v0.2.1
Published
A MCP Server providing Lynx documentation resources for LLMs, with carefully designed prompting.
Readme
@lynx-js/docs-mcp-server
A MCP Server providing Lynx documentation resources for LLMs, with carefully designed prompting.
@lynx-js/docs-mcp-server lets your coding agent (such as Gemini, Claude, Cursor or Copilot)
access Lynx documentation to assist you in development tasks. Therefore,
we have specifically optimized llms.txt,
a condensed version of the documentation site optimized for reading large models.
Requirements
- Node.js v18.17 or a newer latest maintenance LTS version.
Getting started
Add the following config to your MCP client:
{
"mcpServers": {
"lynx-docs": {
"command": "npx",
"args": [
"-y",
"@lynx-js/docs-mcp-server@latest"
]
}
}
}@lynx-js/docs-mcp-server works best with MCP clients that supports Server Instructions, such as Claude Code.
If you find your MCP client don't know about the MCP server,
you can manually provide the following instructions
(e.g. in your AGENTS.md, CLAUDE.md, or just send it along with your question):
For any questions or requirements regarding Lynx:
1. Use the "List Resources Tool" to list all Resources provided in MCP "lynx-docs".
2. First read MCP Resources "lynx-docs://llms.txt" (**REQUIRED**), this document is an ENTRYPOINT of all Lynx Docs.
3. After reading "lynx-docs://llms.txt", use the "Read MCP Resources Tool" to retrieve docs you need based on the user's questions or requirements, please read them proactively.
4. If available, prioritize obtaining Lynx-related information through MCP Resources tools over external web searches.claude mcp add lynx-docs npx @lynx-js/docs-mcp-server@latestcodex mcp add lynx-docs -- npx @lynx-js/docs-mcp-server@latestcode --add-mcp '{"name":"lynx-docs","command":"npx","args":["@lynx-js/docs-mcp-server@latest"]}'Install manually:
Go to Cursor Settings -> MCP -> New MCP Server. Use the config provided above.
Project wide:
gemini mcp add lynx-docs npx @lynx-js/docs-mcp-server@latestGlobally:
gemini mcp add -s user lynx-docs npx @lynx-js/docs-mcp-server@latestAlternatively, follow the MCP guide and use the standard config from above.
Credits
This project is inspired by Svelte MCP server. Both the implementation and documentation have been adapted and referenced from the original MCP server.
