qng-mcp

by Qitmeer

148 downloads
Not rated
GitHub

About

qng-mcp is an MCP (Model Context Protocol) server for the qng blockchain network. It exposes blockchain data through standard MCP tools, allowing AI assistants (via MCP clients like mcphost) to query block counts, block details, and state root information.

Details

Author
Qitmeer
Downloads
148
Categories
Other

- Supports stdio and SSE transport modes
- Provides tools for blockchain queries
- Extensible via config.json
- Works with any MCP‑compatible client
- Lightweight: runs as a Docker container or standalone executable

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name qng-mcp
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Configure the server in either stdio or SSE mode. For stdio, run the server executable (docker or native) with -rpc pointing to a qng RPC endpoint (e.g., http://127.0.0.1:8545). For SSE, start the server with -t sse and set the client URL to http://localhost:8080/sse. Use an MCP client (e.g., mcphost) with the appropriate config file.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "qng-mcp": {
            "github": {
                "command": "docker",
                "args": [
                    "run",
                    "-i",
                    "--rm",
                    "qng_mcp_server",
                    "-rpc",
                    "http://127.0.0.1:8545"
                ]
            }
        }
    }
}

McpServers

{
    "github": {
        "command": "docker",
        "args": [
            "run",
            "-i",
            "--rm",
            "qng_mcp_server",
            "-rpc",
            "http://127.0.0.1:8545"
        ]
    }
}

qng-mcp

The mcp server for qng supports the Model Context Protocol(MCP)protocol

compile mcphost

- see https://github.com/mark3labs/mcphost

use stdio mode

{
  "mcpServers": {
    "github": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "qng_mcp_server",
        "-rpc",
        "http://127.0.0.1:8545"
      ]
    }
  }
}
{
    "mcpServers": {
        "qngserver": {
            "command": "./qng_server/qng_server.exe",
            "args": [
                "-rpc",
                "http://127.0.0.1:8545/"
            ]
        }
    }
}


.\mcphost.exe  -m ollama:qwen2.5:3b --config .\conf\stdio.json --debug

use sse mode


{
"mcpServers": {
"qngserver": {
"url": "http://localhost:8080/sse"
}
}
}

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.