genlayer-docs-mcp
This server provides structured access to the GenLayer documentation through three tools:
search_docs: Search the documentation using a natural language query and retrieve the top matching sections, complete with hierarchical title breadcrumbs (e.g.,What is GenLayer > Core Technology > On-Chain AI Processing) and full content.get_section: Fetch the full content of a specific documentation section by providing its exact heading title (e.g.,'Optimistic Democracy'or'Economic Model').list_sections: Get a complete list of all headings and subheadings available in the GenLayer documentation, along with their starting line numbers, useful for navigation and discovery.
Click on "Deploy 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., "@genlayer-docs-mcp Search GenLayer docs for on-chain AI processing"
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.
GenLayer Documentation MCP Server
A standardized, shareable Model Context Protocol (MCP) server that packages and exposes the GenLayer documentation (genlayer-docs.txt) to any AI assistant (including Claude Desktop, Cursor, Windsurf, Gemini, and others).
By packaging this as a Python project with a pyproject.toml and utilizing the official mcp SDK, anyone can run it with a standard Python install — no manual file paths or dependency wrangling.
Available Tools
Once registered, the server exposes the following tools:
search_docs(query: string, top_k: int = 5): Search the GenLayer documentation for relevant sections matching a query. Returns top matching sections along with their hierarchical title breadcrumbs (e.g.,What is GenLayer > Core Technology > On-Chain AI Processing) and starting line numbers.get_section(title: string): Retrieve the full content of a specific documentation section matching the specified heading title.list_sections(): List all headings and subheadings present in the GenLayer documentation along with their starting line numbers.
Related MCP server: mcp-minecraft-forge
Quick Start (Recommended)
This is the setup verified to work with a standard Python installation on Windows, macOS, and Linux.
1. Install the package
From PyPI:
pip install genlayer-docs-mcpOr from source (after cloning this repo):
pip install .2. Register it with your AI client
Add the server inside the mcpServers block of your client's MCP config
(Claude Desktop on Windows: %APPDATA%\Claude\claude_desktop_config.json):
{
"mcpServers": {
"genlayer-docs": {
"command": "python",
"args": [
"-m",
"genlayer_docs_mcp"
]
}
}
}Why
python -m? It uses the Python interpreter already on yourPATH, so there is nothing extra to install (unlikeuvx, which requiresuvto be installed first). Restart your client after saving, and the three tools above will appear.
For Cursor / Windsurf, use the same values in the editor's MCP settings:
Type:
commandCommand:
pythonArgs:
-m genlayer_docs_mcp
Alternative: Zero-install with uvx
If you have uv installed, you can run the server
without installing it first. Anyone in the world can use this on any AI client
with zero local files:
{
"mcpServers": {
"genlayer-docs": {
"command": "uvx",
"args": ["genlayer-docs-mcp"]
}
}
}Cursor / Windsurf command: uvx genlayer-docs-mcp
Requires
uv/uvxon yourPATH. Install it withwinget install astral-sh.uv(Windows) or see the uv install guide.
Alternative: Install directly from GitHub (no PyPI needed)
To track the latest source, install straight from the public repository:
Using
pip:pip install "git+https://github.com/Laegend14/Genlayer-mcp"Using
uvx(zero-install):{ "mcpServers": { "genlayer-docs": { "command": "uvx", "args": [ "--from", "git+https://github.com/Laegend14/Genlayer-mcp", "genlayer-docs-mcp" ] } } }
Alternative: Global install via pipx
Users who prefer an isolated global install can use pipx:
# From PyPI
pipx install genlayer-docs-mcp
# Or from GitHub
pipx install "git+https://github.com/Laegend14/Genlayer-mcp"Then configure the command in any AI client as:
Command:
genlayer-docs-mcp(no arguments required)
Note: this requires the
pipxscripts directory to be on yourPATH(pipx ensurepath). If your client can't find thegenlayer-docs-mcpexecutable, use the Quick Startpython -mmethod instead.
Development
Clone the repo and install in editable mode:
git clone https://github.com/Laegend14/Genlayer-mcp
cd Genlayer-mcp
pip install -e .Run the server directly to confirm it loads the documentation:
python -m genlayer_docs_mcpYou should see a log line reporting the number of parsed documentation sections.
Available Tools
3 toolsget_sectionA
Retrieve the full content of a specific documentation section by its exact title (e.g., 'Optimistic Democracy' or 'Economic Model').
Inputs: title (required). Returns: result
list_sectionsA
List all section titles and headings available in the GenLayer documentation.
Inputs: no named parameters. Returns: result
search_docsA
Search the GenLayer documentation for relevant sections matching a query. Returns the top matching sections with their hierarchical titles and full content.
Inputs: query (required), top_k. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a distinct purpose: listing all sections, retrieving a specific section by exact title, and searching for relevant sections. No overlap.
All tool names follow a consistent verb_noun snake_case pattern (get_section, list_sections, search_docs), making them predictable.
Three tools are appropriate for a documentation server, covering the essential operations without unnecessary complexity.
Covers listing, retrieval, and search. A minor gap might be lacking a 'get all sections with content' operation, but the current set is sufficient for most use cases.
Related MCP Connectors
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
MCP server for developers documentation, generated by doc2mcp.
Search the official docs of Claude Code, Cursor, OpenAI Codex and MCP, refreshed daily.
MCP server for developer documentation, generated by doc2mcp.
Related MCP Servers
- AlicenseBqualityDmaintenanceProvides comprehensive access to MCP documentation through structured guides, full-text search, and interactive development workflows for building servers and clients.343 npmMIT
- AlicenseBqualityCmaintenanceMCP server for Forge Minecraft modding documentation. Gives AI assistants direct access to Forge docs with structured search results.518 npm3AGPL 3.0
- AlicenseNot gradedqualityDmaintenanceEnables AI coding assistants to semantically search and retrieve relevant code patterns, documentation, and implementations from a codebase via MCP tools.8MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to access up-to-date documentation by indexing GitHub repositories and official docs, providing semantic search through MCP.24 npm7MIT