Skip to main content

Model Context Protocol (MCP) server for GenLayer documentation

Project description

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 instantly with zero manual file path or dependency setup.

Available Tools

Once registered, the server exposes the following tools:

  1. 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.

  2. get_section(title: string): Retrieve the full content of a specific documentation section matching the specified heading title.

  3. list_sections(): List all headings and subheadings present in the GenLayer documentation along with their starting line numbers.


Universal Running & Setup Options

You can run this server using standard Python tools. We recommend using uv (a fast Python package manager) for a zero-install experience, or standard pip/pipx.

Option A: Running Locally (For Development)

If you have cloned or downloaded this directory locally to c:\Users\MueAb\Desktop\Genlayer mcp:

1. Claude Desktop Setup

Open your Claude configuration file (on Windows: %APPDATA%\Claude\claude_desktop_config.json) and add the server inside the mcpServers block:

  • Using uvx (Easiest, zero-install):

    {
      "mcpServers": {
        "genlayer-docs": {
          "command": "uvx",
          "args": [
            "--from",
            "c:\\Users\\MueAb\\Desktop\\Genlayer mcp",
            "genlayer-docs-mcp"
          ]
        }
      }
    }
    
  • Using installed python package: If you have installed the package via pip install -e . (or pip install .):

    {
      "mcpServers": {
        "genlayer-docs": {
          "command": "python",
          "args": [
            "-m",
            "genlayer_docs_mcp.server"
          ]
        }
      }
    }
    

2. Cursor IDE / Windsurf Setup

Register the server in your editor's MCP settings:

  • Type: command
  • Command: uvx --from "c:\Users\MueAb\Desktop\Genlayer mcp" genlayer-docs-mcp

Option B: Publishing & Distributing to PyPI (For Everyone)

If you publish this package to PyPI (e.g., under the name genlayer-docs-mcp), anyone in the world can use it on any AI client instantly with zero local files!

1. Claude Desktop Setup

Any user can simply add this to their claude_desktop_config.json:

{
  "mcpServers": {
    "genlayer-docs": {
      "command": "uvx",
      "args": ["genlayer-docs-mcp"]
    }
  }
}

2. Cursor IDE / Windsurf Setup

  • Type: command
  • Command: uvx genlayer-docs-mcp

Option B2: Install directly from GitHub (no PyPI needed)

If you prefer not to wait for PyPI, or want to track the latest source, any user can run the server straight from the public GitHub repository:

  • Using uvx (zero-install):

    {
      "mcpServers": {
        "genlayer-docs": {
          "command": "uvx",
          "args": [
            "--from",
            "git+https://github.com/genlayerlabs/genlayer-docs-mcp",
            "genlayer-docs-mcp"
          ]
        }
      }
    }
    
  • Using pip:

    pip install "git+https://github.com/genlayerlabs/genlayer-docs-mcp"
    

Option C: Installation via pipx or pip

Users who prefer not to use uvx can install the server globally using pipx:

# Install globally from PyPI
pipx install genlayer-docs-mcp

# Or install globally from GitHub
pipx install "git+https://github.com/genlayerlabs/genlayer-docs-mcp"

Then configure the command in any AI client as:

  • Command: genlayer-docs-mcp (no arguments required)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

genlayer_docs_mcp-0.1.0.tar.gz (212.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

genlayer_docs_mcp-0.1.0-py3-none-any.whl (215.5 kB view details)

Uploaded Python 3

File details

Details for the file genlayer_docs_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: genlayer_docs_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 212.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for genlayer_docs_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8605379829af0f0aa88624a6f899c0aeb4590941f5ddfc20764857586b4d5d45
MD5 f4621baee94224cf9ba17def1e1835ca
BLAKE2b-256 b5033f79ff3999e880b48358e52d5395e4af481ce9d99ea7785a29ab525b5e19

See more details on using hashes here.

File details

Details for the file genlayer_docs_mcp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for genlayer_docs_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f6f9a718178480ba1ee7a39e1bdfd02a6f06a52e07bd718d53a28792432c66f7
MD5 ab0e8414641438ba0e62f910b5c787d7
BLAKE2b-256 20add6d949bae20fef6b047434757676b4eb109001d3b977fe3eaac0c03fa07d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page